mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
refactors butchering of humans with chainsaw/meatcleaver (#16812)
* traits * examine * I am incapable of writing Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * people Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -228,6 +228,9 @@ GLOBAL_DATUM_INIT(fire_overlay, /image, image("icon" = 'icons/goonstation/effect
|
||||
msg += "*--------*"
|
||||
. += msg
|
||||
|
||||
if(HAS_TRAIT(src, TRAIT_BUTCHERS_HUMANS))
|
||||
. += "<span class='warning'>Can be used to butcher dead people into meat while on harm intent.</span>"
|
||||
|
||||
/obj/item/burn()
|
||||
if(!QDELETED(src))
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
@@ -154,6 +154,10 @@
|
||||
force = 25
|
||||
throwforce = 15
|
||||
|
||||
/obj/item/kitchen/knife/butcher/meatcleaver/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_BUTCHERS_HUMANS, ROUNDSTART_TRAIT)
|
||||
|
||||
/obj/item/kitchen/knife/combat
|
||||
name = "combat knife"
|
||||
icon_state = "combatknife"
|
||||
|
||||
@@ -639,6 +639,10 @@
|
||||
if(.)
|
||||
flags &= ~NODROP
|
||||
|
||||
/obj/item/twohanded/chainsaw/Initialize(mapload)
|
||||
. = ..()
|
||||
ADD_TRAIT(src, TRAIT_BUTCHERS_HUMANS, ROUNDSTART_TRAIT)
|
||||
|
||||
// SINGULOHAMMER
|
||||
/obj/item/twohanded/singularityhammer
|
||||
name = "singularity hammer"
|
||||
|
||||
Reference in New Issue
Block a user