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

View File

@@ -15,28 +15,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -45,28 +45,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -75,28 +75,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -105,28 +105,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -135,28 +135,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -165,28 +165,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -195,28 +195,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
},
@@ -225,28 +225,28 @@
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
],
[
0.1,
0.1,
0.1,
0.1
0.25,
0.25,
0.25,
0.25
]
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 995 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 1.7 KiB