bunch of unhandled refs (#16919)

* bunch of unhandled refs

* fix that (#6)
This commit is contained in:
Kashargul
2025-01-18 05:43:53 +01:00
committed by GitHub
parent da4c6f1f63
commit e2b68fd0ac
12 changed files with 30 additions and 10 deletions
@@ -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
+1 -1
View File
@@ -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]."))