mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Merge pull request #11283 from Fox-McCloud/emote-refactor
Emote Refactor
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
flags = DROPDEL
|
||||
|
||||
|
||||
/obj/item/implant/proc/trigger(emote, mob/source)
|
||||
/obj/item/implant/proc/trigger(emote, mob/source, force)
|
||||
return
|
||||
|
||||
/obj/item/implant/proc/activate()
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
|
||||
|
||||
|
||||
/obj/item/implant/chem/trigger(emote, mob/source)
|
||||
if(emote == "deathgasp")
|
||||
/obj/item/implant/chem/trigger(emote, mob/source, force)
|
||||
if(force && emote == "deathgasp")
|
||||
activate(reagents.total_volume)
|
||||
|
||||
/obj/item/implant/chem/activate(cause)
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
"}
|
||||
return dat
|
||||
|
||||
/obj/item/implant/explosive/trigger(emote, mob/source)
|
||||
if(emote == "deathgasp")
|
||||
/obj/item/implant/explosive/trigger(emote, mob/source, force)
|
||||
if(force && emote == "deathgasp")
|
||||
activate("death")
|
||||
|
||||
/obj/item/implant/explosive/activate(cause)
|
||||
@@ -148,8 +148,8 @@
|
||||
"}
|
||||
return dat
|
||||
|
||||
/obj/item/implant/dust/trigger(emote, mob/source)
|
||||
if(emote == "deathgasp")
|
||||
/obj/item/implant/dust/trigger(emote, mob/source, force)
|
||||
if(force && emote == "deathgasp")
|
||||
activate("death")
|
||||
|
||||
/obj/item/implant/dust/activate(cause)
|
||||
|
||||
Reference in New Issue
Block a user