|
55 | 55 | if(IS_CHIMERA) removed *= 0.25 //VOREStation Edit |
56 | 56 | if(issmall(M)) removed *= 2 // Small bodymass, more effect from lower volume. |
57 | 57 | //VOREStation Edits Start |
58 | | - var/bonus = M.food_preference(allergen_type) |
59 | 58 | if(!M.isSynthetic()) |
60 | 59 | if(!(M.species.allergens & allergen_type)) //assuming it doesn't cause a horrible reaction, we'll be ok! |
61 | 60 | M.heal_organ_damage(0.5 * removed, 0) |
62 | | - M.adjust_nutrition(((nutriment_factor + bonus) * removed) * M.species.organic_food_coeff) |
| 61 | + M.adjust_nutrition(((nutriment_factor + M.food_preference(allergen_type)) * removed) * M.species.organic_food_coeff) |
63 | 62 | M.add_chemical_effect(CE_BLOODRESTORE, 4 * removed) |
64 | 63 | else |
65 | | - M.adjust_nutrition(((nutriment_factor * bonus) * removed) * M.species.synthetic_food_coeff) |
| 64 | + M.adjust_nutrition(((nutriment_factor + M.food_preference(allergen_type)) * removed) * M.species.synthetic_food_coeff) |
66 | 65 |
|
67 | 66 | //VOREStation Edits Stop |
68 | 67 |
|
|
958 | 957 |
|
959 | 958 | /datum/reagent/drink/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) |
960 | 959 | if(!(M.species.allergens & allergen_type)) |
961 | | - M.adjust_nutrition((nutrition + M.food_preference(allergen_type)) * removed) |
| 960 | + var/bonus = M.food_preference(allergen_type) |
| 961 | + M.adjust_nutrition((nutrition + bonus) * removed) |
962 | 962 | M.dizziness = max(0, M.dizziness + adj_dizzy) |
963 | 963 | M.drowsyness = max(0, M.drowsyness + adj_drowsy) |
964 | 964 | M.AdjustSleeping(adj_sleepy) |
|
2586 | 2586 | if(M.species.robo_ethanol_drunk || !(M.isSynthetic())) |
2587 | 2587 | if(alien == IS_DIONA) |
2588 | 2588 | return |
| 2589 | + |
| 2590 | + M.adjust_nutrition((M.food_preference(allergen_type) / 2) * removed) |
| 2591 | + |
2589 | 2592 | M.jitteriness = max(M.jitteriness - 3, 0) |
2590 | 2593 |
|
2591 | 2594 | /datum/reagent/ethanol/beer/lite |
|
0 commit comments