mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Makes Mugwort Tea remove harmful chems (#15651)
* Mugwort Mugwort is a common name for several species of aromatic flowering plants in the genus Artemisia. In Europe, mugwort most often refers to the species Artemisia vulgaris, or common mugwort. * I am very smart
This commit is contained in:
@@ -591,15 +591,18 @@
|
||||
reagent_state = LIQUID
|
||||
color = "#21170E"
|
||||
taste_description = "tea"
|
||||
harmless = TRUE
|
||||
|
||||
/datum/reagent/consumable/mugwort/on_mob_life(mob/living/M)
|
||||
var/update_flags = STATUS_UPDATE_NONE
|
||||
if(ishuman(M) && M.mind)
|
||||
if(M.mind.special_role == SPECIAL_ROLE_WIZARD)
|
||||
update_flags |= M.adjustToxLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
update_flags |= M.adjustOxyLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
update_flags |= M.adjustBruteLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
update_flags |= M.adjustFireLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
if(ishuman(M) && M.mind?.special_role == SPECIAL_ROLE_WIZARD)
|
||||
update_flags |= M.adjustToxLoss(-1 * REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
update_flags |= M.adjustOxyLoss(-1 * REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
update_flags |= M.adjustBruteLoss(-1 * REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
update_flags |= M.adjustFireLoss(-1 * REAGENTS_EFFECT_MULTIPLIER, FALSE)
|
||||
for(var/datum/reagent/R in M.reagents.reagent_list)
|
||||
if(!R.harmless)
|
||||
M.reagents.remove_reagent(R.id, 5) // purge those meme chems
|
||||
return ..() | update_flags
|
||||
|
||||
/datum/reagent/consumable/porktonium
|
||||
|
||||
Reference in New Issue
Block a user