Weather effects (#12528)

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2023-01-17 20:26:52 +11:00
committed by GitHub
parent 650c858d8a
commit 81a1c6d7de
37 changed files with 1267 additions and 0 deletions

View File

@@ -1106,6 +1106,7 @@
itemDrop: FloorTileItemSnow
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorGrass
@@ -1121,6 +1122,7 @@
itemDrop: FloorTileItemGrass
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorGrassJungle
@@ -1136,6 +1138,7 @@
itemDrop: FloorTileItemGrassJungle
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorGrassDark
@@ -1152,6 +1155,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorGrassLight
@@ -1168,6 +1172,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorDirt
@@ -1184,6 +1189,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
# Asteroid
- type: tile
@@ -1199,6 +1205,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidTile
@@ -1213,6 +1220,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidCoarseSand0
@@ -1229,6 +1237,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tileAlias
id: FloorAsteroidCoarseSand1
@@ -1251,6 +1260,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand1
@@ -1265,6 +1275,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand2
@@ -1279,6 +1290,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand3
@@ -1293,6 +1305,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
- type: tile
id: FloorAsteroidIronsand4
@@ -1307,6 +1320,7 @@
friction: 0.30
thermalConductivity: 0.04
heatCapacity: 10000
weather: true
# Caves
- type: tile

View File

@@ -0,0 +1,138 @@
- type: weather
id: Ashfall
sprite:
sprite: /Textures/Effects/weather.rsi
state: ashfall
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: AshfallLight
sprite:
sprite: /Textures/Effects/weather.rsi
state: ashfall_light
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: AshfallHeavy
sprite:
sprite: /Textures/Effects/weather.rsi
state: ashfall_heavy
sound:
path: /Audio/Effects/Weather/snowstorm.ogg
params:
loop: true
volume: -6
- type: weather
id: Fallout
sprite:
sprite: /Textures/Effects/weather.rsi
state: fallout
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: Hail
sprite:
sprite: /Textures/Effects/weather.rsi
state: hail
sound:
path:
/Audio/Effects/Weather/rain.ogg
params:
loop: true
volume: -6
- type: weather
id: Rain
sprite:
sprite: /Textures/Effects/weather.rsi
state: rain
sound:
collection: Rain
params:
loop: true
volume: -6
- type: soundCollection
id: Rain
files:
- /Audio/Effects/Weather/rain.ogg
- /Audio/Effects/Weather/rain2.ogg
- type: weather
id: Sandstorm
sprite:
sprite: /Textures/Effects/weather.rsi
state: sandstorm
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: SandstormHeavy
sprite:
sprite: /Textures/Effects/weather.rsi
state: sandstorm_heavy
sound:
path: /Audio/Effects/Weather/snowstorm.ogg
params:
loop: true
volume: -6
- type: weather
id: SnowfallLight
sprite:
sprite: /Textures/Effects/weather.rsi
state: snowfall_light
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: SnowfallMedium
sprite:
sprite: /Textures/Effects/weather.rsi
state: snowfall_med
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: SnowfallHeavy
sprite:
sprite: /Textures/Effects/weather.rsi
state: snowfall_heavy
sound:
path: /Audio/Effects/Weather/snowstorm.ogg
params:
loop: true
volume: -6
- type: weather
id: Storm
sprite:
sprite: /Textures/Effects/weather.rsi
state: storm
sound:
path: /Audio/Effects/Weather/rain_heavy.ogg
params:
loop: true
volume: -6