Fixes runtime when using gibself on an animal.

Fixes gib animation never appearing for carbons.
gib() now has a "no_organs" argument to not spill organs on gib().
gib() also no longer waits for the gib animation to finish before actually qdeling the mob (which was causing the possibility of multi-gibbing animation during cult sacrifice.
Gibself no longer spill organs.
Simple_animal no longer show "X stops moving" when gibbed.
This commit is contained in:
phil235
2016-04-29 03:57:16 +02:00
committed by phil235
parent f1737eed34
commit 2cc2341536
18 changed files with 96 additions and 111 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
message_admins("[target.name] has been hit by Bluespace Artillery fired by [usr]")
if(target.health <= 1)
target.gib(no_brain = 1)
target.gib(1, 1)
else
target.adjustBruteLoss(min(99,(target.health - 1)))
target.Stun(20)
+2 -2
View File
@@ -599,7 +599,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if(confirm == "Yes")
M.gib()
else
M.gib(no_brain = 1)
M.gib(1)
feedback_add_details("admin_verb","GIB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_gib_self()
@@ -611,7 +611,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if (istype(mob, /mob/dead/observer)) // so they don't spam gibs everywhere
return
else
mob.gib(no_brain = 1)
mob.gib(1, 1)
log_admin("[key_name(usr)] used gibself.")
message_admins("<span class='adminnotice'>[key_name_admin(usr)] used gibself.</span>")