[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:
CHOMPStation2StaffMirrorBot
2024-12-11 18:11:06 -07:00
committed by GitHub
parent d5b62d4159
commit fd5d9267ff
622 changed files with 11273 additions and 9558 deletions

View File

@@ -14,8 +14,8 @@
"thousand" = 999,
"million" = 999
)
var/xarch_source_mineral = "iron"
var/reagent = "silicate"
var/xarch_source_mineral = REAGENT_ID_IRON
var/reagent = REAGENT_SILICATE
/ore/New()
. = ..()
@@ -23,9 +23,9 @@
display_name = name
/ore/uranium
name = "uranium"
name = ORE_LEAD
display_name = "pitchblende"
smelts_to = "uranium"
smelts_to = MAT_URANIUM
result_amount = 5
spread_chance = 10
ore = /obj/item/ore/uranium
@@ -34,43 +34,43 @@
"thousand" = 999,
"million" = 704
)
xarch_source_mineral = "potassium"
reagent = "uranium"
xarch_source_mineral = REAGENT_ID_POTASSIUM
reagent = REAGENT_ID_URANIUM
/ore/hematite
name = "hematite"
display_name = "hematite"
smelts_to = "iron"
name = ORE_HEMATITE
display_name = ORE_HEMATITE
smelts_to = MAT_IRON
alloy = 1
result_amount = 5
spread_chance = 25
ore = /obj/item/ore/iron
scan_icon = "mineral_common"
reagent = "iron"
reagent = REAGENT_ID_IRON
/ore/coal
name = "carbon"
name = ORE_CARBON
display_name = "raw carbon"
smelts_to = "plastic"
compresses_to = "graphite"
smelts_to = MAT_PLASTIC
compresses_to = MAT_GRAPHITE
alloy = 1
result_amount = 5
spread_chance = 25
ore = /obj/item/ore/coal
scan_icon = "mineral_common"
reagent = "carbon"
reagent = REAGENT_ID_CARBON
/ore/glass
name = "sand"
display_name = "sand"
smelts_to = "glass"
name = ORE_SAND
display_name = ORE_SAND
smelts_to = MAT_GLASS
alloy = 1
compresses_to = "sandstone"
compresses_to = MAT_SANDSTONE
/ore/phoron
name = "phoron"
name = ORE_PHORON
display_name = "phoron crystals"
compresses_to = "phoron"
compresses_to = MAT_PHORON
//smelts_to = something that explodes violently on the conveyor, huhuhuhu
result_amount = 5
spread_chance = 25
@@ -82,22 +82,22 @@
"billion" = 13,
"billion_lower" = 10
)
xarch_source_mineral = "phoron"
reagent = "phoron"
xarch_source_mineral = REAGENT_ID_PHORON
reagent = REAGENT_ID_PHORON
/ore/silver
name = "silver"
name = ORE_SILVER
display_name = "native silver"
smelts_to = "silver"
smelts_to = MAT_SILVER
result_amount = 5
spread_chance = 10
ore = /obj/item/ore/silver
scan_icon = "mineral_uncommon"
reagent = "silver"
reagent = REAGENT_ID_SILVER
/ore/gold
smelts_to = "gold"
name = "gold"
name = ORE_GOLD
smelts_to = MAT_GOLD
display_name = "native gold"
result_amount = 5
spread_chance = 10
@@ -109,42 +109,42 @@
"billion" = 4,
"billion_lower" = 3
)
reagent = "gold"
reagent = REAGENT_ID_GOLD
/ore/diamond
name = "diamond"
display_name = "diamond"
name = ORE_DIAMOND
display_name = ORE_DIAMOND
alloy = 1
compresses_to = "diamond"
compresses_to = MAT_DIAMOND
result_amount = 5
spread_chance = 10
ore = /obj/item/ore/diamond
scan_icon = "mineral_rare"
xarch_source_mineral = "nitrogen"
reagent = "carbon"
xarch_source_mineral = REAGENT_ID_NITROGEN
reagent = REAGENT_ID_CARBON
/ore/platinum
name = "platinum"
name = ORE_PLATINUM
display_name = "raw platinum"
smelts_to = "platinum"
compresses_to = "osmium"
smelts_to = MAT_PLATINUM
compresses_to = MAT_OSMIUM
alloy = 1
result_amount = 5
spread_chance = 10
ore = /obj/item/ore/osmium
scan_icon = "mineral_rare"
reagent = "platinum"
reagent = REAGENT_ID_PLATINUM
/ore/hydrogen
name = "mhydrogen"
name = ORE_MHYDROGEN
display_name = "metallic hydrogen"
smelts_to = "tritium"
compresses_to = "mhydrogen"
smelts_to = MAT_TRITIUM
compresses_to = MAT_METALHYDROGEN
scan_icon = "mineral_rare"
reagent = "hydrogen"
reagent = REAGENT_ID_HYDROGEN
/ore/verdantium
name = MAT_VERDANTIUM
name = ORE_VERDANTIUM
display_name = "crystalline verdantite"
compresses_to = MAT_VERDANTIUM
result_amount = 2
@@ -157,40 +157,40 @@
)
/ore/marble
name = MAT_MARBLE
name = ORE_MARBLE
display_name = "recrystallized carbonate"
compresses_to = "marble"
compresses_to = MAT_MARBLE
result_amount = 1
spread_chance = 10
ore = /obj/item/ore/marble
scan_icon = "mineral_common"
reagent = "calciumcarbonate"
reagent = REAGENT_ID_CALCIUMCARBONATE
/ore/lead
name = MAT_LEAD
name = ORE_LEAD
display_name = "lead glance"
smelts_to = "lead"
smelts_to = MAT_LEAD
result_amount = 3
spread_chance = 20
ore = /obj/item/ore/lead
scan_icon = "mineral_rare"
reagent = "lead"
reagent = REAGENT_ID_LEAD
/*
/ore/copper
name = "copper"
display_name = "copper"
smelts_to = "copper"
name = ORE_COPPER
display_name = ORE_COPPER
smelts_to = MAT_COPPER
alloy = 1
result_amount = 5
spread_chance = 15
ore = /obj/item/ore/copper
scan_icon = "mineral_common"
reagent = "copper"
reagent = REAGENT_ID_COPPER
/ore/tin
name = "tin"
display_name = "tin"
smelts_to = "tin"
name = ORE_TIN
display_name = ORE_TIN
smelts_to = MAT_TIN
alloy = 1
result_amount = 5
spread_chance = 10
@@ -198,28 +198,28 @@
scan_icon = "mineral_common"
/ore/quartz
name = "quartz"
name = ORE_QUARTZ
display_name = "unrefined quartz"
compresses_to = "quartz"
compresses_to = MAT_QUARTZ
result_amount = 5
spread_chance = 5
ore = /obj/item/ore/quartz
scan_icon = "mineral_common"
/ore/bauxite
name = "bauxite"
display_name = "bauxite"
smelts_to = "aluminium"
name = ORE_BAUXITE
display_name = ORE_BAUXITE
smelts_to = MAT_ALUMINIUM
result_amount = 5
spread_chance = 25
ore = /obj/item/ore/bauxite
scan_icon = "mineral_common"
reagent = "aluminum"
reagent = REAGENT_ID_ALUMINIUM
*/
/ore/rutile
name = "rutile"
display_name = "rutile"
smelts_to = "titanium"
name = ORE_RUTILE
display_name = ORE_RUTILE
smelts_to = MAT_TITANIUM
result_amount = 5
spread_chance = 12
alloy = 1
@@ -227,20 +227,20 @@
scan_icon = "mineral_uncommon"
/*
/ore/painite
name = "painite"
name = ORE_PAINITE
display_name = "rough painite"
compresses_to = "painite"
compresses_to = MAT_PAINITE
result_amount = 5
spread_chance = 3
ore = /obj/item/ore/painite
scan_icon = "mineral_rare"
/ore/void_opal
name = "void opal"
name = ORE_VOPAL
display_name = "rough void opal"
compresses_to = "void opal"
compresses_to = MAT_VOPAL
result_amount = 5
spread_chance = 1
ore = /obj/item/ore/void_opal
scan_icon = "mineral_rare"
*/
*/