mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Adds rutile (titanium ore) and other materials
This commit is contained in:
19
code/modules/mining/alloys_vr.dm
Normal file
19
code/modules/mining/alloys_vr.dm
Normal file
@@ -0,0 +1,19 @@
|
||||
/datum/alloy/tiglass
|
||||
metaltag = MAT_TITANIUMGLASS
|
||||
requires = list(
|
||||
"rutile" = 1,
|
||||
"sand" = 2
|
||||
)
|
||||
product_mod = 1
|
||||
product = /obj/item/stack/material/glass/titanium
|
||||
|
||||
/datum/alloy/plastiglass
|
||||
metaltag = MAT_PLASTANIUMGLASS
|
||||
requires = list(
|
||||
"rutile" = 1,
|
||||
"sand" = 2,
|
||||
"platinum" = 1,
|
||||
"carbon" = 2,
|
||||
)
|
||||
product_mod = 1
|
||||
product = /obj/item/stack/material/glass/plastitanium
|
||||
@@ -53,7 +53,8 @@ var/list/mining_overlay_cache = list()
|
||||
"carbon" = /obj/item/weapon/ore/coal,
|
||||
"verdantium" = /obj/item/weapon/ore/verdantium,
|
||||
"marble" = /obj/item/weapon/ore/marble,
|
||||
"lead" = /obj/item/weapon/ore/lead
|
||||
"lead" = /obj/item/weapon/ore/lead,
|
||||
"rutile" = /obj/item/weapon/ore/rutile //VOREStation Add
|
||||
)
|
||||
|
||||
has_resources = 1
|
||||
@@ -638,10 +639,10 @@ turf/simulated/mineral/floor/light_corner
|
||||
|
||||
var/mineral_name
|
||||
if(rare_ore)
|
||||
mineral_name = pickweight(list("marble" = 5, "uranium" = 10, "platinum" = 10, "hematite" = 20, "carbon" = 20, "diamond" = 2, "gold" = 10, "silver" = 10, "phoron" = 20, "lead" = 5, "verdantium" = 1))
|
||||
mineral_name = pickweight(list("marble" = 5, "uranium" = 10, "platinum" = 10, "hematite" = 20, "carbon" = 20, "diamond" = 2, "gold" = 10, "silver" = 10, "phoron" = 20, "lead" = 5, "verdantium" = 1, "rutile" = 4)) //VOREStation Edit
|
||||
|
||||
else
|
||||
mineral_name = pickweight(list("marble" = 3, "uranium" = 10, "platinum" = 10, "hematite" = 70, "carbon" = 70, "diamond" = 2, "gold" = 10, "silver" = 10, "phoron" = 20, "lead" = 2, "verdantium" = 1))
|
||||
mineral_name = pickweight(list("marble" = 3, "uranium" = 10, "platinum" = 10, "hematite" = 70, "carbon" = 70, "diamond" = 2, "gold" = 10, "silver" = 10, "phoron" = 20, "lead" = 2, "verdantium" = 1, "rutile" = 4)) //VOREStation Edit
|
||||
|
||||
if(mineral_name && (mineral_name in ore_data))
|
||||
mineral = ore_data[mineral_name]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/effect/mineral
|
||||
name = "mineral vein"
|
||||
icon = 'icons/obj/mining.dmi'
|
||||
icon = 'icons/obj/mining_vr.dmi' //VOREStation Edit
|
||||
desc = "Shiny."
|
||||
mouse_opacity = 0
|
||||
density = 0
|
||||
|
||||
9
code/modules/mining/ore_datum_vr.dm
Normal file
9
code/modules/mining/ore_datum_vr.dm
Normal file
@@ -0,0 +1,9 @@
|
||||
/ore/rutile
|
||||
name = "rutile"
|
||||
display_name = "rutile"
|
||||
smelts_to = "titanium"
|
||||
alloy = 1
|
||||
result_amount = 5
|
||||
spread_chance = 10
|
||||
ore = /obj/item/weapon/ore/rutile
|
||||
scan_icon = "mineral_rare"
|
||||
6
code/modules/mining/ore_vr.dm
Normal file
6
code/modules/mining/ore_vr.dm
Normal file
@@ -0,0 +1,6 @@
|
||||
/obj/item/weapon/ore/rutile
|
||||
name = "rutile"
|
||||
icon = 'icons/obj/mining_vr.dmi'
|
||||
icon_state = "ore_rutile"
|
||||
origin_tech = list(TECH_MATERIAL = 2)
|
||||
material = "rutile"
|
||||
Reference in New Issue
Block a user