mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Makes Quad-Sec only work inside /area/security (#3223)
* Update alcohol_reagents.dm * Update alcohol_reagents.dm * Update alcohol_reagents.dm * Update code/modules/reagents/chemistry/reagents/alcohol_reagents.dm Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com> Co-authored-by: MLGTASTICa <ak9bc01d@yahoo.com> Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>
This commit is contained in:
co-authored by
KathrinBailey
MLGTASTICa
parent
22900dbd18
commit
35e4ea5158
@@ -1617,9 +1617,11 @@ All effects don't start immediately, but rather get worse over time; the rate is
|
||||
//Securidrink in line with the Screwdriver for engineers or Nothing for mimes
|
||||
var/obj/item/organ/liver/liver = M.getorganslot(ORGAN_SLOT_LIVER)
|
||||
if(liver && HAS_TRAIT(liver, TRAIT_LAW_ENFORCEMENT_METABOLISM))
|
||||
M.heal_bodypart_damage(brute = 1, burn = 1)
|
||||
M.adjustBruteLoss(-2,0)
|
||||
. = 1
|
||||
if(istype(get_area(M), /area/security)) // Skyrat edit , it checks for area now - Start
|
||||
M.heal_bodypart_damage(brute = 1, burn = 1)
|
||||
M.adjustBruteLoss(-2,0)
|
||||
. = 1
|
||||
return ..() // SKYRAT EDIT: End - This line and the above few have only indentation changes.
|
||||
return ..()
|
||||
|
||||
/datum/reagent/consumable/ethanol/quintuple_sec
|
||||
@@ -2396,4 +2398,3 @@ All effects don't start immediately, but rather get worse over time; the rate is
|
||||
glass_icon_state = "godmother"
|
||||
glass_name = "Godmother"
|
||||
glass_desc = "A lovely fresh smelling cocktail, a true Sicilian delight."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user