Fix a few hard-dels

This commit is contained in:
ariaworld
2024-01-21 16:14:07 +01:00
parent d892c54df6
commit 93f0fb7e6c
11 changed files with 53 additions and 21 deletions
@@ -185,7 +185,7 @@
anchored = FALSE
buildstacktype = /obj/item/stack/sheet/mineral/wood
buildstackamount = 10
var/mob/living/owner = null
var/owned = FALSE
/obj/structure/bed/dogbed/ian
desc = "Ian's bed! Looks comfy."
@@ -208,9 +208,12 @@
anchored = TRUE
/obj/structure/bed/dogbed/proc/update_owner(mob/living/M)
owner = M
if(owned || type != /obj/structure/bed/dogbed) //Only marked beds work
return FALSE //Failed
owned = TRUE
name = "[M]'s bed"
desc = "[M]'s bed! Looks comfy."
return TRUE //Let any callers know that this bed is ours now
/obj/structure/bed/dogbed/buckle_mob(mob/living/M, force, check_loc)
. = ..()