Skip to content

Commit

Permalink
Merge pull request Monkestation#1019 from Gboster-0/spaghetti-code
Browse files Browse the repository at this point in the history
Fixes HoS's spaghetti setting you on infinite blaze
  • Loading branch information
wraith-54321 committed Jan 24, 2024
2 parents dafd330 + c1b9844 commit ccfd884
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions monkestation/code/modules/reagents/fun/liquid_justice.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
metabolization_rate = 1.5 * REAGENTS_METABOLISM
ph = 0

/*
Liquid justce - Metabolizes 50% quicker than phlogiston, gives double the firestacks but dosent deal direct fire damage
*/

// Metabolizes 50% quicker than phlogiston, gives double firestacks. Also does not deal direct fire damage (very rare for fire reagents)
/datum/reagent/liquid_justice/on_mob_life(mob/living/carbon/affected_mob, seconds_per_tick, times_fired)
// if you don't have a liver, or your liver isn't an officer's liver
. = ..()
var/obj/item/organ/internal/liver/liver = affected_mob.get_organ_slot(ORGAN_SLOT_LIVER)
if(!liver || !HAS_TRAIT(liver, TRAIT_LAW_ENFORCEMENT_METABOLISM))
affected_mob.adjust_fire_stacks(2 * REM * seconds_per_tick)
Expand Down

0 comments on commit ccfd884

Please sign in to comment.