This commit is contained in:
Kashargul
2024-12-06 22:26:07 +01:00
parent e0972e8325
commit 5398ec84bf
22 changed files with 69 additions and 45 deletions
@@ -27,7 +27,7 @@
var/obj/item/stack/nanopaste/np = W
if((supply.get_free_space() >= efficiency) && np.use(1))
to_chat(user, span_notice("You convert some nanopaste into programmed nanites inside \the [src]."))
supply.add_reagent(id = "nifrepairnanites", amount = efficiency)
supply.add_reagent(id = REAGENT_ID_NIFREPAIRNANITES, amount = efficiency)
update_icon()
else if(supply.get_free_space() < efficiency)
to_chat(user, span_warning("\The [src] is too full. Empty it into a container first."))
@@ -52,7 +52,7 @@
/obj/item/extinguisher/Initialize()
create_reagents(max_water)
reagents.add_reagent("firefoam", max_water)
reagents.add_reagent(REAGENT_ID_FIREFOAM, max_water)
if(rand_overlays)
var/choice = rand(1,rand_overlays)
add_overlay("[item_state]O[choice]")