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

View File

@@ -1,6 +1,6 @@
{
"version": 1,
"copyright": "Taken from https://github.com/Citadel-Station-13/Citadel-Station-13-RP/tree/5781addfa1193c2811408f64d15176139395d670 and edited by vladimir.s (Discord)",
"copyright": "Taken from https://github.com/Citadel-Station-13/Citadel-Station-13-RP/tree/5781addfa1193c2811408f64d15176139395d670 and edited by vladimir.s (Discord). Snowfalls by vladimir.s",
"license": "CC-BY-SA-3.0",
"size": {
"x": 32,
@@ -44,6 +44,63 @@
0.03
]
]
},
{
"name": "snowfall_light",
"delays": [
[
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11,
0.11
]
]
},
{
"name": "snowfall_med",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "snowfall_heavy",
"delays": [
[
0.08,
0.08,
0.08,
0.08,
0.08,
0.08,
0.08,
0.08,
0.08,
0.08,
0.08,
0.08
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CLA",
"copyright": "Created by TheShuEd (Github)",
"states": [
{
"name": "meta"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,46 @@
{
"version": 1,
"size": {
"x": 32,
"y": 64
},
"license": "CLA",
"copyright": "Created by TheShuEd (Discord) ",
"states": [
{
"name": "wall0",
"directions": 4
},
{
"name": "wall1",
"directions": 4
},
{
"name": "wall2",
"directions": 4
},
{
"name": "wall3",
"directions": 4
},
{
"name": "wall4",
"directions": 4
},
{
"name": "wall5",
"directions": 4
},
{
"name": "wall6",
"directions": 4
},
{
"name": "wall7",
"directions": 4
},
{
"name": "full"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

View File

@@ -0,0 +1,13 @@
- files:
- snowstonebricks.png
- double_edge_E.png
- double_edge_N.png
- double_edge_S.png
- double_edge_W.png
- single_edge_NE.png
- single_edge_NW.png
- single_edge_SE.png
- single_edge_SW.png
license: "CC-BY-SA-3.0"
copyright: "Created by TheShuEd, midified by vladimir.s "
source: "https://github.com/crystallpunk-14/crystall-punk-14/pull/290"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB