Demiplan polishing v4 (#530)

* Wizden PR copy

* sync

* Update DungeonJob.PostGenBiome.cs

* Update DungeonJob.PostGenBiome.cs

* some rebalance

* required exits and enters!

* room fill fix

* snakes nerf

* enable En-US localization for playtest

* guidebook update

* hotfix!!!

* anchoring deletion

* trying fix caves

* Update RoomFillSystem.cs

* disable locations for test

* Update CP14SpawnRandomDemiplaneJob.cs

* Update required_layers.yml

* Revert "Update required_layers.yml"

This reverts commit 2dd33db282.

* finally

* Update ContentLocalizationManager.cs

* Update spawners.yml

* Update test.yml

* fix
This commit is contained in:
Ed
2024-11-03 14:40:21 +03:00
committed by GitHub
parent 51f4ec84d5
commit 53df2848c4
13 changed files with 196 additions and 148 deletions

View File

@@ -4,7 +4,7 @@
description: You touch the creature, healing its body from physical damage
components:
- type: CP14MagicEffect
manaCost: 15
manaCost: 20
telegraphyEffects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
@@ -21,8 +21,16 @@
Slash: -10
Blunt: -10
Piercing: -10
Poison: -10
Caustic: -10
Cold: -10
Heat: -10
Shock: -10
Asphyxiation: -50
Bloodloss: -10
- !type:Jitter
- !type:ModifyBleedAmount
- !type:ModifyBloodLevel
- type: CP14MagicEffectVerbalAspect
startSpeech: "Et curabuntur..."
endSpeech: "vulnera tua"

View File

@@ -22,7 +22,6 @@
- !type:GroupSelector
weight: 75
children:
- id: CP14Wallet
- !type:GroupSelector
children:
- id: CP14SilverCoin1
@@ -33,7 +32,6 @@
weight: 0.5
- id: CP14CopperCoin1
weight: 1
- id: CP14Wheat
- !type:GroupSelector
children:
- id: CP14DyeRed
@@ -42,23 +40,6 @@
- id: CP14DyeGreen
- id: CP14DyePurple
- id: CP14DyeBlack
- !type:GroupSelector
children:
- id: CP14SeedWheat
- id: CP14SeedPumpkin
- id: CP14SeedCabbage
- id: CP14SeedCucumber
- id: CP14SeedTomato
- !type:GroupSelector
children:
- id: CP14BloodFlower
- id: CP14AgaricMushroom
- id: CP14WildSage
- id: CP14QuartzShard
- id: CP14BlueAmanita
- id: CP14Dayflin
- id: CP14CopperBar1
- id: CP14IronBar1
- id: CP14EnergyCrystalSmall
- id: CP14Bucket
- id: CP14OldLantern
@@ -84,9 +65,45 @@
- id: CP14ChromiumSlime
- id: CP14LumiMushroom
- id: CP14SilverCoin5
- id: CP14GoldBar1
- id: CP14EnergyCrystalMedium
- id: CP14DemiplanKey
# remove this when players can create their own magic items
- !type:GroupSelector
children:
- id: CP14ClothingRingIceDagger
- id: CP14ClothingRingIceShards
- id: CP14ClothingRingFlameCreation
- id: CP14ClothingRingFireball
- id: CP14ClothingRingCureWounds
- id: CP14ClothingRingShadowStep
- id: CP14ClothingRingShadowGrab
- id: CP14ClothingRingEarthWall
- id: CP14ClothingRingIceFloor
- id: CP14ClothingRingSphereOfLight
- id: CP14ClothingRingFlashLight
- !type:GroupSelector
children:
- id: CP14ClothingCloakArmoredRed
- id: CP14ClothingCloakBlacksmithArpon
- id: CP14ClothingCloakMaidArpon
- id: CP14ClothingCloakBrassArmor
- id: CP14ClothingCloakCuirass
- id: CP14ClothingCloakInfantryCuirass
- id: CP14ClothingCloakCuirassLoincloth
- id: CP14ClothingCloakCuirassLeg
- id: CP14ClothingHeadCapellina
- !type:GroupSelector
children:
- id: CP14ClothingCloakFurcapeBlack
- id: CP14ClothingCloakFurcapeBlue
- id: CP14ClothingCloakSimpleWhite
- id: CP14ClothingCloakSimpleDarkBlue
- id: CP14ClothingCloakRitualAttireLeather
- id: CP14ClothingHeadBeretMercenary
- id: CP14ClothingPantsMercenaryTrousers
- id: CP14ClothingPantsSouthernMagician
- id: CP14ClothingShirtMercenary
- id: CP14ClothingShirtYellowWizard
- type: entityTable
id: CP14TableBureaucracy

View File

@@ -0,0 +1,17 @@
- type: dungeonConfig
id: CP14DemiplanePlatingMaskBorder
layers:
- !type:NoiseDistanceDunGen
size: 140, 140
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 1
layers:
- tile: Plating
threshold: 0.50
noise:
frequency: 0.010
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5

View File

@@ -1,27 +1,29 @@
- type: cp14DemiplaneLocation
id: T1Caves
locationConfig: CP14ExpeditionCaves
locationConfig: CP14DemiplaneCaves
tags:
- CP14DemiplanOre
- CP14DemiplanUnderground
- CP14DemiplaneCave
- CP14DemiplaneUnderground
components:
- type: CP14WeatherController
entries:
- visuals: CP14Mist
- type: dungeonConfig
id: CP14ExpeditionCaves
id: CP14DemiplaneCaves
layers:
# Masks
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFloorMaskBorder
proto: CP14DemiplanePlatingMaskBorder
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFloorMaskStone
proto: CP14DemiplaneCavesFloorMaskStone
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFloorMaskAir
proto: CP14DemiplaneCavesFloorMaskAir
# Biomes
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFillBorder
- !type:BiomeDunGen
biomeTemplate: CP14CavesIndestructibleFill
tileMask:
- Plating
- !type:BiomeDunGen
biomeTemplate: CP14CavesGeneric
tileMask:
@@ -32,25 +34,7 @@
- CP14FloorGrass
- type: dungeonConfig
id: CP14ExpeditionCavesFloorMaskAir
layers:
- !type:NoiseDistanceDunGen
size: 80, 80
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 0.5
layers:
- tile: CP14FloorGrass
threshold: 0.50
noise:
frequency: 0.030
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5
- type: dungeonConfig
id: CP14ExpeditionCavesFloorMaskStone
id: CP14DemiplaneCavesFloorMaskStone
layers:
- !type:NoiseDistanceDunGen
size: 120, 120
@@ -68,30 +52,19 @@
gain: 0.5
- type: dungeonConfig
id: CP14ExpeditionCavesFloorMaskBorder
id: CP14DemiplaneCavesFloorMaskAir
layers:
- !type:NoiseDistanceDunGen
size: 130, 130
size: 80, 80
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 1
blendWeight: 0.5
layers:
- tile: CP14FloorBase
- tile: CP14FloorGrass
threshold: 0.50
noise:
frequency: 0.010
frequency: 0.030
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5
- type: dungeonConfig
id: CP14ExpeditionCavesFillBorder
reserveTiles: true
data:
entities:
Fill: CP14WallStoneIndestructable
layers:
- !type:FillGridDunGen
allowedTiles:
- CP14FloorBase
gain: 0.5

View File

@@ -2,9 +2,9 @@
id: T1GrassGeode
locationConfig: CP14DemiplaneGrassGeode
tags:
- CP14DemiplanOre
- CP14DemiplanGrass
- CP14DemiplanUnderground
- CP14DemiplaneCave
- CP14DemiplaneGrass
- CP14DemiplaneUnderground
components:
- type: CP14WeatherController
entries:
@@ -17,7 +17,7 @@
layers:
# Masks
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskBorder
proto: CP14DemiplanePlatingMaskBorder
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskStone
- !type:PrototypeDunGen
@@ -25,8 +25,10 @@
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskWater
# Biomes
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFillBorder
- !type:BiomeDunGen
biomeTemplate: CP14CavesIndestructibleFill
tileMask:
- Plating
- !type:BiomeDunGen
biomeTemplate: CP14GrasslandTestResult
tileMask:

View File

@@ -2,9 +2,9 @@
id: T1GrasslandIsland
locationConfig: CP14ExpeditionGrasslandIsland
tags:
- CP14DemiplanOre
- CP14DemiplanOpenSky
- CP14DemiplanGrass
- CP14DemiplaneCave
- CP14DemiplaneOpenSky
- CP14DemiplaneGrass
components:
- type: MapLight
ambientLightColor: "#BFEEFFFF"

View File

@@ -3,7 +3,7 @@
unique: false
reward: 0.5
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
entityMask:
@@ -18,7 +18,7 @@
unique: false
reward: 0.4
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
entityMask:
@@ -32,7 +32,7 @@
id: QuartzCrystal
reward: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
tileMask:
@@ -47,8 +47,8 @@
reward: 0.2
generationWeight: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
- CP14DemiplaneCave
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
@@ -63,7 +63,7 @@
reward: 0.2
generationWeight: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
tileMask:
@@ -79,7 +79,7 @@
reward: 0.2
generationWeight: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
tileMask:
@@ -97,7 +97,7 @@
reward: 0.2
generationWeight: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
tileMask:
@@ -115,8 +115,8 @@
reward: 0.2
generationWeight: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
- CP14DemiplaneCave
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
@@ -131,8 +131,8 @@
reward: 0.2
generationWeight: 0.1
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
- CP14DemiplaneCave
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
@@ -147,8 +147,8 @@
id: Dayflin
reward: 0.2
requiredTags:
- CP14DemiplanGrass
- CP14DemiplanOpenSky
- CP14DemiplaneGrass
- CP14DemiplaneOpenSky
layers:
- !type:OreDunGen
tileMask:
@@ -164,7 +164,7 @@
id: BlueAmanita
reward: 0.2
requiredTags:
- CP14DemiplanGrass
- CP14DemiplaneGrass
layers:
- !type:OreDunGen
tileMask:
@@ -180,7 +180,7 @@
id: BloodFlower
reward: 0.2
requiredTags:
- CP14DemiplanGrass
- CP14DemiplaneGrass
layers:
- !type:OreDunGen
tileMask:
@@ -196,8 +196,8 @@
id: WildSage
reward: 0.2
requiredTags:
- CP14DemiplanGrass
- CP14DemiplanOpenSky
- CP14DemiplaneGrass
- CP14DemiplaneOpenSky
layers:
- !type:OreDunGen
tileMask:
@@ -213,7 +213,7 @@
id: LumiShroom
reward: 0.2
requiredTags:
- CP14DemiplanUnderground
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
@@ -231,7 +231,7 @@
unique: false
reward: 0.3
requiredTags:
- CP14DemiplanOre
- CP14DemiplaneCave
layers:
- !type:OreDunGen
entityMask:
@@ -268,11 +268,11 @@
id: EnemyXeno
difficulty: 0.5
requiredTags:
- CP14DemiplanUnderground
- CP14DemiplaneUnderground
layers:
- !type:MobsDunGen
minCount: 5
maxCount: 8
minCount: 2
maxCount: 3
groups:
- id: CP14MobXenoDrone
amount: 1
@@ -294,7 +294,7 @@
id: EnemyDyno
difficulty: 0.5
requiredTags:
- CP14DemiplanOpenSky
- CP14DemiplaneOpenSky
layers:
- !type:MobsDunGen
minCount: 3
@@ -308,8 +308,8 @@
difficulty: 0.7
layers:
- !type:MobsDunGen
minCount: 3
maxCount: 6
minCount: 1
maxCount: 2
groups:
- id: CP14MobPurpleSnake
amount: 1

View File

@@ -1,11 +1,11 @@
- type: Tag
id: CP14DemiplanOre
id: CP14DemiplaneCave
- type: Tag
id: CP14DemiplanGrass
id: CP14DemiplaneGrass
- type: Tag
id: CP14DemiplanOpenSky
id: CP14DemiplaneOpenSky
- type: Tag
id: CP14DemiplanUnderground
id: CP14DemiplaneUnderground

View File

@@ -5,6 +5,19 @@
threshold: -1.0
tile: CP14FloorBase
- type: biomeTemplate
id: CP14CavesIndestructibleFill
layers:
- !type:BiomeTileLayer
threshold: -1.0
tile: CP14FloorBase
- !type:BiomeEntityLayer
threshold: -1
allowedTiles:
- CP14FloorBase
entities:
- CP14WallStoneIndestructable
- type: biomeTemplate
id: CP14CavesFloor
layers: