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