Solo bench (#24203)

* solo bench

* price

* fix

* comfy

* 111

* clear
This commit is contained in:
Nim
2024-01-24 00:15:48 +02:00
committed by GitHub
parent b4046bc2bb
commit 016d35645f
7 changed files with 114 additions and 0 deletions

View 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

View File

@@ -63,6 +63,13 @@
- material: Steel
amount: 2
doAfter: 1
- to: redComfBench
steps:
- material: Steel
amount: 2
doAfter: 1
- material: Cloth
amount: 1
- node: chair
entity: Chair
@@ -196,3 +203,19 @@
- tool: Screwing
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

View File

@@ -203,6 +203,23 @@
conditions:
- !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
- type: construction
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

View File

@@ -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
}
]
}