Arcmining: Chemical Boosting (#95530)

This commit is contained in:
ArcaneMusic
2026-04-23 17:46:06 +02:00
committed by GitHub
parent 9e91f22db7
commit 0c91535120
25 changed files with 4981 additions and 4176 deletions
+3 -1
View File
@@ -69,8 +69,10 @@ Simple datum which is instanced once per type and is used for every object of sa
var/mat_rust_resistance = RUST_RESISTANCE_ORGANIC
/// How likely this mineral is to be found in a boulder during mining.
var/mineral_rarity = MATERIAL_RARITY_COMMON
/// How many points per units of ore does this grant?
/// How many points per units of ore does this grant? This is used by ore in the ORM, NOT for boulder machinery due to the automated nature.
var/points_per_unit = 1
/// How many points per unit does this ore grant when processed by a smelter/refinery?
var/points_per_boulder_unit = 1
// Sound/icon stats, not inherited
/// Can be used to override the sound items make, lets add some SLOSHing.
+14
View File
@@ -20,6 +20,7 @@
mat_rust_resistance = RUST_RESISTANCE_BASIC
mineral_rarity = MATERIAL_RARITY_COMMON
points_per_unit = 1 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 1 / SHEET_MATERIAL_AMOUNT
minimum_value_override = 0
tradable = TRUE
tradable_base_quantity = MATERIAL_QUANTITY_COMMON
@@ -57,6 +58,7 @@
tradable_base_quantity = MATERIAL_QUANTITY_COMMON
mineral_rarity = MATERIAL_RARITY_COMMON
points_per_unit = 1 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 1 / SHEET_MATERIAL_AMOUNT
texture_layer_icon_state = "shine"
/datum/material/glass/on_accidental_mat_consumption(mob/living/carbon/victim, obj/item/source_item)
@@ -99,6 +101,7 @@
tradable_base_quantity = MATERIAL_QUANTITY_UNCOMMON
mineral_rarity = MATERIAL_RARITY_SEMIPRECIOUS
points_per_unit = 16 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 3.5 / SHEET_MATERIAL_AMOUNT
texture_layer_icon_state = "shine"
/datum/material/silver/on_accidental_mat_consumption(mob/living/carbon/victim, obj/item/source_item)
@@ -130,6 +133,7 @@
tradable_base_quantity = MATERIAL_QUANTITY_RARE
mineral_rarity = MATERIAL_RARITY_PRECIOUS
points_per_unit = 18 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 4 / SHEET_MATERIAL_AMOUNT
texture_layer_icon_state = "shine"
/datum/material/gold/on_accidental_mat_consumption(mob/living/carbon/victim, obj/item/source_item)
@@ -163,6 +167,7 @@
tradable_base_quantity = MATERIAL_QUANTITY_EXOTIC
mineral_rarity = MATERIAL_RARITY_RARE
points_per_unit = 50 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 10 / SHEET_MATERIAL_AMOUNT
/datum/material/diamond/on_accidental_mat_consumption(mob/living/carbon/victim, obj/item/source_item)
. = ..()
@@ -195,6 +200,7 @@
tradable_base_quantity = MATERIAL_QUANTITY_RARE
mineral_rarity = MATERIAL_RARITY_SEMIPRECIOUS
points_per_unit = 30 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 3.5 / SHEET_MATERIAL_AMOUNT
/// Adds firestacks on hit (Still needs support to turn into gas on destruction)
/datum/material/plasma
@@ -219,6 +225,7 @@
value_per_unit = 200 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_PRECIOUS
points_per_unit = 15 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 2 / SHEET_MATERIAL_AMOUNT
/datum/material/plasma/on_applied(atom/source, mat_amount, multiplier, from_slot)
. = ..()
@@ -257,6 +264,7 @@
value_per_unit = 300 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_RARE
points_per_unit = 50 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 10 / SHEET_MATERIAL_AMOUNT
tradable = TRUE
tradable_base_quantity = MATERIAL_QUANTITY_EXOTIC
texture_layer_icon_state = "shine"
@@ -305,6 +313,7 @@
value_per_unit = 1000 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_UNDISCOVERED
points_per_unit = 60 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 15 / SHEET_MATERIAL_AMOUNT
/datum/material/bananium/on_applied(atom/source, mat_amount, multiplier, from_slot)
. = ..()
@@ -360,6 +369,7 @@
sheet_type = /obj/item/stack/sheet/mineral/titanium
ore_type = /obj/item/stack/ore/titanium
value_per_unit = 125 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 3 / SHEET_MATERIAL_AMOUNT
tradable = TRUE
tradable_base_quantity = MATERIAL_QUANTITY_UNCOMMON
mat_rust_resistance = RUST_RESISTANCE_TITANIUM
@@ -390,6 +400,7 @@
value_per_unit = 600 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_UNDISCOVERED
points_per_unit = 100 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 20 / SHEET_MATERIAL_AMOUNT
/datum/material/runite/on_applied(atom/source, mat_amount, multiplier, from_slot)
. = ..()
@@ -429,6 +440,7 @@
value_per_unit = 25 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_UNDISCOVERED // Nobody's found oil on lavaland yet.
points_per_unit = 4 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 4 / SHEET_MATERIAL_AMOUNT
/// Force decrease and mushy sound effect. (Not yet implemented)
/datum/material/biomass
@@ -483,6 +495,7 @@
value_per_unit = 500 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_UNDISCOVERED // Doesn't naturally spawn on lavaland.
points_per_unit = 100 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 20 / SHEET_MATERIAL_AMOUNT // If it ever needs it, we'll give it
/datum/material/adamantine/on_applied(atom/source, mat_amount, multiplier, from_slot)
. = ..()
@@ -521,6 +534,7 @@
value_per_unit = 1500 / SHEET_MATERIAL_AMOUNT
mineral_rarity = MATERIAL_RARITY_UNDISCOVERED // Doesn't naturally spawn on lavaland.
points_per_unit = 100 / SHEET_MATERIAL_AMOUNT
points_per_boulder_unit = 20 / SHEET_MATERIAL_AMOUNT
/datum/material/mythril/on_applied(atom/source, mat_amount, multiplier, from_slot)
. = ..()