mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 07:32:02 +00:00
Fix the hos' tranquilizer rifle and some issues with gifts (#3982)
-fixes #3747 by making so that the tranq bullets inject the target with some sleeping toxin -fixes things like random plushie and animals getting stuck into the person's contents when you open a gift
This commit is contained in:
@@ -221,14 +221,14 @@
|
||||
if(blocked < 100 && !(blocked < 20))
|
||||
L.emote("yawns")
|
||||
if(blocked < 20)
|
||||
addtimer(CALLBACK(src, .proc/apply_sedative, target, 10), 120)
|
||||
if(L.reagents) L.reagents.add_reagent("stoxin", 10)
|
||||
if(def_zone == "head" && blocked < 100)
|
||||
addtimer(CALLBACK(src, .proc/apply_sedative, target, 20), 35)
|
||||
if(L.reagents) L.reagents.add_reagent("stoxin", 15)
|
||||
if(def_zone != "torso" && def_zone != "head")
|
||||
if(blocked < 100 && !(blocked < 20))
|
||||
L.emote("yawns")
|
||||
if(blocked < 20)
|
||||
addtimer(CALLBACK(src, .proc/apply_sedative, target, 15), 45)
|
||||
if(L.reagents) L.reagents.add_reagent("stoxin", 5)
|
||||
|
||||
if(isanimal(target))
|
||||
target.visible_message("<b>[target]</b> twitches, foaming at the mouth.")
|
||||
@@ -239,9 +239,6 @@
|
||||
M.Sleeping(1200)*/ //commented out until simple_mob paralysis actually works.
|
||||
..()
|
||||
|
||||
/obj/item/projectile/bullet/rifle/tranq/proc/apply_sedative(var/mob/living/L, var/severity)
|
||||
L.apply_effect(severity, PARALYZE, 0)
|
||||
L.emote("moans")
|
||||
/* Miscellaneous */
|
||||
|
||||
/obj/item/projectile/bullet/suffocationbullet//How does this even work?
|
||||
|
||||
Reference in New Issue
Block a user