Adds dog bed and bed construction. (#6263)
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
- type: constructionGraph
|
||||
id: bed
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
actions:
|
||||
- !type:DestroyEntity {}
|
||||
edges:
|
||||
- to: bed
|
||||
completed:
|
||||
- !type:SnapToGrid { }
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- to: dogbed
|
||||
completed:
|
||||
- !type:SnapToGrid { }
|
||||
steps:
|
||||
- material: WoodPlank
|
||||
amount: 10
|
||||
doAfter: 1
|
||||
- node: bed
|
||||
entity: Bed
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- node: dogbed
|
||||
entity: DogBed
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: MaterialWoodPlank1
|
||||
amount: 10
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
@@ -272,3 +272,38 @@
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
#beds
|
||||
- type: construction
|
||||
id: Bed
|
||||
name: bed
|
||||
description: This is used to lie in, sleep in or strap on.
|
||||
graph: bed
|
||||
startNode: start
|
||||
targetNode: bed
|
||||
category: Furniture
|
||||
icon:
|
||||
sprite: Structures/Furniture/furniture.rsi
|
||||
state: bed
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
id: DogBed
|
||||
name: dog bed
|
||||
description: A comfy-looking dog bed. You can even strap your pet in, in case the gravity turns off.
|
||||
graph: bed
|
||||
startNode: start
|
||||
targetNode: dogbed
|
||||
category: Furniture
|
||||
icon:
|
||||
sprite: Structures/Furniture/furniture.rsi
|
||||
state: dogbed
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
Reference in New Issue
Block a user