Skip to content

Commit

Permalink
Doors, Decal Sprite fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Jun 25, 2024
1 parent 0635312 commit 0b73a51
Show file tree
Hide file tree
Showing 90 changed files with 803 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-DoubleGlassAirlock = Двойной Шлюз
.desc = Он открывается, Он закрывается , и он может вас раздавить, но он больше, чем обычно.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ent-AirlockHatchCentcommLocked = Шлюз ЦК
.suffix = ЦентКом, Закрыт
.desc = { ent-AirlockHatchCentcomm.desc }
ent-AirlockHatchMaintLocked = Технический Шлюз
.suffix = Обслуживание, Закрыт
.desc = { ent-AirlockHatchMaint.desc }
ent-AirlockHatchSyndicateLocked = Шлюз Синдиката
.suffix = Синдикат, Закрыт
.desc = { ent-AirlockHatchCentcomm.desc }
ent-DoubleGlassAirlockCentcomLocked = Двойной Шлюз ЦК
.suffix = ЦентКом, Закрыт
.desc = { ent-DoubleGlassAirlock.desc }
ent-DoubleGlassAirlockSyndicateLocked = Двойной Шлюз Синдиката
.suffix = Синдикат, Закрыт
.desc = { ent-DoubleGlassAirlock.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-AirlockHatchCentcomm = Шлюз ЦК
.desc = Удерживает плохих снаружи, а хороших внутри.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-AirlockHatchMaint = Технический Шлюз ЦК
.desc = Защищает Тех.Тонели в безопасности.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-AirlockHatchCentcomm = Шлюз ЦК
.desc = Удерживает плохих снаружи, а хороших внутри.
ent-AirlockHatchMaint = Технический Шлюз ЦК
.desc = Защищает Тех.Тонели в безопасности.
8 changes: 4 additions & 4 deletions Resources/Prototypes/_Sunrise/Decals/markings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
id: LoadingArrow
tags: ["station", "markings"]
sprite:
sprite: Decals/markings.rsi
sprite: _Sunrise/Decals/markings.rsi
state: loading_arrow

- type: decal
id: LoadingLine
tags: ["station", "markings"]
sprite:
sprite: Decals/markings.rsi
sprite: _Sunrise/Decals/markings.rsi
state: loading_line

- type: decal
id: LoadingArrowGreyscale
tags: ["station", "markings"]
sprite:
sprite: Decals/markings.rsi
sprite: _Sunrise/Decals/markings.rsi
state: loading_arrow_greyscale

- type: decal
id: LoadingLineGreyscale
tags: ["station", "markings"]
sprite:
sprite: Decals/markings.rsi
sprite: _Sunrise/Decals/markings.rsi
state: loading_line_greyscale
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: entity
id: DoubleGlassAirlock
parent: Airlock
name: Double Glass Airlock
description: It opens, it closes, and maybe crushes you, but it bigger than normal door.
components:
- type: MeleeSound
soundGroups:
Brute:
path:
"/Audio/Effects/glass_hit.ogg"
- type: Door
occludes: false
- type: Occluder
enabled: false
- type: Sprite
sprite: _Sunrise/Structures/Doors/Airlocks/Glass/double_glass_airlock.rsi
snapCardinals: false
offset: 0.5,0
- type: AnimationPlayer
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.49,-0.49,1.49,0.49" # don't want this colliding with walls or they won't close
density: 100
mask:
- FullTileMask
layer: #removed opaque from the layer, allowing lasers to pass through glass airlocks
- GlassAirlockLayer
- type: LayerChangeOnWeld
unWeldedLayer: GlassAirlockLayer
weldedLayer: GlassLayer
- type: Rotatable
rotateWhileAnchored: true
- type: Transform
noRot: false
- type: Construction
graph: Airlock
node: glassAirlock
- type: PaintableAirlock
group: Glass
- type: RadiationBlocker
resistance: 2
- type: Tag
tags:
- GlassAirlock
# This tag is used to nagivate the Airlock construction graph. It's needed because the construction graph is shared between Airlock, AirlockGlass, and HighSecDoor
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: entity
id: AirlockHatchMaint
parent: HighSecDoor
name: Maintenance Hatch
description: Protects maintenance tunnels.
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: _Sunrise/Structures/Doors/Airlocks/Hatches/maintenance_hatch.rsi
- type: Weldable
time: 10

- type: entity
id: AirlockHatchCentcomm
parent: HighSecDoor
name: CentCom Hatch
description: Keeps the bad out and keeps the good in.
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: _Sunrise/Structures/Doors/Airlocks/Hatches/centcom_hatch.rsi
- type: Weldable
time: 10
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,51 @@
- type: ContainerFill
containers:
board: [ DoorElectronicsBlueShield ]

#Hatches
- type: entity
parent: AirlockHatchCentcomm
id: AirlockHatchCentcommLocked
name: CentCom Hatch
suffix: CentCom, Locked
components:
- type: AccessReader
access: [["CentralCommand"]]

- type: entity
parent: AirlockHatchMaint
id: AirlockHatchMaintLocked
name: Maintenance Hatch
suffix: Maint, Locked
components:
- type: AccessReader
access: [["Maintenance"]]

- type: entity
parent: AirlockHatchCentcomm
id: AirlockHatchSyndicateLocked
name: Syndicate Hatch
suffix: Syndicate, Locked
components:
- type: AccessReader
access: [["SyndicateAgent"]]

#DoubleAirlocks

- type: entity
parent: DoubleGlassAirlock
id: DoubleGlassAirlockCentcomLocked
name: Double Glass Airlock
suffix: CentCom, Locked
components:
- type: AccessReader
access: [["CentralCommand"]]

- type: entity
parent: DoubleGlassAirlock
id: DoubleGlassAirlockSyndicateLocked
name: Double Glass Airlock
suffix: Syndicate, Locked
components:
- type: AccessReader
access: [["SyndicateAgent"]]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0b73a51

Please sign in to comment.