Skip to content

Commit

Permalink
- adds construction graphs & recipes to plastitanium walls/windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rynkatze committed Jul 11, 2024
1 parent 4119cd5 commit b415d60
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Structures/Walls/walls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Construction
graph: Girder
node: plastitaniumWall

- type: entity
parent: WallShuttleDiagonal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
- type: Repairable
fuelCost: 15
doAfterDelay: 3
- type: Construction
graph: Window
node: PlastitaniumWindow
- type: Damageable
damageContainer: StructuralInorganic
damageModifierSet: RGlass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- type: constructionGraph
- type: constructionGraph
id: Girder
start: start
graph:
Expand Down Expand Up @@ -355,6 +355,46 @@
- tool: Cutting
doAfter: 2

- to: plastitaniumWall
completed:
- !type:SnapToGrid
southRotation: true
conditions:
- !type:EntityAnchored { }
steps:
- material: ReinforcedGlass
amount: 1
doafter: 3
- material: Plasteel
amount: 3
doafter: 1

- node: plastitaniumWall
entity: WallPlastitanium
edges:
- to: reinforcedGirder
completed:
- !type:SpawnPrototype
prototype: SheetPlasteel1
amount: 3
steps:
- tool: Screwing
doAfter: 2
- tool: Welding
doAfter: 10
- tool: Prying
doAfter: 2
- tool: Welding
doAfter: 20
- tool: Screwing
doAfter: 1
- tool: Cutting
doAfter: 1
- tool: Welding
doAfter: 5
- tool: Screwing
doAfter: 1

- node: reinforcedWall
entity: WallReinforced
edges:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,30 @@
doAfter: 1
- tool: Anchoring
doAfter: 2
- to: plastitaniumWindow
steps:
- material: Plasteel
amount: 2
doAfter: 3

- node: plastitaniumWindow
entity: PlastitaniumWindow
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetRGlass1
amount: 4
- !type:DeleteEntity {}
steps:
- tool: Welding
doAfter: 10
- tool: Screwing
doAfter: 2
- tool: Prying
doAfter: 2
- tool: Screwing
doAfter: 1

- node: tintedWindow
entity: TintedWindow
Expand Down
37 changes: 37 additions & 0 deletions Resources/Prototypes/Recipes/Construction/structures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,24 @@
conditions:
- !type:TileNotBlocked

- type: construction
name: plastitanium wall
id: WallPlastitanium
graph: Girder
startNode: start
targetNode: plastitaniumWall
category: construction-category-structures
description: Keeps the air in and the prisoners trapped.
icon:
sprite: Structures/Walls/plastitanium.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canRotate: false
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked

- type: construction
name: reinforced wall
id: ReinforcedWall
Expand Down Expand Up @@ -542,6 +560,25 @@
placementMode: SnapgridCenter
canRotate: false

- type: construction
name: plastitanium window
id: PlastitaniumWindow
graph: Window
startNode: start
targetNode: plastitaniumWindow
category: construction-category-structures
canBuildInImpassable: true
description: Extremely hardy window to keep an eye on prisoners with little risk of them reaching you.
conditions:
- !type:EmptyOrWindowValidInTile
- !type:NoWindowsInTile
icon:
sprite: Structures/Windows/plastitanium_window.rsi
state: full
objectType: Structure
placementMode: SnapgridCenter
canRotate: false

- type: construction
name: shuttle window
id: ShuttleWindow
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b415d60

Please sign in to comment.