Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grey & Wooden Railings #2379

Merged
merged 6 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Structures/Walls/railing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,127 @@
sprite: DeltaV/Structures/Walls/railing.rsi
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi

- type: entity
parent: Railing
id: RailingDeltaVGrey
suffix: Modern, Grey
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: side_grey
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: side_grey

- type: entity
parent: RailingCorner
id: RailingCornerDeltaVGrey
suffix: Modern, Grey
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_grey
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_grey

- type: entity
parent: RailingCornerSmall
id: RailingCornerSmallDeltaVGrey
suffix: Modern, Grey
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_small_grey
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_small_grey

- type: entity
parent: RailingRound
id: RailingRoundDeltaVGrey
suffix: Modern, Grey
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: round_grey
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: round_grey

- type: entity
id: BaseRailingWood
suffix: Modern, Wood
components:
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 20
behaviors:
- !type:PlaySoundBehavior
sound:
collection: WoodDestroy
params:
volume: -6
- !type:SpawnEntitiesBehavior
spawn:
MaterialWoodPlank1:
min: 0
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
deltanedas marked this conversation as resolved.
Show resolved Hide resolved

- type: entity
parent: [BaseRailingWood, Railing]
id: RailingDeltaVWood
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: side_wood
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: side_wood


- type: entity
parent: [BaseRailingWood, RailingCorner]
id: RailingCornerDeltaVWood
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_wood
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_wood

- type: entity
parent: [BaseRailingWood, RailingCornerSmall]
id: RailingCornerSmallDeltaVWood
suffix: Modern
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_small_wood
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: corner_small_wood

- type: entity
parent: [BaseRailingWood, RailingRound]
id: RailingRoundDeltaVWood
suffix: Modern
rosieposieeee marked this conversation as resolved.
Show resolved Hide resolved
components:
- type: Sprite
sprite: DeltaV/Structures/Walls/railing.rsi
state: round_wood
- type: Icon
sprite: DeltaV/Structures/Walls/railing.rsi
state: round_wood
deltanedas marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from MonkeStation, Corner, Round and Corner_Small sprite by noctyrn",
"copyright": "Taken from MonkeStation, Corner, Round and Corner_Small sprite by noctyrn, grey & wood recolors by rosieposieeee (Github)",
"size": {
"x": 32,
"y": 32
Expand All @@ -22,6 +22,38 @@
{
"name": "round",
"directions": 4
},
{
"name": "side_grey",
"directions": 4
},
{
"name": "corner_grey",
"directions": 4
},
{
"name": "corner_small_grey",
"directions": 4
},
{
"name": "round_grey",
"directions": 4
},
{
"name": "side_wood",
"directions": 4
},
{
"name": "corner_wood",
"directions": 4
},
{
"name": "corner_small_wood",
"directions": 4
},
{
"name": "round_wood",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading