Dog beds can now be renamed after new owners (#1238)

This commit is contained in:
CitadelStationBot
2017-05-28 17:11:06 -05:00
committed by kevinz000
parent 636f9b9fa1
commit dec17dcfe6
2 changed files with 16 additions and 0 deletions

View File

@@ -161,7 +161,16 @@
anchored = 0
buildstacktype = /obj/item/stack/sheet/mineral/wood
buildstackamount = 10
var/mob/living/owner = null
/obj/structure/bed/dogbed/proc/update_owner(mob/living/M)
owner = M
name = "[M]'s bed"
desc = "[M]'s bed! Looks comfy."
/obj/structure/bed/dogbed/buckle_mob(mob/living/M, force, check_loc)
. = ..()
update_owner(M)
/obj/structure/bed/alien
name = "resting contraption"