mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 10:34:10 +01:00
bunch of unhandled refs (#16919)
* bunch of unhandled refs * fix that (#6)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
desc = "It's a burial receptacle for the dearly departed."
|
||||
icon = 'icons/obj/closets/coffin.dmi'
|
||||
|
||||
icon_state = "closed"
|
||||
icon_state = "closed_unlocked"
|
||||
seal_tool = /obj/item/tool/screwdriver
|
||||
breakout_sound = 'sound/weapons/tablehit1.ogg'
|
||||
closet_appearance = null // Special icon for us
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
flick("[icon_state]_hit", src)
|
||||
playsound(src, 'sound/effects/woodhit.ogg', 25, 1, -1)
|
||||
user.do_attack_animation(src)
|
||||
user.nutrition = user.nutrition - 5
|
||||
user.adjust_nutrition(-5)
|
||||
user.weight -= 0.25 * weightloss_power * (0.01 * user.weight_loss)
|
||||
to_chat(user, span_warning("You [pick(hit_message)] \the [src]."))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user