mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Fixes unsealed art not returning cloth (#31724)
* fixed stovetop not appearing in circuit imprinter as well minor typo in circuitprinter.dm notes * Cloth is now removed when covering an artwork as well as returned when uncovering it. * these should not be changed in *this* branch
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
var/obj/item/stack/sheet/cloth/coverings = used
|
||||
if(coverings.amount >= 3)
|
||||
if(do_after_once(user, 3 SECONDS, TRUE, src, TRUE, FALSE))
|
||||
coverings.use(3)
|
||||
on_cover()
|
||||
else
|
||||
to_chat(user, SPAN_WARNING("You need at least 3 sheets of cloth to cover this!"))
|
||||
@@ -42,6 +43,7 @@
|
||||
if(covered)
|
||||
if(do_after_once(user, 3 SECONDS, TRUE, src, TRUE, FALSE))
|
||||
on_uncover()
|
||||
new /obj/item/stack/sheet/cloth(loc, 3)
|
||||
return FINISH_ATTACK
|
||||
|
||||
/obj/structure/unsealed_art/wrench_act(mob/living/user, obj/item/I)
|
||||
|
||||
Reference in New Issue
Block a user