diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/catwalk.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/catwalk.yml index 4993ac017e385..c6b0151f87d50 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/catwalk.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/catwalk.yml @@ -23,3 +23,24 @@ - !type:DeleteEntity {} steps: - tool: Cutting + + - to: ReinforcedCatwalk + completed: + - !type:SnapToGrid + southRotation: true + steps: + - material: Steel + amount: 1 + doAfter: 1 + + - node: ReinforcedCatwalk # vermist + entity: ReinforcedCatwalk + edges: + - to: Catwalk + completed: + - !type:SpawnPrototype + prototype: SheetSteel1 + amount: 1 + steps: + - tool: Cutting + doAfter: 2 diff --git a/Resources/Prototypes/Recipes/Construction/structures.yml b/Resources/Prototypes/Recipes/Construction/structures.yml index 1f568a16294ef..3a90e6436669a 100644 --- a/Resources/Prototypes/Recipes/Construction/structures.yml +++ b/Resources/Prototypes/Recipes/Construction/structures.yml @@ -667,6 +667,23 @@ placementMode: SnapgridCenter canBuildInImpassable: false +- type: construction #vermist + id: ReinforcedCatwalk + graph: Catwalk + startNode: start + targetNode: ReinforcedCatwalk + category: construction-category-structures + conditions: + - !type:TileNotBlocked + failIfSpace: false + - !type:TileType + targets: + - Lattice + - Plating + objectType: Structure + placementMode: SnapgridCenter + canBuildInImpassable: false + - type: construction id: FloorBananium graph: FloorBananium diff --git a/Resources/Prototypes/_VDS/Entities/Structures/reinforcedcatwalk.yml b/Resources/Prototypes/_VDS/Entities/Structures/reinforcedcatwalk.yml new file mode 100644 index 0000000000000..8df1af64039c4 --- /dev/null +++ b/Resources/Prototypes/_VDS/Entities/Structures/reinforcedcatwalk.yml @@ -0,0 +1,76 @@ +# TODO move this to tiles once tile smoothing is supported +- type: entity + id: ReinforcedCatwalk + name: reinforced catwalk + description: A sturdier catwalk designed for environmental hazards. + placement: + mode: SnapgridCenter + components: + - type: Anchorable + flags: + - Anchorable + - type: Rotatable + - type: Clickable + - type: Sprite + sprite: _VDS/Structures/reinforcedcatwalk.rsi + drawdepth: FloorTiles + - type: Icon + sprite: _VDS/Structures/reinforcedcatwalk.rsi + state: reinforcedcatwalk_preview + - type: Transform + anchored: true + - type: Physics # VDS + bodyType: Static + - type: Fixtures # VDS, so catwalks can affect acoustics + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.45,-0.45,0.45,0.45" + density: 5 + hard: false + layer: + - DoorPassable + - type: IconSmooth + key: reinforcedcatwalk + base: reinforcedcatwalk_ + - type: FootstepModifier + footstepSoundCollection: + collection: FootstepCatwalk + params: + volume: 8 + - type: Tag + tags: + - Catwalk + - type: Construction + graph: Catwalk + node: ReinforcedCatwalk + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: Metallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 1000 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + - trigger: + !type:DamageTrigger + damage: 500 + behaviors: + - !type:SpawnEntitiesBehavior + spawn: + PartRodMetal: # takes two to construct, so drop less than that + min: 0 + max: 1 + - !type:DoActsBehavior + acts: [ "Destruction" ] + - type: TrayScanReveal + - type: RCDDeconstructable + cost: 2 + delay: 2 + fx: EffectRCDDeconstruct2 + - type: AcousticData # VDS + absorption: -8 # when I think catwalk I imagine reverb. \ No newline at end of file diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/meta.json b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/meta.json new file mode 100644 index 0000000000000..dc6556be65f1d --- /dev/null +++ b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/meta.json @@ -0,0 +1,46 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24 and modified by Swept and astral_amy", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "reinforcedcatwalk_0", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_1", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_2", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_3", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_4", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_5", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_6", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_7", + "directions": 4 + }, + { + "name": "reinforcedcatwalk_preview" + } + ] +} diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_0.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_0.png new file mode 100644 index 0000000000000..f2eb1786b6e50 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_0.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_1.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_1.png new file mode 100644 index 0000000000000..fdf175a7757d1 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_1.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_2.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_2.png new file mode 100644 index 0000000000000..f2eb1786b6e50 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_2.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_3.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_3.png new file mode 100644 index 0000000000000..7839eb9c1e8d5 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_3.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_4.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_4.png new file mode 100644 index 0000000000000..622c22be61777 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_4.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_5.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_5.png new file mode 100644 index 0000000000000..a6122915ced18 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_5.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_6.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_6.png new file mode 100644 index 0000000000000..280e79d6b8303 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_6.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_7.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_7.png new file mode 100644 index 0000000000000..57fb07dd9c004 Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_7.png differ diff --git a/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_preview.png b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_preview.png new file mode 100644 index 0000000000000..7e1eae3ac6d0b Binary files /dev/null and b/Resources/Textures/_VDS/Structures/reinforcedcatwalk.rsi/reinforcedcatwalk_preview.png differ