mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 14:16:58 +01:00
[MIRROR] Converts gas, ore, plants and reagent strings to defines (#9611)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Heroman3003
Kashargul
parent
d5b62d4159
commit
fd5d9267ff
@@ -112,7 +112,7 @@
|
||||
|
||||
/obj/item/weldingtool/silver/process()
|
||||
if(get_fuel() <= get_max_fuel())
|
||||
reagents.add_reagent("fuel", 1)
|
||||
reagents.add_reagent(REAGENT_ID_FUEL, 1)
|
||||
..()
|
||||
|
||||
//Midnightfog
|
||||
@@ -170,4 +170,4 @@
|
||||
|
||||
/datum/modifier/magnet/tick()
|
||||
for(var/obj/item/ore/O in orange(4, holder))
|
||||
step_towards(O, get_turf(holder))
|
||||
step_towards(O, get_turf(holder))
|
||||
|
||||
@@ -59,9 +59,9 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/weatherlily/Initialize()
|
||||
. = ..()
|
||||
//reagents.add_reagent("amatoxin", 1) I want this for lore of this being a strange bioenginered thing to mess with organic things buuuut it's one of two food sources
|
||||
reagents.add_reagent("luminol",1)
|
||||
reagents.add_reagent("protein",1)
|
||||
//reagents.add_reagent(REAGENT_ID_AMATOXIN, 1) I want this for lore of this being a strange bioenginered thing to mess with organic things buuuut it's one of two food sources
|
||||
reagents.add_reagent(REAGENT_ID_LUMINOL,1)
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN,1)
|
||||
|
||||
//The source of the materials
|
||||
/obj/structure/outcrop/weathered_gate
|
||||
@@ -121,12 +121,12 @@
|
||||
center_of_mass_x = 17 //CHOMPEdit
|
||||
center_of_mass_y= 16 //CHOMPEdit
|
||||
nutriment_amt = 3
|
||||
nutriment_desc = list("protein" = 4)
|
||||
nutriment_desc = list(REAGENT_ID_PROTEIN = 4)
|
||||
bitesize = 2
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/mutatedmeat/Initialize()
|
||||
. = ..()
|
||||
reagents.add_reagent("protein", 4)
|
||||
reagents.add_reagent(REAGENT_ID_PROTEIN, 4)
|
||||
|
||||
/obj/item/prop/alien/prototype
|
||||
name = "alien prototype"
|
||||
|
||||
Reference in New Issue
Block a user