Merge pull request #13965 from Xantholne/GoodNightDisky
Good Night Disky
This commit is contained in:
@@ -40,6 +40,16 @@
|
||||
if(istype(W, /obj/item/wrench) && !(flags_1&NODECONSTRUCT_1))
|
||||
W.play_tool_sound(src)
|
||||
deconstruct(TRUE)
|
||||
else if(istype(W, /obj/item/bedsheet))
|
||||
if(user.transferItemToLoc(W, drop_location()))
|
||||
to_chat(user, "<span class='notice'>You make \the [src] with [W].</span>")
|
||||
W.pixel_x = 0
|
||||
W.pixel_y = 0
|
||||
else if(istype(W, /obj/item/disk/nuclear))
|
||||
if(user.transferItemToLoc(W, drop_location()))
|
||||
to_chat(user, "<span class='notice'>You tuck little disky into bed. Good night disky.</span>")
|
||||
W.pixel_x = 6 //make sure they reach the pillow
|
||||
W.pixel_y = -6
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -22,6 +22,10 @@ LINEN BINS
|
||||
dog_fashion = /datum/dog_fashion/head/ghost
|
||||
var/list/dream_messages = list("white")
|
||||
|
||||
/obj/item/bedsheet/Initialize(mapload)
|
||||
. = ..()
|
||||
AddElement(/datum/element/bed_tuckable, 0, 0, 0)
|
||||
|
||||
/obj/item/bedsheet/attack(mob/living/M, mob/user)
|
||||
if(!attempt_initiate_surgery(src, M, user))
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user