From: Flareguy <78941145+Flareguy@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:49:47 +0000 (-0600) Subject: Airlock assembly prototypes (#23821) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d76121d470c1e159787a6b991c0599068bd06a5f;p=space-station-14.git Airlock assembly prototypes (#23821) * adds prototypes for airlock assemblies for other doors * fix tests --- diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/assembly.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/assembly.yml index f69768cf85..2fc5817287 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/assembly.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/assembly.yml @@ -1,44 +1,347 @@ +#Atmospherics - type: entity - id: AirlockAssembly - name: airlock assembly - description: It opens, it closes, and maybe crushes you. - components: - - type: Clickable - - type: InteractionOutline - - type: Sprite - sprite: Structures/Doors/Airlocks/Standard/basic.rsi - state: "assembly" - - type: Physics - - type: Fixtures - fixtures: - fix1: - shape: - !type:PhysShapeAabb - bounds: "-0.45,-0.45,0.45,0.45" - density: 110 - mask: - - FullTileMask - layer: - - HumanoidBlockLayer - - type: Anchorable - delay: 2 - - type: Pullable - - type: Transform - anchored: true - noRot: true - - type: Damageable - damageContainer: Inorganic - damageModifierSet: Metallic - - type: Destructible - thresholds: - - trigger: - !type:DamageTrigger - damage: 300 - behaviors: - - !type:DoActsBehavior - acts: ["Destruction"] - - type: Construction - graph: Airlock - node: assembly - placement: - mode: SnapgridCenter + parent: AirlockAssembly + id: AirlockAssemblyAtmospherics + name: airlock assembly + suffix: Atmospherics + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/atmospherics.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyAtmosphericsGlass + name: airlock assembly + suffix: Atmospherics, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/atmospherics.rsi + state: "assembly" + +#Cargo +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyCargo + name: airlock assembly + suffix: Cargo + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/cargo.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyCargoGlass + name: airlock assembly + suffix: Cargo, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/cargo.rsi + state: "assembly" + +#Command +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyCommand + name: airlock assembly + suffix: Command + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/command.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyCommandGlass + name: airlock assembly + suffix: Command, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/command.rsi + state: "assembly" + +#Engineering +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyEngineering + name: airlock assembly + suffix: Engineering + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/engineering.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyEngineeringGlass + name: airlock assembly + suffix: Engineering, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/engineering.rsi + state: "assembly" + +#External +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyExternal + name: airlock assembly + suffix: External + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/external.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyExternalGlass + name: airlock assembly + suffix: External, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/external.rsi + state: "assembly" + +#Public (Glass Airlock) +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyGlass + name: airlock assembly + suffix: Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/glass.rsi + state: "assembly" + +#Freezer +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyFreezer + name: airlock assembly + suffix: Freezer + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/freezer.rsi + state: "assembly" + +#Maintenance +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyMaintenance + name: airlock assembly + suffix: Maintenance + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/maint.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyMaintenanceGlass + name: airlock assembly + suffix: Maintenance, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/maint.rsi + state: "assembly" + +#Medical +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyMedical + name: airlock assembly + suffix: Medical + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/medical.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyMedicalGlass + name: airlock assembly + suffix: Medical, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/medical.rsi + state: "assembly" + +#Science +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyScience + name: airlock assembly + suffix: Science + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/science.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyScienceGlass + name: airlock assembly + suffix: Science, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/science.rsi + state: "assembly" + +#Security +- type: entity + parent: AirlockAssembly + id: AirlockAssemblySecurity + name: airlock assembly + suffix: Security + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/security.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblySecurityGlass + name: airlock assembly + suffix: Security, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/security.rsi + state: "assembly" + +#Shuttle +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyShuttle + name: airlock assembly + suffix: Shuttle + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/shuttle.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyShuttleGlass + name: airlock assembly + suffix: Shuttle, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/shuttle.rsi + state: "assembly" + +#Virology +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyVirology + name: airlock assembly + suffix: Virology + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/virology.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyVirologyGlass + name: airlock assembly + suffix: Virology, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/virology.rsi + state: "assembly" + +#CentralCommand +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyCentralCommand + name: airlock assembly + suffix: CentralCommand + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/centcomm.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyCentralCommandGlass + name: airlock assembly + suffix: CentralCommand, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/centcomm.rsi + state: "assembly" + +#Mining +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyMining + name: airlock assembly + suffix: Mining + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/mining.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyMiningGlass + name: airlock assembly + suffix: Mining, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/mining.rsi + state: "assembly" + +#Syndicate +- type: entity + parent: AirlockAssembly + id: AirlockAssemblySyndicate + name: airlock assembly + suffix: Syndicate + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/syndicate.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblySyndicateGlass + name: airlock assembly + suffix: Syndicate, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/syndicate.rsi + state: "assembly" + +#ShuttleSyndicate +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyShuttleSyndicate + name: airlock assembly + suffix: ShuttleSyndicate + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi + state: "assembly" + +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyShuttleSyndicateGlass + name: airlock assembly + suffix: ShuttleSyndicate, Glass + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi + state: "assembly" + +#High Security +- type: entity + parent: AirlockAssembly + id: AirlockAssemblyHighSec + name: airlock assembly + suffix: HighSec + components: + - type: Sprite + sprite: Structures/Doors/Airlocks/highsec/highsec.rsi + state: "assembly" \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_assembly.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_assembly.yml new file mode 100644 index 0000000000..fcdb0d2dea --- /dev/null +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/base_assembly.yml @@ -0,0 +1,45 @@ +#Base +- type: entity + id: AirlockAssembly + name: airlock assembly + description: It opens, it closes, and maybe crushes you. + components: + - type: Clickable + - type: InteractionOutline + - type: Sprite + sprite: Structures/Doors/Airlocks/Standard/basic.rsi + state: "assembly" + - type: Physics + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.45,-0.45,0.45,0.45" + density: 110 + mask: + - FullTileMask + layer: + - HumanoidBlockLayer + - type: Anchorable + delay: 2 + - type: Pullable + - type: Transform + anchored: true + noRot: true + - type: Damageable + damageContainer: Inorganic + damageModifierSet: Metallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 300 + behaviors: + - !type:DoActsBehavior + acts: ["Destruction"] + - type: Construction + graph: Airlock + node: assembly + placement: + mode: SnapgridCenter \ No newline at end of file diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/centcomm.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/centcomm.rsi/assembly.png index 814d837908..7db8f8b6e8 100644 Binary files a/Resources/Textures/Structures/Doors/Airlocks/Glass/centcomm.rsi/assembly.png and b/Resources/Textures/Structures/Doors/Airlocks/Glass/centcomm.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/assembly.png new file mode 100644 index 0000000000..85715a9ca0 Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/meta.json index aa15016736..603c7588fd 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Glass/external.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/assembly.png new file mode 100644 index 0000000000..0b14b77aec Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/meta.json index f3162728da..505b597a61 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Glass/firelock.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/glass.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/glass.rsi/assembly.png index 5e2dae4c26..26d9dc17c2 100644 Binary files a/Resources/Textures/Structures/Doors/Airlocks/Glass/glass.rsi/assembly.png and b/Resources/Textures/Structures/Doors/Airlocks/Glass/glass.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/assembly.png new file mode 100644 index 0000000000..499ec46a53 Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/meta.json index 8806685e8c..ded8386db5 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/assembly.png new file mode 100644 index 0000000000..587c560434 Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/meta.json index 8408176365..1081b1b57d 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Glass/shuttle_syndicate.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Glass/syndicate.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Glass/syndicate.rsi/assembly.png index da1739bb27..891e7fd9ee 100644 Binary files a/Resources/Textures/Structures/Doors/Airlocks/Glass/syndicate.rsi/assembly.png and b/Resources/Textures/Structures/Doors/Airlocks/Glass/syndicate.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/assembly.png new file mode 100644 index 0000000000..62b788cbc7 Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/meta.json index aa15016736..603c7588fd 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Standard/external.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/assembly.png new file mode 100644 index 0000000000..8518b527bc Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/meta.json index 7248a273c1..72a5cbe0d1 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/assembly.png new file mode 100644 index 0000000000..4102c5df32 Binary files /dev/null and b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/assembly.png differ diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/meta.json b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/meta.json index d9058e3372..712b0ea1fc 100644 --- a/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/meta.json +++ b/Resources/Textures/Structures/Doors/Airlocks/Standard/shuttle_syndicate.rsi/meta.json @@ -7,6 +7,9 @@ "y": 32 }, "states": [ + { + "name": "assembly" + }, { "name": "bolted_unlit" }, diff --git a/Resources/Textures/Structures/Doors/Airlocks/Standard/syndicate.rsi/assembly.png b/Resources/Textures/Structures/Doors/Airlocks/Standard/syndicate.rsi/assembly.png index 9ac8b2ad68..2a4287034a 100644 Binary files a/Resources/Textures/Structures/Doors/Airlocks/Standard/syndicate.rsi/assembly.png and b/Resources/Textures/Structures/Doors/Airlocks/Standard/syndicate.rsi/assembly.png differ