Mining Rebalance (#30920)

* first pass

* this shit too

* ok fix that shit

* buff

* actually fix that
This commit is contained in:
Nemanja
2024-08-15 21:43:54 -04:00
committed by GitHub
parent 921ed4ec5d
commit 3cdd62b0dd
22 changed files with 233 additions and 167 deletions

View File

@@ -48,7 +48,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawGold: 500
RawGold: 100
- type: Extractable
grindableSolutionName: goldore
- type: SolutionContainerManager
@@ -79,7 +79,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawDiamond: 500
RawDiamond: 100
- type: Extractable
grindableSolutionName: diamondore
- type: SolutionContainerManager
@@ -110,7 +110,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawIron: 500
RawIron: 100
- type: Extractable
grindableSolutionName: ironore
- type: SolutionContainerManager
@@ -141,7 +141,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawPlasma: 500
RawPlasma: 100
- type: PointLight
radius: 1.2
energy: 0.6
@@ -177,7 +177,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawSilver: 500
RawSilver: 100
- type: Extractable
grindableSolutionName: silverore
- type: SolutionContainerManager
@@ -208,7 +208,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawQuartz: 500
RawQuartz: 100
- type: Extractable
grindableSolutionName: quartzore
- type: SolutionContainerManager
@@ -239,7 +239,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawUranium: 500
RawUranium: 100
- type: PointLight
radius: 1.2
energy: 0.8
@@ -278,7 +278,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawBananium: 500
RawBananium: 100
- type: PointLight
radius: 1.2
energy: 1
@@ -334,7 +334,7 @@
Quantity: 0.1
- type: PhysicalComposition
materialComposition:
Coal: 500
Coal: 100
- type: entity
parent: Coal
@@ -357,7 +357,7 @@
- type: Material
- type: PhysicalComposition
materialComposition:
RawSalt: 500
RawSalt: 100
- type: Extractable
grindableSolutionName: saltore
- type: SolutionContainerManager
@@ -375,4 +375,4 @@
suffix: Single
components:
- type: Stack
count: 1
count: 1

View File

@@ -1,24 +1,10 @@
- type: weightedRandom
id: AsteroidOre
weights:
OreIron: 1.0
OreQuartz: 1.0
OreCoal: 1.0
OreSalt: 1.0
OreGold: 0.25
OreDiamond: 0.05
OreSilver: 0.25
OrePlasma: 0.15
OreUranium: 0.15
OreArtifactFragment: 0.15
# Large asteroids, typically 1
- type: dungeonConfig
id: BlobAsteroid
# Floor generation
layers:
- !type:NoiseDunGen
tileCap: 1500
tileCap: 1000
capStd: 32
iterations: 3
layers:
@@ -35,10 +21,6 @@
- !type:BiomeDunGen
biomeTemplate: Asteroid
# Generate ore veins
- !type:BiomeMarkerLayerDunGen
markerTemplate: AsteroidOre
# Multiple smaller asteroids
# This is a pain so we generate fewer tiles
- type: dungeonConfig
@@ -46,7 +28,7 @@
# Floor generation
layers:
- !type:NoiseDunGen
tileCap: 1000
tileCap: 750
capStd: 32
layers:
- tile: FloorAsteroidSand
@@ -62,17 +44,13 @@
- !type:BiomeDunGen
biomeTemplate: Asteroid
# Generate ore veins
- !type:BiomeMarkerLayerDunGen
markerTemplate: AsteroidOre
# Long and spindly, less smooth than blob
- type: dungeonConfig
id: SpindlyAsteroid
# Floor generation
layers:
- !type:NoiseDunGen
tileCap: 1500
tileCap: 1000
capStd: 32
layers:
- tile: FloorAsteroidSand
@@ -89,17 +67,13 @@
- !type:BiomeDunGen
biomeTemplate: Asteroid
# Generate ore veins
- !type:BiomeMarkerLayerDunGen
markerTemplate: AsteroidOre
# Lots of holes in it
- type: dungeonConfig
id: SwissCheeseAsteroid
# Floor generation
layers:
- !type:NoiseDunGen
tileCap: 1500
tileCap: 1000
capStd: 32
layers:
- tile: FloorAsteroidSand
@@ -114,7 +88,3 @@
# Generate biome
- !type:BiomeDunGen
biomeTemplate: Asteroid
# Generate ore veins
- !type:BiomeMarkerLayerDunGen
markerTemplate: AsteroidOre

View File

@@ -0,0 +1,95 @@
- type: weightedRandom
id: AsteroidOre
weights:
OreIron: 1.0
OreQuartz: 1.0
OreCoal: 0.33
OreSalt: 0.25
OreGold: 0.25
OreSilver: 0.25
OrePlasma: 0.15
OreUranium: 0.15
OreArtifactFragment: 0.10
OreBananium: 0.10
- type: oreDunGen
id: OreIron
replacement: AsteroidRock
entity: AsteroidRockTin
count: 5
minGroupSize: 5
maxGroupSize: 7
- type: oreDunGen
id: OreQuartz
replacement: AsteroidRock
entity: AsteroidRockQuartz
count: 5
minGroupSize: 5
maxGroupSize: 7
- type: oreDunGen
id: OreCoal
replacement: AsteroidRock
entity: AsteroidRockCoal
count: 3
minGroupSize: 5
maxGroupSize: 7
- type: oreDunGen
id: OreSalt
replacement: AsteroidRock
entity: AsteroidRockSalt
count: 3
minGroupSize: 5
maxGroupSize: 7
- type: oreDunGen
id: OreGold
replacement: AsteroidRock
entity: AsteroidRockGold
count: 4
minGroupSize: 4
maxGroupSize: 6
- type: oreDunGen
id: OreSilver
replacement: AsteroidRock
entity: AsteroidRockSilver
count: 4
minGroupSize: 4
maxGroupSize: 6
- type: oreDunGen
id: OrePlasma
replacement: AsteroidRock
entity: AsteroidRockPlasma
count: 4
minGroupSize: 3
maxGroupSize: 6
- type: oreDunGen
id: OreUranium
replacement: AsteroidRock
entity: AsteroidRockUranium
count: 4
minGroupSize: 3
maxGroupSize: 6
- type: oreDunGen
id: OreBananium
replacement: AsteroidRock
entity: AsteroidRockBananium
count: 6
minGroupSize: 3
maxGroupSize: 6
- type: oreDunGen
id: OreArtifactFragment
replacement: AsteroidRock
entity: AsteroidRockArtifactFragment
count: 5
minGroupSize: 1
maxGroupSize: 2

View File

@@ -10,7 +10,7 @@
WallRockSnow: WallRockSnowTin
maxCount: 30
minGroupSize: 10
maxGroupSize: 20
maxGroupSize: 15
radius: 4
- type: biomeMarkerLayer
@@ -23,7 +23,7 @@
WallRockSnow: WallRockSnowQuartz
maxCount: 30
minGroupSize: 10
maxGroupSize: 20
maxGroupSize: 15
radius: 4
- type: biomeMarkerLayer
@@ -36,8 +36,8 @@
WallRockSand: WallRockSandCoal
WallRockSnow: WallRockSnowCoal
maxCount: 30
minGroupSize: 10
maxGroupSize: 20
minGroupSize: 8
maxGroupSize: 12
radius: 4
- type: biomeMarkerLayer
@@ -50,8 +50,8 @@
WallRockSand: WallRockSandSalt
WallRockSnow: WallRockSnowSalt
maxCount: 30
minGroupSize: 10
maxGroupSize: 20
minGroupSize: 8
maxGroupSize: 12
radius: 4
# Medium value
@@ -65,7 +65,7 @@
WallRockChromite: WallRockChromiteGold
WallRockSand: WallRockSandGold
WallRockSnow: WallRockSnowGold
maxCount: 30
maxCount: 20
minGroupSize: 5
maxGroupSize: 10
radius: 4
@@ -80,7 +80,7 @@
WallRockChromite: WallRockChromiteSilver
WallRockSand: WallRockSandSilver
WallRockSnow: WallRockSnowSilver
maxCount: 30
maxCount: 20
minGroupSize: 5
maxGroupSize: 10
radius: 4
@@ -97,8 +97,8 @@
WallRockSand: WallRockSandPlasma
WallRockSnow: WallRockSnowPlasma
maxCount: 12
minGroupSize: 5
maxGroupSize: 10
minGroupSize: 4
maxGroupSize: 8
radius: 4
# Uranium
@@ -111,23 +111,9 @@
WallRockChromite: WallRockChromiteUranium
WallRockSand: WallRockSandUranium
WallRockSnow: WallRockSnowUranium
maxCount: 12
minGroupSize: 5
maxGroupSize: 10
radius: 4
- type: biomeMarkerLayer
id: OreBananium
entityMask:
AsteroidRock: AsteroidRockBananium
WallRock: WallRockBananium
WallRockBasalt: WallRockBasaltBananium
WallRockChromite: WallRockChromiteBananium
WallRockSand: WallRockSandBananium
WallRockSnow: WallRockSnowBananium
maxCount: 12
minGroupSize: 5
maxGroupSize: 10
maxCount: 15
minGroupSize: 4
maxGroupSize: 8
radius: 4
- type: biomeMarkerLayer

View File

@@ -171,13 +171,6 @@
- !type:BiomeMarkerLoot
proto: OreUranium
- type: salvageLoot
id: OreBananium
guaranteed: true
loots:
- !type:BiomeMarkerLoot
proto: OreBananium
- type: salvageLoot
id: OreDiamond
guaranteed: true

View File

@@ -26,62 +26,56 @@
replacement: IronRock
entity: IronRockIron
count: 50
minGroupSize: 20
maxGroupSize: 30
minGroupSize: 10
maxGroupSize: 15
- !type:OreDunGen
replacement: IronRock
entity: IronRockCoal
count: 50
minGroupSize: 20
maxGroupSize: 30
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entity: IronRockQuartz
count: 50
minGroupSize: 20
maxGroupSize: 30
minGroupSize: 10
maxGroupSize: 15
- !type:OreDunGen
replacement: IronRock
entity: IronRockSalt
count: 50
minGroupSize: 20
maxGroupSize: 30
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entity: IronRockGold
count: 50
minGroupSize: 10
maxGroupSize: 20
count: 40
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entity: IronRockSilver
count: 50
minGroupSize: 10
maxGroupSize: 20
count: 40
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entity: IronRockPlasma
count: 50
minGroupSize: 10
maxGroupSize: 20
count: 35
minGroupSize: 4
maxGroupSize: 8
- !type:OreDunGen
replacement: IronRock
entity: IronRockUranium
count: 50
minGroupSize: 10
maxGroupSize: 20
- !type:OreDunGen
replacement: IronRock
entity: IronRockBananium
count: 50
minGroupSize: 10
maxGroupSize: 20
count: 35
minGroupSize: 4
maxGroupSize: 8
- !type:OreDunGen
replacement: IronRock
entity: IronRockArtifactFragment
count: 50
minGroupSize: 2
maxGroupSize: 4
count: 25
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
replacement: IronRock
entity: IronRockDiamond

View File

@@ -56,7 +56,7 @@
id: OreBananium
oreEntity: BananiumOre1
minOreYield: 1
maxOreYield: 3
maxOreYield: 2
- type: ore
id: OreDiamond
@@ -83,8 +83,8 @@
- type: ore
id: OreArtifactFragment
oreEntity: ArtifactFragment1
minOreYield: 2
maxOreYield: 4
minOreYield: 1
maxOreYield: 3
- type: weightedRandomOre
id: RandomOreDistributionStandard