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
+9
View File
@@ -39,6 +39,15 @@
m.visible_message(span_notice("\The [m] tumbles out of \the [src]!"))
//VOREStation Add End
if(istype(src, /obj/item))
var/obj/item/I = src
if(I.possessed_voice && I.possessed_voice.len)
for(var/mob/living/voice/V in I.possessed_voice)
if(!V.tf_mob_holder)
V.ghostize(0)
V.stat = DEAD
qdel(V)
return ..()
/obj/Topic(href, href_list, var/datum/tgui_state/state = GLOB.tgui_default_state)
@@ -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]."))