51
Resources/Prototypes/Entities/Structures/Furniture/bench.yml
Normal file
51
Resources/Prototypes/Entities/Structures/Furniture/bench.yml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
- type: entity
|
||||||
|
name: comfortable bench
|
||||||
|
id: BenchComfy
|
||||||
|
parent: SeatBase
|
||||||
|
description: A bench with an extremely comfortable backrest.
|
||||||
|
components:
|
||||||
|
- type: Transform
|
||||||
|
anchored: true
|
||||||
|
- type: Rotatable
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Furniture/Bench/comf_bench.rsi
|
||||||
|
layers:
|
||||||
|
- state: bench_solo_base
|
||||||
|
color: "#767e82"
|
||||||
|
- state: bench_solo_cover
|
||||||
|
- type: Physics
|
||||||
|
bodyType: Static
|
||||||
|
- type: StaticPrice
|
||||||
|
price: 15
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: BenchColorfulComfy
|
||||||
|
suffix: Solo. Colorful
|
||||||
|
parent: BenchComfy
|
||||||
|
description: A bench with an extremely comfortable backrest.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: bench_solo_base
|
||||||
|
color: "#767e82"
|
||||||
|
- state: bench_solo_cover
|
||||||
|
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||||
|
- type: RandomSprite
|
||||||
|
available:
|
||||||
|
- enum.DamageStateVisualLayers.Base:
|
||||||
|
bench_solo_cover: Rainbow
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: BenchRedComfy
|
||||||
|
suffix: Solo. Red
|
||||||
|
parent: BenchComfy
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: bench_solo_base
|
||||||
|
color: "#767e82"
|
||||||
|
- state: bench_solo_cover
|
||||||
|
color: "#8c4141"
|
||||||
|
- type: Construction
|
||||||
|
graph: Seat
|
||||||
|
node: redComfBench
|
||||||
@@ -63,6 +63,13 @@
|
|||||||
- material: Steel
|
- material: Steel
|
||||||
amount: 2
|
amount: 2
|
||||||
doAfter: 1
|
doAfter: 1
|
||||||
|
- to: redComfBench
|
||||||
|
steps:
|
||||||
|
- material: Steel
|
||||||
|
amount: 2
|
||||||
|
doAfter: 1
|
||||||
|
- material: Cloth
|
||||||
|
amount: 1
|
||||||
|
|
||||||
- node: chair
|
- node: chair
|
||||||
entity: Chair
|
entity: Chair
|
||||||
@@ -196,3 +203,19 @@
|
|||||||
- tool: Screwing
|
- tool: Screwing
|
||||||
doAfter: 1
|
doAfter: 1
|
||||||
|
|
||||||
|
- node: redComfBench
|
||||||
|
entity: BenchRedComfy
|
||||||
|
edges:
|
||||||
|
- to: start
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: SheetSteel1
|
||||||
|
amount: 2
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: MaterialCloth1
|
||||||
|
amount: 1
|
||||||
|
steps:
|
||||||
|
- tool: Cutting
|
||||||
|
doAfter: 1
|
||||||
|
- tool: Screwing
|
||||||
|
doAfter: 1
|
||||||
|
|||||||
@@ -203,6 +203,23 @@
|
|||||||
conditions:
|
conditions:
|
||||||
- !type:TileNotBlocked
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: comfortable red bench
|
||||||
|
id: RedComfBench
|
||||||
|
graph: Seat
|
||||||
|
startNode: start
|
||||||
|
targetNode: redComfBench
|
||||||
|
category: construction-category-furniture
|
||||||
|
description: A bench with an extremely comfortable backrest.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Furniture/Bench/comf_bench.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
#tables
|
#tables
|
||||||
- type: construction
|
- type: construction
|
||||||
name: steel table
|
name: steel table
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 501 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from TG at commit https://github.com/tgstation/tgstation/commit/45b5bc20fbc0bdeb04e169f7aaa7ea8e14b4990b#diff-5d71c782b900bc77b4d1c5798be8d3e3c67dbc5ef5b3203c4995f01df471a633",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "full",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bench_solo_base",
|
||||||
|
"directions": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bench_solo_cover",
|
||||||
|
"directions": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user