Demiplan polishing 2 (#528)

* wizden PR copy

* starter rooms

* grass geode location, new modifiers
This commit is contained in:
Ed
2024-11-02 00:59:55 +03:00
committed by GitHub
parent 3b520ac69c
commit 2b9d949eea
17 changed files with 2300 additions and 939 deletions

View File

@@ -1,13 +1,11 @@
- type: entity
id: BaseRoomMarker
name: Room marker
name: room spawner
parent: MarkerBase
suffix: Weh
components:
- type: RoomFill
size: 5,5
- type: Sprite
layers:
- state: red
- sprite: Mobs/Aliens/elemental.rsi
state: alive
state: alive

View File

@@ -3,6 +3,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 0,0
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -11,6 +12,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 6,0
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -19,6 +21,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 12,0
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -27,6 +30,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 18,0
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -35,6 +39,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 0,6
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -43,6 +48,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 6,6
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -51,6 +57,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 12,6
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -59,6 +66,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 18,6
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -67,6 +75,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 0,12
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -75,6 +84,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 6,12
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -83,6 +93,7 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 12,12
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -91,6 +102,25 @@
size: 5,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 18,12
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
- type: dungeonRoom
id: VGRoidInterior11x5a
size: 11,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 0,18
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
- type: dungeonRoom
id: VGRoidInterior11x5b
size: 11,5
atlas: /Maps/Dungeon/vgroidinterior.yml
offset: 12,18
ignoreTile: FloorShuttleOrange
tags:
- VGRoidInterior
@@ -102,4 +132,4 @@
- type: RoomFill
roomWhitelist:
tags:
- VGRoidInterior
- VGRoidInterior

View File

@@ -172,7 +172,7 @@
All: CP14GatherLumiMushroom
- type: entity
parent: BaseRock
parent: CP14BaseRock
id: CP14QuartzCrystal
name: quartz
description: Quartz is an essential mineral capable of interacting with magical energy. It is highly sought after by alchemists for extracting beneficial properties from liquids
@@ -216,26 +216,22 @@
CP14QuartzShard:
min: 1
max: 3
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.30
density: 60
mask:
- MachineMask
layer:
- MidImpassable
- LowImpassable
- BulletImpassable
- Opaque
- type: RandomSprite
available:
- random:
big: ""
medium: ""
small: ""
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.4
density: 500
layer:
- HalfWallLayer
- Opaque
# Blue amanita

View File

@@ -20,6 +20,13 @@
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFloorMaskAir
# Exterior rooms
# Enter and Exit
- !type:MobsDunGen
minCount: 1
maxCount: 1
groups:
- id: CP14DemiplanEnterRoomMarker
amount: 1
#here
# Biome Spawner fills (from border to center!) order is very important! For inexplicable reasons, only a certain sequence works!
- !type:PrototypeDunGen
@@ -28,13 +35,6 @@
proto: CP14ExpeditionCavesFillAir
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFillCave
# Enter and Exit
- !type:MobsDunGen
minCount: 1
maxCount: 2
groups:
- id: CP14DemiplaneEntryPointMarker
amount: 1
- !type:MobsDunGen
minCount: 2
maxCount: 2

View File

@@ -0,0 +1,142 @@
- type: cp14DemiplaneLocation
id: T1GrassGeode
locationConfig: CP14DemiplaneGrassGeode
tags:
- CP14DemiplanOre
- CP14DemiplanGrass
- CP14DemiplanUnderground
components:
- type: CP14WeatherController
entries:
- visuals: CP14Mist
- type: MapLight
ambientLightColor: "#020a1c"
- type: dungeonConfig
id: CP14DemiplaneGrassGeode
layers:
# Masks (from center to border!)
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskBorder
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskStone
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskAir
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFloorMaskWater
# Enter and Exit
- !type:MobsDunGen
minCount: 1
maxCount: 1
groups:
- id: CP14DemiplanEnterRoomMarker
amount: 1
# Biome Spawner fills (from border to center!) order is very important! For inexplicable reasons, only a certain sequence works!
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFillBorder
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFillGrass
- !type:PrototypeDunGen
proto: CP14ExpeditionCavesFillCave
- !type:PrototypeDunGen
proto: CP14DemiplaneGrassGeodeFillWater
- !type:MobsDunGen
minCount: 2
maxCount: 2
groups:
- id: CP14DemiplanePassway
amount: 1
- type: dungeonConfig
id: CP14DemiplaneGrassGeodeFloorMaskWater
layers:
- !type:NoiseDistanceDunGen
size: 80, 80
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 0.7
layers:
- tile: CP14FloorDirt
threshold: 0.70
noise:
frequency: 0.030
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5
- type: dungeonConfig
id: CP14DemiplaneGrassGeodeFloorMaskAir
layers:
- !type:NoiseDistanceDunGen
size: 80, 80
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 0.7
layers:
- tile: CP14FloorGrass
threshold: 0.50
noise:
frequency: 0.030
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5
- type: dungeonConfig
id: CP14DemiplaneGrassGeodeFloorMaskStone
layers:
- !type:NoiseDistanceDunGen
size: 120, 120
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 0.9
layers:
- tile: CP14FloorSand
threshold: 0.50
noise:
frequency: 0.010
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5
- type: dungeonConfig
id: CP14DemiplaneGrassGeodeFloorMaskBorder
layers:
- !type:NoiseDistanceDunGen
size: 130, 130
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 1
layers:
- tile: CP14FloorBase
threshold: 0.50
noise:
frequency: 0.010
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5
- type: dungeonConfig
id: CP14DemiplaneGrassGeodeFillGrass
reserveTiles: true
data:
entities:
Fill: CP14BiomeSpawnerGrassland
layers:
- !type:FillGridDunGen
allowedTiles:
- CP14FloorGrass
- type: dungeonConfig
id: CP14DemiplaneGrassGeodeFillWater
reserveTiles: true
data:
entities:
Fill: CP14FloorWater
layers:
- !type:FillGridDunGen
allowedTiles:
- CP14FloorDirt

View File

@@ -51,23 +51,23 @@
- !type:PrototypeDunGen
proto: CP14ExpeditionGrasslandIslandFloorMaskStone
# Exterior rooms
- !type:EntityTableDunGen
#- !type:EntityTableDunGen
# minCount: 1
# maxCount: 2
# table:
# id: CP14GrasslandIslandExteriorRoomSpawner
# Enter and Exit
- !type:MobsDunGen
minCount: 1
maxCount: 2
table:
id: CP14GrasslandIslandExteriorRoomSpawner
maxCount: 1
groups:
- id: CP14DemiplanEnterRoomMarker
amount: 1
# Biome Spawner fills (from border to center!) order is very important! For inexplicable reasons, only a certain sequence works!
- !type:PrototypeDunGen
proto: CP14ExpeditionGrasslandIslandFillGrassland
- !type:PrototypeDunGen
proto: CP14ExpeditionGrasslandIslandFillCave
# Enter and Exit
- !type:MobsDunGen
minCount: 1
maxCount: 2
groups:
- id: CP14DemiplaneEntryPointMarker
amount: 1
- !type:MobsDunGen
minCount: 2
maxCount: 2

View File

@@ -42,6 +42,102 @@
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: QuartzCrystalRubies
reward: 0.2
generationWeight: 0.2
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalRubiesMedium
count: 10
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: QuartzCrystalTopazes
reward: 0.2
generationWeight: 0.2
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalTopazesMedium
count: 10
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: QuartzCrystalEmeralds
reward: 0.2
generationWeight: 0.2
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalEmeraldsMedium
count: 10
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: QuartzCrystalSapphires
reward: 0.2
generationWeight: 0.2
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalSapphiresMedium
count: 10
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: QuartzCrystalAmethysts
reward: 0.2
generationWeight: 0.2
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalAmethystsMedium
count: 10
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: QuartzCrystalDiamonds
reward: 0.2
generationWeight: 0.2
requiredTags:
- CP14DemiplanOre
- CP14DemiplanUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14CrystalDiamondsMedium
count: 10
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: Dayflin
reward: 0.2
@@ -206,8 +302,8 @@
difficulty: 0.7
layers:
- !type:EntityTableDunGen
minCount: 5
maxCount: 10
minCount: 3
maxCount: 6
table: !type:GroupSelector
children:
- id: CP14MobPurpleSnake
@@ -224,4 +320,17 @@
maxCount: 5
groups:
- id: CP14MobWatcherMagmawing
amount: 1
amount: 1
- type: cp14DemiplaneModifier
id: Chasm
difficulty: 0.2
generationWeight: 0.6
layers:
- !type:OreDunGen
entity: CP14Chasm
tileMask:
- CP14FloorBase
count: 5
minGroupSize: 2
maxGroupSize: 5

View File

@@ -0,0 +1,50 @@
- type: Tag
id: CP14DemiplanEnterRoom
- type: entity
id: CP14DemiplanEnterRoomMarker
categories: [ ForkFiltered ]
parent: BaseRoomMarker
name: Demiplan enter room marker
components:
- type: RoomFill
roomWhitelist:
tags:
- CP14DemiplanEnterRoom
# 7x7
- type: dungeonRoom
id: CP14DemiplanEnterRoom_7x7_a
size: 7,7
atlas: /Maps/_CP14/Dungeon/demiplan_enter.yml
ignoreTile: FloorShuttlePurple
offset: 0,0
tags:
- CP14DemiplanEnterRoom
- type: dungeonRoom
id: CP14DemiplanEnterRoom_7x7_b
size: 7,7
atlas: /Maps/_CP14/Dungeon/demiplan_enter.yml
ignoreTile: FloorShuttlePurple
offset: 8,0
tags:
- CP14DemiplanEnterRoom
- type: dungeonRoom
id: CP14DemiplanEnterRoom_7x7_c
size: 7,7
atlas: /Maps/_CP14/Dungeon/demiplan_enter.yml
ignoreTile: FloorShuttlePurple
offset: 16,0
tags:
- CP14DemiplanEnterRoom
- type: dungeonRoom
id: CP14DemiplanEnterRoom_7x7_d
size: 7,7
atlas: /Maps/_CP14/Dungeon/demiplan_enter.yml
ignoreTile: FloorShuttlePurple
offset: 24,0
tags:
- CP14DemiplanEnterRoom