mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
[FIX] Cyborgs With Guns Can Now Perform Executions (With Guns!). (#25275)
* borg execution time * Update gun.dm * Update gun.dm * Update gun.dm
This commit is contained in:
@@ -449,16 +449,18 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/item/gun/proc/handle_suicide(mob/living/carbon/human/user, mob/living/carbon/human/target, params)
|
||||
if(!ishuman(user) || !ishuman(target))
|
||||
/obj/item/gun/proc/handle_suicide(mob/user, mob/living/carbon/human/target, params)
|
||||
if(!ishuman(target)) // So only human-type mobs can be executed.
|
||||
return
|
||||
|
||||
if(semicd)
|
||||
return
|
||||
|
||||
if(user == target)
|
||||
if(!ishuman(user)) // Borg suicide needs a refactor for this to work.
|
||||
return
|
||||
target.visible_message("<span class='warning'>[user] sticks [src] in [user.p_their()] mouth, ready to pull the trigger...</span>", \
|
||||
"<span class='userdanger'>You stick [src] in your mouth, ready to pull the trigger...</span>")
|
||||
"<span class='userdanger'>You stick [src] in your mouth, ready to pull the trigger...</span>")
|
||||
else
|
||||
target.visible_message("<span class='warning'>[user] points [src] at [target]'s head, ready to pull the trigger...</span>", \
|
||||
"<span class='userdanger'>[user] points [src] at your head, ready to pull the trigger...</span>")
|
||||
|
||||
Reference in New Issue
Block a user