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> /// </summary>
public List<ProtoId<BiomeMarkerLayerPrototype>> LootLayers = new() public List<ProtoId<BiomeMarkerLayerPrototype>> LootLayers = new()
{ {
"OreTin", "OreIron",
"OreQuartz", "OreQuartz",
"OreGold", "OreGold",
"OreSilver", "OreSilver",

View File

@@ -26,5 +26,14 @@ materials-web = silk
materials-bones = bone materials-bones = bone
materials-coal = coal 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
material-reclaimer-upgrade-process-rate = process rate material-reclaimer-upgrade-process-rate = process rate

View File

@@ -14,6 +14,8 @@ materials-unit-bunch = bunch
materials-unit-slab = slab materials-unit-slab = slab
# webs of silk # webs of silk
materials-unit-web = web 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 # 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... # 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-expedition-window-progression = Progression
salvage-magnet-resources = {$resource -> salvage-magnet-resources = {$resource ->
[OreTin] Tin [OreIron] Iron
[OreCoal] Coal [OreCoal] Coal
[OreQuartz] Quartz [OreQuartz] Quartz
[OreGold] Gold [OreGold] Gold

View File

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

View File

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

View File

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

View File

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

View File

@@ -119,11 +119,11 @@
# Ores - these are guaranteed # Ores - these are guaranteed
# - Low value # - Low value
- type: salvageLoot - type: salvageLoot
id: OreTin id: OreIron
guaranteed: true guaranteed: true
loots: loots:
- !type:BiomeMarkerLoot - !type:BiomeMarkerLoot
proto: OreTin proto: OreIron
- type: salvageLoot - type: salvageLoot
id: OreCoal 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 applyMaterialDiscount: false
completetime: 2 completetime: 2
materials: materials:
Steel: 100 RawIron: 100
- type: latheRecipe - type: latheRecipe
id: SheetSteel30 id: SheetSteel30
result: SheetSteel result: SheetSteel
completetime: 2 completetime: 2
materials: materials:
Steel: 3000 RawIron: 3000
Coal: 1000 Coal: 1000
- type: latheRecipe - type: latheRecipe
@@ -20,14 +20,14 @@
applyMaterialDiscount: false applyMaterialDiscount: false
completetime: 2 completetime: 2
materials: materials:
Glass: 100 RawQuartz: 100
- type: latheRecipe - type: latheRecipe
id: SheetGlass30 id: SheetGlass30
result: SheetGlass result: SheetGlass
completetime: 2 completetime: 2
materials: materials:
Glass: 3000 RawQuartz: 3000
- type: latheRecipe - type: latheRecipe
id: SheetRGlass id: SheetRGlass
@@ -68,56 +68,56 @@
result: SheetPlasma result: SheetPlasma
completetime: 2 completetime: 2
materials: materials:
Plasma: 3000 RawPlasma: 3000
- type: latheRecipe - type: latheRecipe
id: SheetUranium30 id: SheetUranium30
result: SheetUranium result: SheetUranium
completetime: 2 completetime: 2
materials: materials:
Uranium: 3000 RawUranium: 3000
- type: latheRecipe - type: latheRecipe
id: IngotGold30 id: IngotGold30
result: IngotGold result: IngotGold
completetime: 2 completetime: 2
materials: materials:
Gold: 3000 RawGold: 3000
- type: latheRecipe - type: latheRecipe
id: IngotSilver30 id: IngotSilver30
result: IngotSilver result: IngotSilver
completetime: 2 completetime: 2
materials: materials:
Silver: 3000 RawSilver: 3000
- type: latheRecipe - type: latheRecipe
id: MaterialBananium10 id: MaterialBananium10
result: MaterialBananium result: MaterialBananium
completetime: 2 completetime: 2
materials: materials:
Bananium: 3000 RawBananium: 3000
- type: latheRecipe - type: latheRecipe
id: SheetUranium1 id: SheetUranium1
result: SheetUranium1 result: SheetUranium1
completetime: 2 completetime: 2
materials: materials:
Uranium: 500 RawUranium: 500
- type: latheRecipe - type: latheRecipe
id: IngotGold1 id: IngotGold1
result: IngotGold1 result: IngotGold1
completetime: 2 completetime: 2
materials: materials:
Gold: 500 RawGold: 500
- type: latheRecipe - type: latheRecipe
id: IngotSilver1 id: IngotSilver1
result: IngotSilver1 result: IngotSilver1
completetime: 2 completetime: 2
materials: materials:
Silver: 500 RawSilver: 500
- type: latheRecipe - type: latheRecipe
id: SheetPlastic id: SheetPlastic
@@ -132,7 +132,7 @@
result: MaterialBananium1 result: MaterialBananium1
completetime: 2 completetime: 2
materials: materials:
Bananium: 500 RawBananium: 500
- type: latheRecipe - type: latheRecipe
id: MaterialSheetMeat id: MaterialSheetMeat

View File

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