mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
BUTCHER ALL THE THINGA
This commit is contained in:
@@ -15,18 +15,14 @@
|
||||
|
||||
/mob/living/attackby(obj/item/I, mob/user, params)
|
||||
user.changeNext_move(CLICK_CD_MELEE)
|
||||
|
||||
if(user.a_intent == I_HARM && stat == DEAD && !isnull(butcher_results)) //can we butcher it?
|
||||
if(stat == DEAD && !isnull(butcher_results)) //can we butcher it?
|
||||
if(istype(I, /obj/item/weapon/kitchen/knife))
|
||||
world << "living"
|
||||
user << "<span class='notice'>You begin to butcher [src]...</span>"
|
||||
playsound(loc, 'sound/weapons/slice.ogg', 50, 1, -1)
|
||||
if(do_mob(user, src, 80))
|
||||
harvest(user)
|
||||
return
|
||||
|
||||
if(istype(I) && ismob(user))
|
||||
I.attack(src, user)
|
||||
I.attack(src, user)
|
||||
|
||||
|
||||
// Proximity_flag is 1 if this afterattack was called on something adjacent, in your square, or on your person.
|
||||
|
||||
Reference in New Issue
Block a user