Add material doors and recipes to make them (#6578)

Co-authored-by: fishfish458 <fishfish458>
This commit is contained in:
Fishfish458
2022-02-18 00:01:35 -06:00
committed by GitHub
parent 2a25203bef
commit de6ca87b9c
46 changed files with 993 additions and 9 deletions

View File

@@ -0,0 +1,170 @@
- type: constructionGraph
id: DoorGraph
start: start
graph:
- node: start
actions:
- !type:DestroyEntity {}
edges:
- to: metalDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Steel
amount: 20
doAfter: 15
- to: woodDoor
completed:
- !type:SnapToGrid { }
steps:
- material: WoodPlank
amount: 20
doAfter: 15
- to: plasmaDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Plasma
amount: 20
doAfter: 15
- to: diamondDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Diamond
amount: 20
doAfter: 15
- to: uraniumDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Uranium
amount: 20
doAfter: 15
- to: goldDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Gold
amount: 20
doAfter: 15
- to: silverDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Silver
amount: 20
doAfter: 15
- to: sandstoneDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Sand
amount: 20
doAfter: 15
- to: paperDoor
completed:
- !type:SnapToGrid { }
steps:
- material: Paper
amount: 20
doAfter: 15
- node: metalDoor
entity: MetalDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: woodDoor
entity: WoodDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: MaterialWoodPlank1
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: plasmaDoor
entity: PlasmaDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetPlasma
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: diamondDoor
entity: DiamondDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: MaterialDiamond1
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: uraniumDoor
entity: UraniumDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetUranium1
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: goldDoor
entity: GoldDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: IngotGold1
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: silverDoor
entity: SilverDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: IngotSilver1
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: sandstoneDoor
entity: SandstoneDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: Sand
amount: 20
steps:
- tool: Anchoring
doAfter: 15
- node: paperDoor
entity: PaperDoor
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetPaper1
amount: 20
steps:
- tool: Anchoring
doAfter: 15

View File

@@ -252,7 +252,7 @@
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- type: construction
name: shutter
id: Shutters
@@ -521,3 +521,156 @@
state: switch-off
conditions:
- !type:TileNotBlocked
- type: construction
name: metal door
id: MetalDoor
graph: DoorGraph
startNode: start
targetNode: metalDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/metal_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: wooden door
id: WoodDoor
graph: DoorGraph
startNode: start
targetNode: woodDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/wood_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: plasma door
id: PlasmaDoor
graph: DoorGraph
startNode: start
targetNode: plasmaDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/plasma_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: diamond door
id: DiamondDoor
graph: DoorGraph
startNode: start
targetNode: diamondDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/diamond_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: uranium door
id: UraniumDoor
graph: DoorGraph
startNode: start
targetNode: uraniumDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/uranium_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: gold door
id: GoldDoor
graph: DoorGraph
startNode: start
targetNode: goldDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/gold_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: silver door
id: SilverDoor
graph: DoorGraph
startNode: start
targetNode: silverDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/silver_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: sandstone door
id: SandstoneDoor
graph: DoorGraph
startNode: start
targetNode: sandstoneDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/sandstone_door.rsi
state: closed
conditions:
- !type:TileNotBlocked
- type: construction
name: paper door
id: PaperDoor
graph: DoorGraph
startNode: start
targetNode: paperDoor
category: Structures
description: A primitive door with manual operation like the cavemen used.
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Doors/MineralDoors/paper_door.rsi
state: closed
conditions:
- !type:TileNotBlocked