Adds rack construction (#6502)
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
- type: entity
|
||||
parent: BaseStructure
|
||||
id: Rack
|
||||
name: rack
|
||||
description: A rack for storing things on.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: Clickable
|
||||
- type: Construction
|
||||
graph: Rack
|
||||
node: Rack
|
||||
- type: Anchorable
|
||||
- type: InteractionOutline
|
||||
- type: PlaceableSurface
|
||||
- type: Sprite
|
||||
sprite: Structures/Furniture/furniture.rsi
|
||||
state: rack
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
@@ -25,8 +23,6 @@
|
||||
- MobImpassable
|
||||
mask:
|
||||
- VaultImpassable
|
||||
- type: Pullable
|
||||
- type: Anchorable
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user