Singletons + refactor of /datum/observ + refactor of /decl/ into /singleton/ (#15519)

This commit is contained in:
Fluffy
2023-01-10 19:22:14 +01:00
committed by GitHub
parent 933e8521eb
commit 04d89f212a
512 changed files with 7623 additions and 7233 deletions

View File

@@ -289,14 +289,14 @@
if(blocked < 100 && !(blocked < 20))
L.emote("yawns")
if(blocked < 20)
if(L.reagents) L.reagents.add_reagent(/decl/reagent/soporific, 10)
if(L.reagents) L.reagents.add_reagent(/singleton/reagent/soporific, 10)
if(def_zone == BP_HEAD && blocked < 100)
if(L.reagents) L.reagents.add_reagent(/decl/reagent/soporific, 15)
if(L.reagents) L.reagents.add_reagent(/singleton/reagent/soporific, 15)
if(def_zone != "torso" && def_zone != BP_HEAD)
if(blocked < 100 && !(blocked < 20))
L.emote("yawns")
if(blocked < 20)
if(L.reagents) L.reagents.add_reagent(/decl/reagent/soporific, 5)
if(L.reagents) L.reagents.add_reagent(/singleton/reagent/soporific, 5)
if(isanimal(target))
target.visible_message("<b>[target]</b> twitches, foaming at the mouth.")