mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 18:14:22 +01:00
Adds Gonbolas (#40224)
* Adds Gonbolas * Gondolafied the status effect a bit more. * Corrected documentation * -Restructured status effect handling for better efficiency -Rebalanced stats * Fixed qdel
This commit is contained in:
committed by
Jordan Brown
parent
0af352927a
commit
ef36fe6d64
@@ -363,3 +363,22 @@
|
||||
B.Crossed(hit_atom)
|
||||
qdel(src)
|
||||
..()
|
||||
|
||||
/obj/item/restraints/legcuffs/bola/gonbola
|
||||
name = "gonbola"
|
||||
desc = "Hey, if you have to be hugged in the legs by anything, it might as well be this little guy."
|
||||
icon_state = "gonbola"
|
||||
breakouttime = 300
|
||||
slowdown = 0
|
||||
var/datum/status_effect/gonbolaPacify/effectReference
|
||||
|
||||
/obj/item/restraints/legcuffs/bola/gonbola/throw_impact(atom/hit_atom)
|
||||
. = ..()
|
||||
if(iscarbon(hit_atom))
|
||||
var/mob/living/carbon/C = hit_atom
|
||||
effectReference = C.apply_status_effect(STATUS_EFFECT_GONBOLAPACIFY)
|
||||
|
||||
/obj/item/restraints/legcuffs/bola/gonbola/dropped(mob/user)
|
||||
. = ..()
|
||||
if(effectReference)
|
||||
QDEL_NULL(effectReference)
|
||||
|
||||
Reference in New Issue
Block a user