diff --git a/Resources/Prototypes/Entities/Structures/Walls/walls.yml b/Resources/Prototypes/Entities/Structures/Walls/walls.yml index 7af9981255..7fc2abc949 100644 --- a/Resources/Prototypes/Entities/Structures/Walls/walls.yml +++ b/Resources/Prototypes/Entities/Structures/Walls/walls.yml @@ -485,6 +485,9 @@ max: 1 - !type:DoActsBehavior acts: [ "Destruction" ] + - type: Construction + graph: Girder + node: plastitaniumWall - type: entity parent: WallShuttleDiagonal diff --git a/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml b/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml index cb05f80cd1..89e562be1f 100644 --- a/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml +++ b/Resources/Prototypes/Entities/Structures/Windows/plastitanium.yml @@ -11,6 +11,9 @@ - type: Repairable fuelCost: 15 doAfterDelay: 3 + - type: Construction + graph: Window + node: PlastitaniumWindow - type: Damageable damageContainer: StructuralInorganic damageModifierSet: RGlass diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml index dcff7d6f5e..d0ba8823a9 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml @@ -1,4 +1,4 @@ -- type: constructionGraph +- type: constructionGraph id: Girder start: start graph: @@ -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: diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/window.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/window.yml index 1c1aaec4e1..77ee56223c 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/window.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/window.yml @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/structures.yml b/Resources/Prototypes/Recipes/Construction/structures.yml index 86c0002996..f7b007be90 100644 --- a/Resources/Prototypes/Recipes/Construction/structures.yml +++ b/Resources/Prototypes/Recipes/Construction/structures.yml @@ -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 @@ -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 diff --git a/Resources/Textures/Structures/Walls/plastitanium.rsi/rgeneric.png b/Resources/Textures/Structures/Walls/plastitanium.rsi/rgeneric.png new file mode 100644 index 0000000000..68b7d4c1e3 Binary files /dev/null and b/Resources/Textures/Structures/Walls/plastitanium.rsi/rgeneric.png differ