more options for matter decompiler (#20874)

This commit is contained in:
Henri215
2023-04-22 04:44:33 -03:00
committed by GitHub
parent dc75a748f1
commit 627a46a068
6 changed files with 37 additions and 10 deletions
@@ -215,6 +215,14 @@
damtype = "fire"
START_PROCESSING(SSobj, src)
/obj/item/flashlight/flare/decompile_act(obj/item/matter_decompiler/C, mob/user)
if(!fuel)
C.stored_comms["metal"] += 1
C.stored_comms["glass"] += 1
qdel(src)
return TRUE
return ..()
// GLOWSTICKS
/obj/item/flashlight/flare/glowstick
+5
View File
@@ -52,6 +52,11 @@ LIGHTERS ARE IN LIGHTERS.DM
STOP_PROCESSING(SSobj, src)
return ..()
/obj/item/clothing/mask/cigarette/decompile_act(obj/item/matter_decompiler/C, mob/user)
C.stored_comms["wood"] += 1
qdel(src)
return TRUE
/obj/item/clothing/mask/cigarette/attack(mob/living/M, mob/living/user, def_zone)
if(istype(M) && M.on_fire)
user.changeNext_move(CLICK_CD_MELEE)
@@ -65,6 +65,13 @@
update_icon(UPDATE_OVERLAYS)
return
/obj/item/storage/fancy/donut_box/decompile_act(obj/item/matter_decompiler/C, mob/user)
if(!length(contents))
C.stored_comms["wood"] += 1
qdel(src)
return TRUE
return ..()
/*
* Egg Box
*/