Adds rack construction (#6502)

This commit is contained in:
Lamrr
2022-02-07 12:51:57 +11:00
committed by GitHub
parent 2032554a64
commit 6d1be412f5
3 changed files with 53 additions and 9 deletions

View File

@@ -0,0 +1,30 @@
- type: constructionGraph
id: Rack
start: start
graph:
- node: start
actions:
- !type:DeleteEntity {}
edges:
- to: Rack
completed:
- !type:SnapToGrid
southRotation: true
steps:
- material: Steel
amount: 2
doAfter: 1
- node: Rack
entity: Rack
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
conditions:
- !type:EntityAnchored
anchored: false
steps:
- tool: Screwing
doAfter: 1

View File

@@ -307,3 +307,21 @@
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
#racks
- type: construction
id: Rack
name: rack
description: A rack for storing things on.
graph: Rack
startNode: start
targetNode: Rack
category: Furniture
icon:
sprite: Structures/Furniture/furniture.rsi
state: rack
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked