Allow decompilation of shrapnel and cardboard tubes (#28306)

* Allow decompilation of shrapnel, cardboard tubes, ammo boxes and magazines

* Do not allow decompilation of magazines

---------

Co-authored-by: Arthri <41360489+a@users.noreply.github.com>
This commit is contained in:
Arthri
2025-02-13 06:25:12 +08:00
committed by GitHub
parent 4195958b45
commit b472a861fa
2 changed files with 8 additions and 0 deletions
@@ -73,4 +73,8 @@
icon_state = pick("shrapnel1", "shrapnel2", "shrapnel3")
scatter_atom()
/obj/item/shrapnel/decompile_act(obj/item/matter_decompiler/C, mob/user)
qdel(src)
return TRUE
#undef DEFAULT_SHRAPNEL_RANGE
@@ -121,6 +121,10 @@
throw_speed = 4
throw_range = 5
/obj/item/c_tube/decompile_act(obj/item/matter_decompiler/C, mob/user)
qdel(src)
return TRUE
/obj/item/fan