Airlocks retexture (#28)

* add: new airlock sprites

* fix: фикс отображения болтов двери на клиенте

* add missing states + remove redundant prototypes

---------

Co-authored-by: Remuchi <RemuchiOfficial@gmail.com>
This commit is contained in:
ThereDrD0
2024-02-05 09:22:54 +03:00
committed by GitHub
parent 4eeb4b1725
commit 6e9fba8ab9
758 changed files with 1370 additions and 802 deletions

View File

@@ -1,4 +1,5 @@
using Content.Client.Wires.Visualizers;
using Content.Shared.Doors;
using Content.Shared.Doors.Components;
using Content.Shared.Doors.Systems;
using Content.Shared.Prying.Components;
@@ -25,6 +26,16 @@ public sealed class AirlockSystem : SharedAirlockSystem
args.Cancelled = true;
}
protected override void OnBeforeDoorClosed(EntityUid uid, AirlockComponent airlock, BeforeDoorClosedEvent args)
{
base.OnBeforeDoorClosed(uid, airlock, args);
if (_appearanceSystem.TryGetData<bool>(uid, DoorVisuals.BoltLights, out var boltLights) && boltLights)
{
args.Cancel();
}
}
private void OnComponentStartup(EntityUid uid, AirlockComponent comp, ComponentStartup args)
{
// Has to be on component startup because we don't know what order components initialize in and running this before DoorComponent inits _will_ crash.
@@ -34,9 +45,11 @@ public sealed class AirlockSystem : SharedAirlockSystem
if (comp.OpenUnlitVisible) // Otherwise there are flashes of the fallback sprite between clicking on the door and the door closing animation starting.
{
door.OpenSpriteStates.Add((DoorVisualLayers.BaseUnlit, comp.OpenSpriteState));
door.OpenSpriteStates.Add((DoorVisualLayers.BaseBolted, "bolted_open_unlit"));
door.OpenSpriteStates.Add((DoorVisualLayers.BaseBolted, comp.OpenBoltedSpriteState));
door.OpenSpriteStates.Add((DoorVisualLayers.BaseEmergencyAccess, comp.OpenEmergencySpriteState));
door.ClosedSpriteStates.Add((DoorVisualLayers.BaseUnlit, comp.ClosedSpriteState));
door.ClosedSpriteStates.Add((DoorVisualLayers.BaseBolted, "bolted_unlit"));
door.ClosedSpriteStates.Add((DoorVisualLayers.BaseBolted, comp.ClosedBoltedSpriteState));
door.ClosedSpriteStates.Add((DoorVisualLayers.BaseEmergencyAccess, comp.ClosedEmergencySpriteState));
}
((Animation) door.OpeningAnimation).AnimationTracks.Add(new AnimationTrackSpriteFlick
@@ -98,7 +111,7 @@ public sealed class AirlockSystem : SharedAirlockSystem
{
boltedVisible =
_appearanceSystem.TryGetData<bool>(uid, DoorVisuals.BoltLights, out var lights, args.Component)
&& lights && state is DoorState.Closed or DoorState.Welded;
&& lights && state is DoorState.Closed or DoorState.Welded or DoorState.Open;
emergencyLightsVisible =
_appearanceSystem.TryGetData<bool>(uid, DoorVisuals.EmergencyLights, out var eaLights,
@@ -123,7 +136,6 @@ public sealed class AirlockSystem : SharedAirlockSystem
args.Sprite.LayerSetVisible(
DoorVisualLayers.BaseEmergencyAccess,
emergencyLightsVisible
&& state != DoorState.Open
&& state != DoorState.Opening
&& state != DoorState.Closing
&& !boltedVisible

View File

@@ -117,12 +117,36 @@ public sealed partial class AirlockComponent : Component
[DataField]
public string OpenSpriteState = "open_unlit";
/// <summary>
/// The sprite state used for the open bolted airlock lights.
/// </summary>
[DataField]
public string OpenBoltedSpriteState = "bolted_open_unlit";
/// <summary>
/// The sprite state used for the open emergency access airlock lights.
/// </summary>
[DataField]
public string OpenEmergencySpriteState = "emergency_open_unlit";
/// <summary>
/// The sprite state used for the closed airlock lights.
/// </summary>
[DataField]
public string ClosedSpriteState = "closed_unlit";
/// <summary>
/// The sprite state used for the closed bolted airlock lights.
/// </summary>
[DataField]
public string ClosedBoltedSpriteState = "bolted_unlit";
/// <summary>
/// The sprite state used for the closed bolted airlock lights.
/// </summary>
[DataField]
public string ClosedEmergencySpriteState = "emergency_unlit";
/// <summary>
/// The sprite state used for the 'access denied' lights animation.
/// </summary>

View File

@@ -1004,16 +1004,6 @@
- type: PriorityDock
tag: DockArrivals
- type: entity
parent: AirlockGlassShuttle
id: AirlockExternalGlassShuttleCargo
suffix: Cargo
components:
- type: PriorityDock
tag: DockCargo
- type: AccessReader
access: [ [ "Cargo" ] ]
- type: entity
parent: AirlockGlassShuttle
id: AirlockExternalGlassShuttleEscape
@@ -1021,6 +1011,16 @@
components:
- type: GridFill
- type: entity
parent: AirlockGlassShuttle
id: AirlockExternalGlassShuttleCargo
suffix: Cargo
components:
- type: PriorityDock
tag: DockCargo
- type: AccessReader
access: [ [ "Cargo" ] ]
#HighSecDoors
- type: entity
parent: HighSecDoor

View File

@@ -13,9 +13,11 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/engineering.rsi
- type: PaintableAirlock
department: Engineering
- type: entity
parent: Airlock
parent: AirlockEngineering
id: AirlockAtmospherics
suffix: Atmospherics
components:
@@ -29,6 +31,8 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/cargo.rsi
- type: PaintableAirlock
department: Cargo
- type: entity
parent: Airlock
@@ -37,9 +41,11 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/medical.rsi
- type: PaintableAirlock
department: Medical
- type: entity
parent: Airlock
parent: AirlockMedical
id: AirlockVirology
suffix: Virology
components:
@@ -47,12 +53,9 @@
sprite: Structures/Doors/Airlocks/Standard/virology.rsi
- type: entity
parent: Airlock
parent: AirlockMedical
id: AirlockChemistry
suffix: Chemistry
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/medical.rsi
- type: entity
parent: Airlock
@@ -61,6 +64,8 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/science.rsi
- type: PaintableAirlock
department: Science
- type: entity
parent: Airlock
@@ -71,6 +76,8 @@
sprite: Structures/Doors/Airlocks/Standard/command.rsi
- type: WiresPanelSecurity
securityLevel: medSecurity
- type: PaintableAirlock
department: Command
- type: entity
parent: Airlock
@@ -79,6 +86,8 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/security.rsi
- type: PaintableAirlock
department: Security
- type: entity
parent: Airlock
@@ -89,36 +98,28 @@
sprite: Structures/Doors/Airlocks/Standard/maint.rsi
- type: entity
parent: Airlock
parent: AirlockSecurity # if you get syndie door somehow it counts as sec
id: AirlockSyndicate
suffix: Syndicate
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/syndicate.rsi
- type: Airlock
openUnlitVisible: false
- type: entity
parent: Airlock
parent: AirlockCargo
id: AirlockMining
suffix: Mining(Salvage)
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/mining.rsi
- type: Airlock
openUnlitVisible: false
- type: entity
parent: Airlock
parent: AirlockCommand # if you get centcom door somehow it counts as command, also inherit panel
id: AirlockCentralCommand
suffix: Central Command
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/centcomm.rsi
- type: WiresPanelSecurity
securityLevel: medSecurity
- type: Airlock
openUnlitVisible: false
- type: entity
parent: Airlock
@@ -127,8 +128,6 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/hatch.rsi
- type: Airlock
openUnlitVisible: false
- type: entity
parent: Airlock
@@ -137,8 +136,6 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/hatch_maint.rsi
- type: Airlock
openUnlitVisible: false
# Glass
@@ -191,7 +188,7 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/engineering.rsi
- type: PaintableAirlock
group: Glass
department: Engineering
- type: entity
parent: AirlockGlass
@@ -200,18 +197,14 @@
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/maint.rsi
- type: PaintableAirlock
group: Glass
- type: entity
parent: AirlockGlass
parent: AirlockEngineeringGlass
id: AirlockAtmosphericsGlass
suffix: Atmospherics
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/atmospherics.rsi
- type: PaintableAirlock
group: Glass
- type: entity
parent: AirlockGlass
@@ -221,17 +214,7 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/cargo.rsi
- type: PaintableAirlock
group: Glass
- type: entity
parent: AirlockGlass
id: AirlockChemistryGlass
suffix: Chemistry
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/medical.rsi
- type: PaintableAirlock
group: Glass
department: Cargo
- type: entity
parent: AirlockGlass
@@ -241,17 +224,20 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/medical.rsi
- type: PaintableAirlock
group: Glass
department: Medical
- type: entity
parent: AirlockGlass
parent: AirlockMedicalGlass
id: AirlockChemistryGlass
suffix: Chemistry
- type: entity
parent: AirlockMedicalGlass
id: AirlockVirologyGlass
suffix: Virology
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/virology.rsi
- type: PaintableAirlock
group: Glass
- type: entity
parent: AirlockGlass
@@ -261,7 +247,7 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/science.rsi
- type: PaintableAirlock
group: Glass
department: Science
- type: entity
parent: AirlockGlass
@@ -271,7 +257,7 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/command.rsi
- type: PaintableAirlock
group: Glass
department: Command
- type: WiresPanelSecurity
securityLevel: medSecurity
@@ -283,32 +269,26 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/security.rsi
- type: PaintableAirlock
group: Glass
department: Security
- type: entity
parent: AirlockGlass
parent: AirlockSecurityGlass # see standard
id: AirlockSyndicateGlass
suffix: Syndicate
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/syndicate.rsi
- type: PaintableAirlock
group: Glass
- type: Airlock
openUnlitVisible: false
- type: entity
parent: AirlockGlass
parent: AirlockCargoGlass
id: AirlockMiningGlass
suffix: Mining(Salvage)
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/mining.rsi
- type: Airlock
openUnlitVisible: false
- type: entity
parent: AirlockGlass
parent: AirlockCommandGlass # see standard
id: AirlockCentralCommandGlass
suffix: Central Command
components:
@@ -316,6 +296,3 @@
sprite: Structures/Doors/Airlocks/Glass/centcomm.rsi
- type: WiresPanelSecurity
securityLevel: medSecurity
- type: Airlock
openUnlitVisible: false

View File

@@ -1,44 +1,347 @@
#Atmospherics
- type: entity
id: AirlockAssembly
parent: AirlockAssembly
id: AirlockAssemblyAtmospherics
name: airlock assembly
description: It opens, it closes, and maybe crushes you.
suffix: Atmospherics
components:
- type: Clickable
- type: InteractionOutline
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/basic.rsi
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"
- 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

View File

@@ -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

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: Airlock
parent: BaseStructure
name: airlock
@@ -27,7 +27,7 @@
- state: emergency_unlit
map: ["enum.DoorVisualLayers.BaseEmergencyAccess"]
shader: unshaded
- state: panel_closed
- state: panel_open
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: AnimationPlayer
- type: Physics
@@ -64,7 +64,6 @@
- type: Weldable
time: 3
- type: Airlock
openUnlitVisible: true
- type: NavMapDoor
- type: DoorBolt
- type: Appearance
@@ -130,8 +129,12 @@
- board
- type: PlacementReplacement
key: walls
- type: IconSmooth
key: walls
mode: NoSprite
- type: PaintableAirlock
group: Standard
department: Civilian
- type: AccessReader
- type: StaticPrice
price: 150
@@ -142,7 +145,6 @@
- Airlock
# This tag is used to nagivate the Airlock construction graph. It's needed because the construction graph is shared between Airlock, AirlockGlass, and HighSecDoor
- type: PryUnpowered
- type: ReflectAspectMark
placement:
mode: SnapgridCenter

View File

@@ -18,6 +18,7 @@
sprite: Structures/Doors/Airlocks/Standard/external.rsi
- type: PaintableAirlock
group: External
department: null
- type: entity
parent: AirlockExternal

View File

@@ -23,7 +23,7 @@
- state: emergency_unlit
map: ["enum.DoorVisualLayers.BaseEmergencyAccess"]
shader: unshaded
- state: panel_closed
- state: panel_open
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: AnimationPlayer
- type: Physics
@@ -103,4 +103,3 @@
tags:
- HighSecDoor
# This tag is used to nagivate the Airlock construction graph. It's needed because this construction graph is shared between Airlock, AirlockGlass, and HighSecDoor
- type: ReflectAspectMark

View File

@@ -64,6 +64,7 @@
- ForceNoFixRotations
- type: PaintableAirlock
group: Shuttle
department: null
- type: Construction
graph: AirlockShuttle
node: airlock

View File

@@ -228,12 +228,6 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 300 #excess damage (nuke?). avoid computational cost of spawning entities. # WD edit start
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger # WD edit end
damage: 50
behaviors:
- !type:DoActsBehavior
@@ -246,11 +240,6 @@
MaterialWebSilk:
min: 3
max: 5
- type: MeleeSound # WD edit start
soundGroups:
Brute:
path:
"/Audio/Weapons/slash.ogg" # WD edit end
- type: Damageable
damageModifierSet: Web
- type: Door

View File

@@ -97,10 +97,6 @@
messagePerceivedByOthers: comp-window-knock
interactSuccessSound:
path: /Audio/Effects/glass_knock.ogg
- type: ReflectAspectMark
- type: Tag
tags:
- DeleteWithWindows
- type: entity
id: ShuttersNormal

View File

@@ -1,4 +1,4 @@
- type: entity
- type: entity
id: BaseWindoor
parent: BaseStructure
abstract: true
@@ -139,7 +139,6 @@
- type: StaticPrice
price: 100
- type: PryUnpowered
- type: ReflectAspectMark
- type: entity
id: BaseSecureWindoor

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 588 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from TauCetiClassic at commit https://github.com/TauCetiStation/TauCetiClassic/commit/fd5cfd76acdf5bda9e46413c11006a6e825d51a9",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
"size": {
"x": 32,
"y": 32
@@ -13,9 +13,6 @@
{
"name": "bolted_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "closed"
},
@@ -25,6 +22,12 @@
{
"name": "open_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "emergency_open_unlit"
},
{
"name": "closing",
"delays": [
@@ -59,12 +62,18 @@
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "open"
"name": "open",
"delays": [
[
1
]
]
},
{
"name": "opening",
@@ -106,7 +115,12 @@
]
},
{
"name": "panel_closed"
"name": "panel_open",
"delays": [
[
1
]
]
},
{
"name": "panel_opening",
@@ -121,10 +135,6 @@
]
]
},
{
"name": "panel_open"
},
{
"name": "sparks",
"delays": [
@@ -147,8 +157,7 @@
0.1,
0.1,
0.1,
0.1,
1.7
0.1
]
]
},
@@ -161,7 +170,8 @@
0.1,
0.1,
0.1,
0.1
0.1,
1.7
]
]
},
@@ -185,13 +195,10 @@
"name": "emergency_unlit",
"delays": [
[
1.2,
1.2
0.4,
0.4
]
]
},
{
"name": "emergency_open_unlit"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 B

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 588 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from TauCetiClassic at commit https://github.com/TauCetiStation/TauCetiClassic/commit/fd5cfd76acdf5bda9e46413c11006a6e825d51a9",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
"size": {
"x": 32,
"y": 32
@@ -13,9 +13,6 @@
{
"name": "bolted_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "closed"
},
@@ -25,6 +22,12 @@
{
"name": "open_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "emergency_open_unlit"
},
{
"name": "closing",
"delays": [
@@ -59,12 +62,18 @@
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "open"
"name": "open",
"delays": [
[
1
]
]
},
{
"name": "opening",
@@ -106,7 +115,12 @@
]
},
{
"name": "panel_closed"
"name": "panel_open",
"delays": [
[
1
]
]
},
{
"name": "panel_opening",
@@ -121,10 +135,6 @@
]
]
},
{
"name": "panel_open"
},
{
"name": "sparks",
"delays": [
@@ -147,8 +157,7 @@
0.1,
0.1,
0.1,
0.1,
1.7
0.1
]
]
},
@@ -161,7 +170,8 @@
0.1,
0.1,
0.1,
0.1
0.1,
1.7
]
]
},
@@ -185,13 +195,10 @@
"name": "emergency_unlit",
"delays": [
[
1.2,
1.2
0.4,
0.4
]
]
},
{
"name": "emergency_open_unlit"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 662 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 685 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 588 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from TauCetiClassic at commit https://github.com/TauCetiStation/TauCetiClassic/commit/fd5cfd76acdf5bda9e46413c11006a6e825d51a9",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
"size": {
"x": 32,
"y": 32
@@ -13,9 +13,6 @@
{
"name": "bolted_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "closed"
},
@@ -25,6 +22,12 @@
{
"name": "open_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "emergency_open_unlit"
},
{
"name": "closing",
"delays": [
@@ -59,12 +62,18 @@
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "open"
"name": "open",
"delays": [
[
1
]
]
},
{
"name": "opening",
@@ -106,7 +115,12 @@
]
},
{
"name": "panel_closed"
"name": "panel_open",
"delays": [
[
1
]
]
},
{
"name": "panel_opening",
@@ -121,10 +135,6 @@
]
]
},
{
"name": "panel_open"
},
{
"name": "sparks",
"delays": [
@@ -147,8 +157,7 @@
0.1,
0.1,
0.1,
0.1,
1.7
0.1
]
]
},
@@ -161,7 +170,8 @@
0.1,
0.1,
0.1,
0.1
0.1,
1.7
]
]
},
@@ -185,13 +195,10 @@
"name": "emergency_unlit",
"delays": [
[
1.2,
1.2
0.4,
0.4
]
]
},
{
"name": "emergency_open_unlit"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 B

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 B

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1023 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/58e5354cdbc304847c9ef20963320d21f418b58e and edited by Nairod(github) for SS14",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24",
"size": {
"x": 32,
"y": 32
@@ -19,6 +19,15 @@
{
"name": "closed_unlit"
},
{
"name": "open_unlit"
},
{
"name": "bolted_open_unlit"
},
{
"name": "emergency_open_unlit"
},
{
"name": "closing",
"delays": [
@@ -106,7 +115,12 @@
]
},
{
"name": "panel_closed"
"name": "panel_open",
"delays": [
[
1
]
]
},
{
"name": "panel_opening",
@@ -121,9 +135,6 @@
]
]
},
{
"name": "panel_open"
},
{
"name": "sparks",
"delays": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 701 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 166 B

Some files were not shown because too many files have changed in this diff Show More