Water floor antity (#168)

* add rivers and lake test generation

* add water animation
This commit is contained in:
Ed
2024-05-23 18:35:38 +03:00
committed by GitHub
parent 2e91620630
commit 907b41a4d1
11 changed files with 204 additions and 140 deletions

View File

@@ -45,14 +45,14 @@
collection: FootstepWater
params:
volume: 8
- type: SolutionContainerManager
solutions:
pool:
maxVol: 9999999 #.inf seems to break the whole yaml file, but would definitely be preferable.
reagents:
- ReagentId: CP14Water
Quantity: 9999999
- type: DrainableSolution
solution: pool
- type: Drink
solution: pool
#- type: SolutionContainerManager
# solutions:
# pool:
# maxVol: 9999999 #.inf seems to break the whole yaml file, but would definitely be preferable.
# reagents:
# - ReagentId: CP14Water
# Quantity: 9999999
#- type: DrainableSolution
# solution: pool
#- type: Drink
# solution: pool

View File

@@ -198,4 +198,68 @@
noise:
seed: 14
frequency: 0.02
fractalType: None
fractalType: None
# River start
- !type:BiomeTileLayer
tile: CP14FloorDirt
threshold: 0.93
noise:
seed: 3
noiseType: OpenSimplex2
frequency: 0.003
lacunarity: 1.50
gain: 0.12
fractalType: Ridged
octaves: 1
- !type:BiomeEntityLayer
allowedTiles:
- CP14FloorDirt
- CP14FloorSand
threshold: 0.93
noise:
seed: 3
noiseType: OpenSimplex2
frequency: 0.003
lacunarity: 1.50
gain: 0.12
fractalType: Ridged
octaves: 1
entities:
- CP14FloorWater
# River end
# Lakes start
- !type:BiomeTileLayer
tile: CP14FloorSand
threshold: 0.55
noise:
seed: 14
noiseType: OpenSimplex2
fractalType: FBm
frequency: 0.01
domainWarpType: OpenSimplex2
domainWarpAmp: 150
- !type:BiomeTileLayer
tile: CP14FloorDirt
threshold: 0.68
noise:
seed: 14
noiseType: OpenSimplex2
fractalType: FBm
frequency: 0.01
domainWarpType: OpenSimplex2
domainWarpAmp: 150
- !type:BiomeEntityLayer
allowedTiles:
- CP14FloorDirt
- CP14FloorSand
threshold: 0.6
noise:
seed: 14
noiseType: OpenSimplex2
fractalType: FBm
frequency: 0.01
domainWarpType: OpenSimplex2
domainWarpAmp: 150
entities:
- CP14FloorWater
# Lakes end