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:
TheDreamweaver
2018-09-12 20:51:22 -07:00
committed by Jordan Brown
parent 0af352927a
commit ef36fe6d64
5 changed files with 49 additions and 0 deletions
+19
View File
@@ -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)