Custom item fixes - Menown (#7023)

* Fixes the bedroll duplication
* Fixes a message that was left unedited.
This commit is contained in:
Menown
2019-09-20 15:14:25 -05:00
committed by Erki
parent b8a56e703d
commit 71dfa910dc
2 changed files with 3 additions and 2 deletions
+3 -2
View File
@@ -3147,12 +3147,13 @@ All custom items with worn sprites must follow the contained sprite system: http
return
usr.visible_message(
"<span class='warning'>[usr] begins setting up the [src.name].</span>",
"<span class='notice'>You begin setting up the [src.name].</span>")
"<span class='warning'>[usr] begins taking apart the [src.name].</span>",
"<span class='notice'>You begin taking apart the [src.name].</span>")
if(has_bedroll)
if(do_after(usr, 20 SECONDS, act_target = src))
to_chat(usr, "<span class='notice'>You roll up the bedroll inside \the [src].</span>")
new/obj/item/weapon/fluff/muhawir_bedroll(get_turf(usr))
has_bedroll = FALSE
if(do_after(usr, 50 SECONDS, act_target = src))
to_chat(usr, "<span class='notice'>You take down \the [src].</span>")
new/obj/item/weapon/fluff/muhawir_tent(get_turf(usr))