mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
bunch of unhandled refs (#16919)
* bunch of unhandled refs * fix that (#6)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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