Crafting recipe for Directional Windows (#5338)

* new/changed files

* fixes

no more bugs (hopefully)
This commit is contained in:
cheesePizza2
2021-11-14 14:51:35 -05:00
committed by GitHub
parent 3f32f9f87c
commit cc265dd70a
6 changed files with 185 additions and 0 deletions

View File

@@ -59,6 +59,9 @@
- type: Icon
sprite: Structures/Windows/directional.rsi
state: plasma_window
- type: Construction
graph: windowDirectional
node: plasmaWindowDirectional
- type: Destructible
thresholds:
- trigger:

View File

@@ -59,6 +59,9 @@
- type: Icon
sprite: Structures/Windows/directional.rsi
state: reinforced_window
- type: Construction
graph: windowDirectional
node: windowReinforcedDirectional
- type: Destructible
thresholds:
- trigger:

View File

@@ -62,6 +62,9 @@
- type: Icon
sprite: Structures/Windows/directional.rsi
state: plasma_reinforced_window
- type: Construction
graph: windowDirectional
node: plasmaReinforcedWindowDirectional
- type: Destructible
thresholds:
- trigger:

View File

@@ -122,6 +122,9 @@
airBlockedDirection:
- South
- type: Window
- type: Construction
graph: windowDirectional
node: windowDirectional
- type: entity
id: WindowTintedDirectional

View File

@@ -0,0 +1,101 @@
- type: constructionGraph
id: windowDirectional
start: start
graph:
- node: start
edges:
- to: plasmaWindowDirectional
steps:
- material: PlasmaGlass
amount: 1
doAfter: 2
- to: windowReinforcedDirectional
steps:
- material: ReinforcedGlass
amount: 1
doAfter: 2
- to: plasmaReinforcedWindowDirectional
steps:
- material: ReinforcedPlasmaGlass
amount: 1
doAfter: 3
- to: windowDirectional
steps:
- material: Glass
amount: 1
doAfter: 3
- node: windowDirectional
entity: WindowDirectional
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetGlass1
amount: 1
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 1
- tool: Anchoring
doAfter: 2
- node: windowReinforcedDirectional
entity: WindowReinforcedDirectional
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetRGlass1
amount: 1
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 1
- tool: Prying
doAfter: 2
- tool: Screwing
doAfter: 1
- tool: Anchoring
doAfter: 2
- node: plasmaWindowDirectional
entity: PlasmaWindowDirectional
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetPGlass1
amount: 1
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 2
- tool: Prying
doAfter: 3
- tool: Screwing
doAfter: 2
- tool: Anchoring
doAfter: 3
- node: plasmaReinforcedWindowDirectional
entity: PlasmaReinforcedWindowDirectional
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetRPGlass1
amount: 1
- !type:DeleteEntity {}
steps:
- tool: Screwing
doAfter: 2
- tool: Prying
doAfter: 3
- tool: Screwing
doAfter: 2
- tool: Anchoring
doAfter: 3

View File

@@ -145,6 +145,78 @@
placementMode: SnapgridCenter
canRotate: false
- type: construction
name: directional window
id: WindowDirectional
graph: windowDirectional
startNode: start
targetNode: windowDirectional
category: Structures
description: Clear.
canBuildInImpassable: true
conditions:
- !type:EmptyOrWindowValidInTile {}
- !type:NoWindowsInTile {}
icon:
sprite: Structures/Windows/directional.rsi
state: window
objectType: Structure
placementMode: SnapgridCenter
- type: construction
name: directional reinforced window
id: WindowReinforcedDirectional
graph: windowDirectional
startNode: start
targetNode: windowReinforcedDirectional
category: Structures
description: Clear but tough.
canBuildInImpassable: true
conditions:
- !type:EmptyOrWindowValidInTile {}
- !type:NoWindowsInTile {}
icon:
sprite: Structures/Windows/directional.rsi
state: reinforced_window
objectType: Structure
placementMode: SnapgridCenter
- type: construction
name: directional plasma window
id: PlasmaWindowDirectional
graph: windowDirectional
startNode: start
targetNode: plasmaWindowDirectional
category: Structures
canBuildInImpassable: true
description: Clear and even tougher, with a purple tint.
conditions:
- !type:EmptyOrWindowValidInTile {}
- !type:NoWindowsInTile {}
icon:
sprite: Structures/Windows/directional.rsi
state: plasma_window
objectType: Structure
placementMode: SnapgridCenter
- type: construction
name: directional reinforced plasma window
id: PlasmaReinforcedWindowDirectional
graph: windowDirectional
startNode: start
targetNode: plasmaReinforcedWindowDirectional
category: Structures
canBuildInImpassable: true
description: Fire resistant and even tougher, with a purple tint.
conditions:
- !type:EmptyOrWindowValidInTile {}
- !type:NoWindowsInTile {}
icon:
sprite: Structures/Windows/directional.rsi
state: plasma_reinforced_window
objectType: Structure
placementMode: SnapgridCenter
- type: construction
name: firelock
id: Firelock