Demiplan modifiers (#526)

* simple modifiers

* modifier tag filtering

* Update CP14DemiplanSystem.Generation.cs

* Update rocks.yml

* move loot to modifier

* move enemies to modificators

* fix filtering

* modifier rariry

* reward and difficulty limits

* rebalance and optimize calculation

* Update test.yml

* wizden PR copy

* move all alchemy reagents to modifiers
This commit is contained in:
Ed
2024-11-01 18:08:57 +03:00
committed by GitHub
parent 7124eb5335
commit 3b520ac69c
19 changed files with 564 additions and 235 deletions

View File

@@ -14,7 +14,8 @@
- type: oreDunGen
id: OreIron
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockTin
count: 5
minGroupSize: 5
@@ -22,7 +23,8 @@
- type: oreDunGen
id: OreQuartz
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockQuartz
count: 5
minGroupSize: 5
@@ -30,7 +32,8 @@
- type: oreDunGen
id: OreCoal
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockCoal
count: 3
minGroupSize: 5
@@ -38,7 +41,8 @@
- type: oreDunGen
id: OreSalt
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockSalt
count: 3
minGroupSize: 5
@@ -46,7 +50,8 @@
- type: oreDunGen
id: OreGold
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockGold
count: 4
minGroupSize: 5
@@ -54,7 +59,8 @@
- type: oreDunGen
id: OreSilver
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockSilver
count: 4
minGroupSize: 5
@@ -62,7 +68,8 @@
- type: oreDunGen
id: OrePlasma
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockPlasma
count: 4
minGroupSize: 5
@@ -70,7 +77,8 @@
- type: oreDunGen
id: OreUranium
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockUranium
count: 4
minGroupSize: 5
@@ -78,7 +86,8 @@
- type: oreDunGen
id: OreBananium
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockBananium
count: 6
minGroupSize: 3
@@ -86,10 +95,10 @@
- type: oreDunGen
id: OreArtifactFragment
replacement: AsteroidRock
entityMask:
- AsteroidRock
entity: AsteroidRockArtifactFragment
count: 5
minGroupSize: 1
maxGroupSize: 2

View File

@@ -28,65 +28,111 @@
proto: VGRoidFill
# Ores
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockIron
count: 50
minGroupSize: 10
maxGroupSize: 15
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockCoal
count: 50
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockQuartz
count: 50
minGroupSize: 10
maxGroupSize: 15
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockSalt
count: 50
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockGold
count: 40
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockSilver
count: 40
minGroupSize: 8
maxGroupSize: 12
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockPlasma
count: 35
minGroupSize: 4
maxGroupSize: 8
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockUranium
count: 35
minGroupSize: 4
maxGroupSize: 8
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockArtifactFragment
count: 25
minGroupSize: 1
maxGroupSize: 3
- !type:OreDunGen
replacement: IronRock
entityMask:
- IronRock
entity: IronRockDiamond
count: 15
minGroupSize: 1
maxGroupSize: 2
# Decoration
- !type:OreDunGen
tileMask:
- FloorAsteroidSand
entity: CrystalGreen
count: 10
minGroupSize: 3
maxGroupSize: 5
- !type:OreDunGen
tileMask:
- FloorAsteroidSand
entity: CrystalPink
count: 10
minGroupSize: 3
maxGroupSize: 5
- !type:OreDunGen
tileMask:
- FloorAsteroidSand
entity: CrystalOrange
count: 10
minGroupSize: 3
maxGroupSize: 5
- !type:OreDunGen
tileMask:
- FloorAsteroidSand
entity: CrystalBlue
count: 10
minGroupSize: 3
maxGroupSize: 5
- !type:OreDunGen
tileMask:
- FloorAsteroidSand
entity: CrystalCyan
count: 10
minGroupSize: 3
maxGroupSize: 5
# Configs
- type: dungeonConfig
@@ -225,4 +271,4 @@
layers:
- !type:FillGridDunGen
allowedTiles:
- FloorAsteroidSand
- FloorAsteroidSand