New year preparation (#674)

* garland

* presents filter

* vladimirs weather

* snowed tilebrick
This commit is contained in:
Ed
2024-12-14 01:01:36 +03:00
committed by GitHub
parent 4cea96f6eb
commit d7d0977eb6
21 changed files with 237 additions and 1 deletions

View File

@@ -96,6 +96,46 @@
graph: CP14WallDirt
node: WallDirt
- type: entity
id: CP14WallSnow
name: snow wall
parent: CP14BaseWall
description: A tall pile of snow. Can a house be built from it?
components:
- type: Sprite
sprite: _CP14/Structures/Walls/Natural/snow_wall.rsi
- type: Icon
sprite: _CP14/Structures/Walls/Natural/snow_wall.rsi
- type: IconSmooth
base: wall
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: Rock
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/break_stone.ogg #TODO
params:
volume: -6
#- !type:SpawnEntitiesBehavior
# spawn:
# CP14DirtBlock1:
# min: 2
# max: 3
- !type:DoActsBehavior
acts: ["Destruction"]
- type: entity
id: CP14WallStoneCopperOre
suffix: copper ore

View File

@@ -60,6 +60,39 @@
heatCapacity: 10000
weather: true
- type: tile
editorHidden: false
id: CP14FloorStonebricksSnowed
name: cp14-tiles-stonebricks
sprite: /Textures/_CP14/Tiles/Stonebricks/snowstonebricks.png
variants: 9
placementVariants:
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
- 1.0
edgeSpritePriority: 101
edgeSprites:
SouthEast: /Textures/_CP14/Tiles/Stonebricks/single_edge_SE.png
NorthEast: /Textures/_CP14/Tiles/Stonebricks/single_edge_NE.png
NorthWest: /Textures/_CP14/Tiles/Stonebricks/single_edge_NW.png
SouthWest: /Textures/_CP14/Tiles/Stonebricks/single_edge_SW.png
South: /Textures/_CP14/Tiles/Stonebricks/double_edge_S.png
East: /Textures/_CP14/Tiles/Stonebricks/double_edge_E.png
North: /Textures/_CP14/Tiles/Stonebricks/double_edge_N.png
West: /Textures/_CP14/Tiles/Stonebricks/double_edge_W.png
baseTurf: CP14FloorFoundation
isSubfloor: false
footstepSounds:
collection: FootstepAsteroid
heatCapacity: 10000
weather: true
- type: tile
editorHidden: false
id: CP14FloorStonebricksSmallCarved1

View File

@@ -28,3 +28,36 @@
sprite:
sprite: /Textures/_CP14/Effects/parallax.rsi
state: noise
- type: weather
id: CP14SnowLight
sprite:
sprite: /Textures/_CP14/Effects/weather.rsi
state: snowfall_light
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: CP14SnowMedium
sprite:
sprite: /Textures/_CP14/Effects/weather.rsi
state: snowfall_med
sound:
path: /Audio/Effects/Weather/snowstorm_weak.ogg
params:
loop: true
volume: -6
- type: weather
id: CP14SnowHeavy
sprite:
sprite: /Textures/_CP14/Effects/weather.rsi
state: snowfall_heavy
sound:
path: /Audio/Effects/Weather/snowstorm.ogg
params:
loop: true
volume: -6