Ground Ore Fix (#17486)

This commit is contained in:
Geeves
2023-10-01 10:46:22 +00:00
committed by GitHub
parent 721dfeeeed
commit 08ccbd5f69
7 changed files with 66 additions and 60 deletions
+5 -5
View File
@@ -28,13 +28,13 @@
var/ore_type
switch(metal)
if("silicates", "carbonaceous rock", "iron")
if(ORE_SAND, ORE_COAL, ORE_IRON)
ore_type = "surface minerals"
if("gold", "silver", "diamond")
if(ORE_GOLD, ORE_SILVER, ORE_DIAMOND)
ore_type = "precious metals"
if("uranium")
if(ORE_URANIUM)
ore_type = "nuclear fuel"
if("phoron", "osmium", "hydrogen")
if(ORE_PHORON, ORE_PLATINUM, ORE_HYDROGEN)
ore_type = "exotic matter"
if(ore_type)
@@ -53,4 +53,4 @@
if(76 to INFINITY)
result = "huge quantities"
to_chat(user, SPAN_NOTICE("- [result] of [ore_type]."))
to_chat(user, SPAN_NOTICE("- [result] of [ore_type]."))