Prevents a bunch of constructions from being built inside impassables

Fixes #2747
This commit is contained in:
Vera Aguilera Puerto
2020-12-16 14:31:07 +01:00
parent 91f2f4f599
commit 09ab14a3e6
4 changed files with 13 additions and 0 deletions

View File

@@ -1,57 +0,0 @@
- type: constructionGraph
id: ConveyorGraph
start: start
graph:
- node: start
edges:
- to: entity
steps:
- component: ConveyorAssembly
icon:
sprite: Constructible/Power/conveyor.rsi
state: conveyor_loose
name: conveyor belt assembly
doAfter: 2
- node: item
entity: ConveyorBeltAssembly
actions:
- !type:SetAnchor
value: false
- node: entity
entity: ConveyorBelt
actions:
- !type:SetAnchor
value: true
- !type:SnapToGrid
offset: Center
edges:
- to: item
steps:
- tool: Prying
doAfter: 3
- type: constructionGraph
id: leverGraph
start: start
graph:
- node: start
actions:
- !type:SpawnPrototype
prototype: SteelSheet1
amount: 2
- !type:DeleteEntity {}
edges:
- to: lever
completed:
- !type:SnapToGrid {}
steps:
- material: Metal
amount: 2
doAfter: 1
- node: lever
entity: TwoWayLever
edges:
- to: start
steps:
- tool: Anchoring
doAfter: 1

View File

@@ -1,26 +0,0 @@
- type: construction
name: conveyor belt
id: conveyorbelt
graph: ConveyorGraph
startNode: start
targetNode: entity
category: Structures
description: A conveyor belt, commonly used to transport large numbers of items elsewhere quite quickly.
objectType: Structure
placementMode: SnapgridCenter
icon:
sprite: Constructible/Power/conveyor.rsi
state: conveyor_stopped_cw
- type: construction
name: two-way lever
id: twowaylever
graph: leverGraph
startNode: start
targetNode: lever
category: Structures
description: A lever to control machines. It has 3 modes.
objectType: Structure
icon:
sprite: Constructible/Power/conveyor.rsi
state: switch-off