ice caves demiplane (#817)

* ice caves demiplane

* more things can spawn on snow

* Update base.yml

* fix guidebook quartz

* ice island demiplane

* xeno turret demiplane mobs
This commit is contained in:
Ed
2025-01-29 00:48:11 +03:00
committed by GitHub
parent 63e03ae7af
commit ad9813cace
23 changed files with 426 additions and 35 deletions

View File

@@ -1,3 +1,5 @@
cp14-demiplane-location-cave = Dark caves
cp14-demiplane-location-cave-grass = Overgrown caves
cp14-demiplane-location-grassland-island = Green Island
cp14-demiplane-location-grassland-island = Green Island
cp14-demiplane-location-ice-cave = Ice caves
cp14-demiplane-location-snow-island = Snowy island

View File

@@ -1,3 +1,5 @@
cp14-demiplane-location-cave = Темные пещеры
cp14-demiplane-location-cave-grass = Заросшие пещеры
cp14-demiplane-location-grassland-island = Зеленый остров
cp14-demiplane-location-grassland-island = Зеленый остров
cp14-demiplane-location-ice-cave = Ледяные пещеры
cp14-demiplane-location-snow-island = Заснеженный остров

View File

@@ -96,4 +96,31 @@
state: full
- state: frame
- type: CP14BiomeSpawner
biome: CP14SwampFill
biome: CP14SwampFill
- type: entity
id: CP14BiomeSpawnerFrozenSwamp
parent: CP14BaseBiomeSpawner
suffix: Frozen swamp
components:
- type: Sprite
layers:
- state: snow
- sprite: _CP14/Tiles/Water/water.rsi
state: full
- state: frame
- type: CP14BiomeSpawner
biome: CP14SnowlandSwamp
- type: entity
id: CP14BiomeSpawnerFrozenCave
parent: CP14BaseBiomeSpawner
suffix: Frozen cave
components:
- type: Sprite
layers:
- state: snow
color: blue
- state: frame
- type: CP14BiomeSpawner
biome: CP14IceCavesGeneric

View File

@@ -0,0 +1,29 @@
- type: entity
id: CP14XenoTurret
parent: WeaponTurretXeno
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/gib1.ogg
- !type:SpawnEntitiesBehavior
spawn:
CP14FoodEgg:
min: 1
max: 2
- !type:SpawnEntitiesBehavior
spawn:
CP14String:
min: 1
max: 2

View File

@@ -59,8 +59,8 @@
pitch: 0.5
variation: 0.03
- type: PointLight
radius: 2
energy: 2.5
radius: 4
energy: 1.5
- type: RandomSprite
available:
- random:
@@ -86,8 +86,8 @@
pitch: 1
variation: 0.03
- type: PointLight
radius: 1.5
energy: 2
radius: 2.5
energy: 1
- type: RandomSprite
available:
- random:
@@ -115,8 +115,8 @@
pitch: 1.5
variation: 0.03
- type: PointLight
radius: 1.1
energy: 2
radius: 1.5
energy: 0.5
- type: RandomSprite
available:
- random:

View File

@@ -655,11 +655,6 @@
- CP14CrystalSmallBase
- CP14CrystalDarknessBase
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_small.rsi
layers:
- state: small1
map: ["random"]
- type: Destructible
thresholds:
- trigger:
@@ -695,11 +690,6 @@
- CP14CrystalMediumBase
- CP14CrystalDarknessBase
components:
- type: Sprite
sprite: _CP14/Structures/Flora/Crystal/crystal_medium.rsi
layers:
- state: medium4
map: ["random"]
- type: Destructible
thresholds:
- trigger:

View File

@@ -0,0 +1,33 @@
- type: cp14DemiplaneLocation
id: T1IceCaves
tier: 1
locationConfig: CP14DemiplaneIceCaves
name: cp14-demiplane-location-ice-cave
tags:
- CP14DemiplaneOres
- CP14DemiplaneUnderground
- CP14DemiplaneCold
- type: dungeonConfig
id: CP14DemiplaneIceCaves
layers:
# Masks
- !type:PrototypeDunGen
proto: CP14DemiplanePlatingMaskBorder
- !type:PrototypeDunGen
proto: CP14DemiplaneCavesFloorMaskStone
- !type:PrototypeDunGen
proto: CP14DemiplaneCavesFloorMaskAir
# Biomes
- !type:BiomeDunGen
biomeTemplate: CP14CavesIndestructibleFill
tileMask:
- Plating
- !type:BiomeDunGen
biomeTemplate: CP14IceCavesGeneric
tileMask:
- CP14FloorSand
- !type:BiomeDunGen
biomeTemplate: CP14IceCavesFloor
tileMask:
- CP14FloorGrass

View File

@@ -0,0 +1,60 @@
- type: cp14DemiplaneLocation
id: T1SnowIsland
tier: 1
locationConfig: CP14DemiplaneSnowIsland
name: cp14-demiplane-location-snow-island
tags:
- CP14DemiplaneOres
- CP14DemiplaneOpenSky
- CP14DemiplanePeacefulAnimals
- CP14DemiplaneCold
components:
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: CP14MapFloorOccluder
- type: CP14MapDamage
- type: Parallax
parallax: CP14Ocean
- type: CP14CloudShadows
- type: dungeonConfig
id: CP14DemiplaneSnowIsland
layers:
# Masks
- !type:PrototypeDunGen
proto: CP14DemiplaneIslandFloorMaskSnow
- !type:PrototypeDunGen
proto: CP14DemiplaneGrasslandIslandFloorMaskGrass
- !type:PrototypeDunGen
proto: CP14DemiplaneGrasslandIslandFloorMaskStone
# Biomes
- !type:BiomeDunGen
biomeTemplate: CP14SnowlandSwamp
tileMask:
- CP14FloorSand
- !type:BiomeDunGen
biomeTemplate: CP14IceCavesGeneric
tileMask:
- CP14FloorBase
- !type:BiomeDunGen
biomeTemplate: CP14SnowlandTestResult
tileMask:
- CP14FloorGrass
- type: dungeonConfig
id: CP14DemiplaneIslandFloorMaskSnow
layers:
- !type:NoiseDistanceDunGen
size: 160, 160
distanceConfig: !type:DunGenEuclideanSquaredDistance
blendWeight: 0.7
layers:
- tile: CP14FloorSand
threshold: 0.50
noise:
frequency: 0.010
noiseType: OpenSimplex2
fractalType: FBm
octaves: 5
lacunarity: 2
gain: 0.5

View File

@@ -15,6 +15,9 @@
entity: CP14Chasm
tileMask:
- CP14FloorBase
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
count: 5
minGroupSize: 2
maxGroupSize: 5

View File

@@ -66,6 +66,19 @@
minGroupSize: 2
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: XenoTurret
tiers:
- 1
categories:
Danger: 0.3
layers:
- !type:OreDunGen
entity: CP14XenoTurret
count: 6
minGroupSize: 1
maxGroupSize: 1
# TIER 2
- type: cp14DemiplaneModifier
@@ -94,9 +107,23 @@
- CP14DemiplaneUnderground
layers:
- !type:OreDunGen
tileMask:
- CP14FloorBase
entity: CP14MobMonsterMole
count: 6
minGroupSize: 1
maxGroupSize: 2
- type: cp14DemiplaneModifier
id: EnemyIceSpectre
tiers:
- 2
name: cp14-modifier-zombie
categories:
Danger: 0.4
requiredTags:
- CP14DemiplaneCold
layers:
- !type:OreDunGen
entity: CP14MobIceSpectre
count: 6
minGroupSize: 1
maxGroupSize: 2

View File

@@ -40,7 +40,7 @@
MapLight: 1
components:
- type: MapLight
ambientLightColor: "#031f04"
ambientLightColor: "#000502"
- type: cp14DemiplaneModifier
id: MapLightDarkNight

View File

@@ -11,6 +11,8 @@
requiredTags: #TODO: Hot places
- CP14DemiplaneOres
- CP14DemiplaneUnderground
blacklistTags:
- CP14DemiplaneCold
layers:
- !type:OreDunGen
tileMask:
@@ -48,6 +50,9 @@
tileMask:
- CP14FloorBase
- CP14FloorSand
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalElectricSmall
count: 30
minGroupSize: 1
@@ -56,6 +61,9 @@
tileMask:
- CP14FloorBase
- CP14FloorSand
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalElectricMedium
count: 20
minGroupSize: 1
@@ -64,6 +72,9 @@
tileMask:
- CP14FloorBase
- CP14FloorSand
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalElectricBig
count: 10
minGroupSize: 1
@@ -86,6 +97,9 @@
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalElectricSmall
count: 30
minGroupSize: 1
@@ -95,6 +109,9 @@
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalElectricMedium
count: 20
minGroupSize: 1
@@ -104,6 +121,9 @@
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalElectricBig
count: 10
minGroupSize: 1
@@ -119,14 +139,16 @@
categories:
Reward: 0.1
requiredTags:
- CP14DemiplaneWater
#TODO Cold places filter
- CP14DemiplaneCold
layers:
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalWaterSmall
count: 30
minGroupSize: 1
@@ -136,6 +158,9 @@
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalWaterMedium
count: 20
minGroupSize: 1
@@ -145,6 +170,9 @@
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14CrystalElementalWaterBig
count: 10
minGroupSize: 1

View File

@@ -147,6 +147,9 @@
- CP14FloorGrassLight
- CP14FloorGrassTall
- CP14FloorBase
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entity: CP14GatherableLumiMushroom
count: 10
minGroupSize: 3

View File

@@ -63,6 +63,67 @@
max: 0
entries:
- visuals: CP14Storm
duration:
min: 10000
max: 10000
- type: cp14DemiplaneModifier
id: WeatherSnowLight
tiers:
- 1
- 2
categories:
Weather: 1
requiredTags:
- CP14DemiplaneCold
components:
- type: CP14WeatherController
clearDuration:
min: 0
max: 0
entries:
- visuals: CP14SnowLight
duration:
min: 10000
max: 10000
- type: cp14DemiplaneModifier
id: WeatherSnowMedium
tiers:
- 1
- 2
- 3
categories:
Weather: 1
requiredTags:
- CP14DemiplaneCold
components:
- type: CP14WeatherController
clearDuration:
min: 0
max: 0
entries:
- visuals: CP14SnowMedium
duration:
min: 10000
max: 10000
- type: cp14DemiplaneModifier
id: WeatherSnowHeavy
tiers:
- 2
- 3
categories:
Weather: 1
requiredTags:
- CP14DemiplaneCold
components:
- type: CP14WeatherController
clearDuration:
min: 0
max: 0
entries:
- visuals: CP14SnowHeavy
duration:
min: 10000
max: 10000

View File

@@ -20,6 +20,9 @@
- type: Tag
id: CP14DemiplaneWater
- type: Tag
id: CP14DemiplaneCold
#Cold

View File

@@ -0,0 +1,78 @@
- type: biomeTemplate
id: CP14IceCavesFloor
layers:
- !type:BiomeMetaLayer
template: CP14Snowland
- !type:BiomeTileLayer
tile: CP14FloorIce
threshold: 0.0
noise:
seed: 14
noiseType: OpenSimplex2
fractalType: FBm
frequency: 0.1
#Entity
- !type:BiomeEntityLayer
threshold: 0.4
noise:
seed: 1
noiseType: OpenSimplex2
fractalType: FBm
frequency: 2
allowedTiles:
- CP14FloorSnowDeepDeep
entities:
- CP14Snowdrift
- type: biomeTemplate
id: CP14IceCavesGeneric
layers:
- !type:BiomeMetaLayer
template: CP14IceCavesFloor
#Walls
- !type:BiomeEntityLayer
threshold: -0.5
invert: true
noise:
seed: 0
noiseType: Perlin
fractalType: Ridged
octaves: 1
frequency: 0.1
gain: 0.5
allowedTiles:
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entities:
- CP14WallSnow
- !type:BiomeEntityLayer
threshold: -0.2
invert: true
noise:
seed: 156
noiseType: Perlin
fractalType: Ridged
octaves: 1
frequency: 0.1
gain: 0.5
allowedTiles:
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entities:
- CP14WallStone
- !type:BiomeEntityLayer
threshold: -0.5
invert: true
noise:
seed: 0
noiseType: Perlin
fractalType: Ridged
octaves: 1
frequency: 0.1
gain: 0.5
allowedTiles:
- CP14FloorIce
entities:
- CP14WindowIceBlock

View File

@@ -69,9 +69,9 @@
- CP14FloraTreeSnow
#- CP14FloraTreeGreenLarge
# Подбиомы
# Subbiomes
# Лес
# Forest
- type: biomeTemplate
id: CP14SnowlandForest
@@ -93,7 +93,7 @@
- CP14FloraTreeSnow
#- CP14FloraTreeGreenLarge
# Холмы
# Hills
- type: biomeTemplate
id: CP14SnowlandHills # Холмы
@@ -123,6 +123,36 @@
entities:
- CP14WallSnow
# Frozen swamp
- type: biomeTemplate
id: CP14SnowlandSwamp
layers:
- !type:BiomeMetaLayer
template: CP14Snowland
- !type:BiomeTileLayer
tile: CP14FloorIce
threshold: 0.0
noise:
seed: 14
noiseType: OpenSimplex2
fractalType: FBm
frequency: 0.1
- !type:BiomeEntityLayer # More Trees
threshold: 0.2
noise:
seed: 4
noiseType: OpenSimplex2
fractalType: FBm
frequency: 2
allowedTiles:
- CP14FloorSnow
- CP14FloorSnowDeep
- CP14FloorSnowDeepDeep
entities:
- CP14FloraTreeSnow
#- CP14FloraTreeGreenLarge
- type: biomeTemplate
id: CP14SnowlandTestResult
layers:

View File

@@ -59,6 +59,7 @@
frequency: 0.02
entities:
- CP14FloorWater
#Lakes end
- !type:BiomeTileLayer
tile: CP14FloorGrassLight

View File

@@ -261,4 +261,23 @@
footstepSounds:
collection: FootstepSnow
heatCapacity: 10000
weather: true
- type: tile
id: CP14FloorIce
editorHidden: false
name: tiles-ice
sprite: /Textures/_CP14/Tiles/ice.png
variants: 4
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
baseTurf: CP14FloorBase
isSubfloor: false
heatCapacity: 10000
mobFriction: 0.5
mobFrictionNoInput: 0.05
mobAcceleration: 2
weather: true

View File

@@ -18,7 +18,7 @@ A large number of “raw” substances can be found in the world. The juices of
</Box>
<Box>
<GuideEntityEmbed Entity="CP14WildSage"/>
<GuideEntityEmbed Entity="CP14QuartzShard"/>
<GuideEntityEmbed Entity="CP14AirLily"/>
<GuideEntityEmbed Entity="CP14LumiMushroom"/>
</Box>

View File

@@ -18,7 +18,7 @@
</Box>
<Box>
<GuideEntityEmbed Entity="CP14WildSage"/>
<GuideEntityEmbed Entity="CP14QuartzShard"/>
<GuideEntityEmbed Entity="CP14AirLily"/>
<GuideEntityEmbed Entity="CP14LumiMushroom"/>
</Box>

View File

@@ -1,16 +1,11 @@
# Attempted to keep the files in alphabetical order so its easier to audit.
# Finding individual authors is an unfeasible task. If you can reference the author please do so.
- files: ["cave.png"]
- files: ["cave.png", "foundation.png", "ice.png"]
license: "CC-BY-SA-3.0"
copyright: "Space Station 14, recolored by TheShuEd"
source: "https://github.com/crystallpunk-14/crystall-punk-14/"
- files: ["foundation.png"]
license: "CC-BY-SA-3.0"
copyright: "by TheShuEd"
source: "https://github.com/crystallpunk-14/crystall-punk-14/"
- files: ["stonebricks.png", "stonebricks_small_carved_1.png", "stonebricks_small_carved_2.png", "stonebricks_square_carved.png"]
license: "All right reserved"
copyright: "Created by Jaraten"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB