mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 05:06:50 +01:00
Fixes taking items out of sewn plushies
Just fixes an oversight/check failure. Currently you can take items out of plushies that are sewn shut. With this fix you'll be able to only take things out when you re-open 'em again.
This commit is contained in:
@@ -902,7 +902,7 @@
|
||||
/obj/structure/plushie/attack_hand(mob/user)
|
||||
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
|
||||
|
||||
if(stored_item && !searching)
|
||||
if(stored_item && opened && !searching)
|
||||
searching = TRUE
|
||||
if(do_after(user, 10))
|
||||
to_chat(user, "You find \icon[stored_item] [stored_item] in [src]!")
|
||||
@@ -999,7 +999,7 @@
|
||||
to_chat(user, "<i>You can see something in there...</i>")
|
||||
|
||||
/obj/item/toy/plushie/attack_self(mob/user as mob)
|
||||
if(stored_item && !searching)
|
||||
if(stored_item && opened && !searching)
|
||||
searching = TRUE
|
||||
if(do_after(user, 10))
|
||||
to_chat(user, "You find \icon[stored_item] [stored_item] in [src]!")
|
||||
|
||||
Reference in New Issue
Block a user