Fix iron naming, add specific materials for ores (#23590)

add materials for ores, fix iron naming
This commit is contained in:
Nemanja
2024-01-05 21:52:40 -05:00
committed by GitHub
parent 8b7bec2f1d
commit 86c1e36cd5
12 changed files with 100 additions and 30 deletions

View File

@@ -55,7 +55,7 @@ public sealed partial class GatewayGeneratorComponent : Component
/// </summary>
public List<ProtoId<BiomeMarkerLayerPrototype>> LootLayers = new()
{
"OreTin",
"OreIron",
"OreQuartz",
"OreGold",
"OreSilver",

View File

@@ -26,5 +26,14 @@ materials-web = silk
materials-bones = bone
materials-coal = coal
# Ores
materials-raw-iron = raw iron
materials-raw-quartz = raw quartz
materials-raw-gold = raw gold
materials-raw-silver = raw silver
materials-raw-plasma = raw plasma
materials-raw-uranium = raw uranium
materials-raw-bananium = raw bananium
# Material Reclaimer
material-reclaimer-upgrade-process-rate = process rate

View File

@@ -14,6 +14,8 @@ materials-unit-bunch = bunch
materials-unit-slab = slab
# webs of silk
materials-unit-web = web
# chunks of ore
materials-unit-chunk = chunk
# bills of spesos... not very good but they are not (yet?) used for crafting anything
# also the lathe/atm would need bigger denominations to output...

View File

@@ -7,7 +7,7 @@ salvage-asteroid-name = Asteroid
salvage-expedition-window-progression = Progression
salvage-magnet-resources = {$resource ->
[OreTin] Tin
[OreIron] Iron
[OreCoal] Coal
[OreQuartz] Quartz
[OreGold] Gold

View File

@@ -48,7 +48,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Gold: 500
RawGold: 500
- type: entity
parent: GoldOre
@@ -61,7 +61,7 @@
- type: entity
parent: OreBase
id: SteelOre
name: steel ore
name: iron ore
suffix: Full
components:
- type: Stack
@@ -71,7 +71,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Steel: 500
RawIron: 500
- type: entity
id: SteelOre1
@@ -94,7 +94,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Plasma: 500
RawPlasma: 500
- type: entity
parent: PlasmaOre
@@ -117,7 +117,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Silver: 500
RawSilver: 500
- type: entity
parent: SilverOre
@@ -140,7 +140,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Glass: 500
RawQuartz: 500
- type: entity
parent: SpaceQuartz
@@ -163,7 +163,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Uranium: 500
RawUranium: 500
- type: entity
parent: UraniumOre
@@ -186,7 +186,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
Bananium: 500
RawBananium: 500
- type: entity
parent: BananiumOre

View File

@@ -988,9 +988,7 @@
- type: Machine
board: OreProcessorMachineCircuitboard
- type: MaterialStorage
dropOnDeconstruct: false #should drop ores instead of ingots/sheets
ignoreColor: true
canEjectStoredMaterials: false
whitelist:
tags:
- Ore

View File

@@ -1,7 +1,7 @@
- type: weightedRandom
id: AsteroidOre
weights:
OreTin: 1.0
OreIron: 1.0
OreQuartz: 1.0
OreCoal: 1.0
OreGold: 0.25

View File

@@ -1,6 +1,6 @@
# Low value
- type: biomeMarkerLayer
id: OreTin
id: OreIron
entityMask:
AsteroidRock: AsteroidRockTin
WallRock: WallRockTin

View File

@@ -119,11 +119,11 @@
# Ores - these are guaranteed
# - Low value
- type: salvageLoot
id: OreTin
id: OreIron
guaranteed: true
loots:
- !type:BiomeMarkerLoot
proto: OreTin
proto: OreIron
- type: salvageLoot
id: OreCoal

View File

@@ -0,0 +1,61 @@
- type: material
id: RawIron
stackEntity: SteelOre1
name: materials-raw-iron
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: iron }
price: 0.05
- type: material
id: RawQuartz
stackEntity: SpaceQuartz1
name: materials-raw-quartz
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: spacequartz }
color: "#a8ccd7"
price: 0.075
- type: material
id: RawGold
stackEntity: GoldOre1
name: materials-raw-gold
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: gold }
color: "#FFD700"
price: 0.2
- type: material
id: RawSilver
stackEntity: SilverOre1
name: materials-raw-silver
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: silver }
color: "#C0C0C0"
price: 0.15
- type: material
id: RawPlasma
stackEntity: PlasmaOre1
name: materials-raw-plasma
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: plasma }
color: "#7e009e"
price: 0.2
- type: material
id: RawUranium
stackEntity: UraniumOre1
name: materials-raw-uranium
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: uranium }
color: "#32a852"
price: 0.2
- type: material
id: RawBananium
stackEntity: BananiumOre1
name: materials-raw-bananium
unit: materials-unit-chunk
icon: { sprite: Objects/Materials/ore.rsi, state: bananium }
color: "#32a852"
price: 0.2

View File

@@ -4,14 +4,14 @@
applyMaterialDiscount: false
completetime: 2
materials:
Steel: 100
RawIron: 100
- type: latheRecipe
id: SheetSteel30
result: SheetSteel
completetime: 2
materials:
Steel: 3000
RawIron: 3000
Coal: 1000
- type: latheRecipe
@@ -20,14 +20,14 @@
applyMaterialDiscount: false
completetime: 2
materials:
Glass: 100
RawQuartz: 100
- type: latheRecipe
id: SheetGlass30
result: SheetGlass
completetime: 2
materials:
Glass: 3000
RawQuartz: 3000
- type: latheRecipe
id: SheetRGlass
@@ -68,56 +68,56 @@
result: SheetPlasma
completetime: 2
materials:
Plasma: 3000
RawPlasma: 3000
- type: latheRecipe
id: SheetUranium30
result: SheetUranium
completetime: 2
materials:
Uranium: 3000
RawUranium: 3000
- type: latheRecipe
id: IngotGold30
result: IngotGold
completetime: 2
materials:
Gold: 3000
RawGold: 3000
- type: latheRecipe
id: IngotSilver30
result: IngotSilver
completetime: 2
materials:
Silver: 3000
RawSilver: 3000
- type: latheRecipe
id: MaterialBananium10
result: MaterialBananium
completetime: 2
materials:
Bananium: 3000
RawBananium: 3000
- type: latheRecipe
id: SheetUranium1
result: SheetUranium1
completetime: 2
materials:
Uranium: 500
RawUranium: 500
- type: latheRecipe
id: IngotGold1
result: IngotGold1
completetime: 2
materials:
Gold: 500
RawGold: 500
- type: latheRecipe
id: IngotSilver1
result: IngotSilver1
completetime: 2
materials:
Silver: 500
RawSilver: 500
- type: latheRecipe
id: SheetPlastic
@@ -132,7 +132,7 @@
result: MaterialBananium1
completetime: 2
materials:
Bananium: 500
RawBananium: 500
- type: latheRecipe
id: MaterialSheetMeat

View File

@@ -8,7 +8,7 @@
- type: stack
id: SteelOre
name: steel ore
name: iron ore
icon: { sprite: /Textures/Objects/Materials/ore.rsi, state: iron }
spawn: SteelOre1
maxCount: 30