forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows and glass airlocks in expeditions (and only there) block lase…
…rs (new-frontiers-14#1849) * Windows and glass airlocks block lasers * grilles * descr * cleanup * comments * dungeon templates yml swap * dungeon_configs.yml comments --------- Co-authored-by: Whatstone <[email protected]>
- Loading branch information
1 parent
e6cb084
commit 279d066
Showing
14 changed files
with
267 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
133 changes: 133 additions & 0 deletions
133
Resources/Prototypes/_NF/Entities/Structures/Dungeon/airlocks.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
# Special glass airlocks for dungeons that block lasers | ||
# Base | ||
- type: entity | ||
id: AirlockGlassMurkyDungeon | ||
abstract: true | ||
suffix: DO NOT MAP, Dungeon only | ||
description: An airlock with murky glass windows, it's hard to see what's on the other side. | ||
components: | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeAabb | ||
bounds: "-0.49,-0.49,0.49,0.49" | ||
density: 100 | ||
mask: | ||
- FullTileMask | ||
layer: | ||
- AirlockLayer # Blocks lasers, but not LoS | ||
|
||
# Basic airlock | ||
- type: entity | ||
id: AirlockGlassDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockGlass | ||
noSpawn: true | ||
|
||
# Maint airlock | ||
- type: entity | ||
id: AirlockMaintGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockMaintGlassLocked | ||
noSpawn: true | ||
|
||
# Engineering airlocks | ||
- type: entity | ||
id: AirlockEngineeringGlassDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockEngineeringGlass | ||
noSpawn: true | ||
|
||
- type: entity | ||
id: AirlockEngineeringGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockEngineeringGlassLocked | ||
noSpawn: true | ||
|
||
# Security airlocks | ||
- type: entity | ||
id: AirlockSecurityGlassDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockSecurityGlass | ||
noSpawn: true | ||
|
||
- type: entity | ||
id: AirlockSecurityGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockSecurityGlassLocked | ||
noSpawn: true | ||
|
||
- type: entity | ||
id: AirlockBrigGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockBrigGlassLocked | ||
noSpawn: true | ||
|
||
# Mining airlocks | ||
- type: entity | ||
id: AirlockMiningGlassDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockMiningGlass | ||
noSpawn: true | ||
|
||
- type: entity | ||
id: AirlockMiningGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockMiningGlassLocked | ||
noSpawn: true | ||
|
||
# Virology airlocks | ||
- type: entity | ||
id: AirlockVirologyGlassDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockVirologyGlass | ||
noSpawn: true | ||
|
||
- type: entity | ||
id: AirlockVirologyGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockVirologyGlassLocked | ||
noSpawn: true | ||
|
||
# Mercenary airlocks | ||
- type: entity | ||
id: AirlockMercenaryGlassDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockMercenaryGlass | ||
noSpawn: true | ||
|
||
- type: entity | ||
id: AirlockMercenaryGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockMercenaryGlassLocked | ||
noSpawn: true | ||
|
||
# Science airlock | ||
- type: entity | ||
id: AirlockScienceGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockScienceGlassLocked | ||
noSpawn: true | ||
|
||
# Hydroponics ailock | ||
- type: entity | ||
id: AirlockHydroGlassLockedDungeon | ||
parent: | ||
- AirlockGlassMurkyDungeon | ||
- AirlockHydroGlassLocked | ||
noSpawn: true |
15 changes: 15 additions & 0 deletions
15
Resources/Prototypes/_NF/Entities/Structures/Dungeon/grille.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Special grilles for dungeons that block lasers | ||
- type: entity | ||
id: GrilleDungeon | ||
parent: Grille | ||
noSpawn: true | ||
suffix: DO NOT MAP, Dungeon only | ||
components: | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeAabb | ||
bounds: "-0.5,-0.5,0.5,0.5" | ||
layer: | ||
- WallLayer # Blocks lasers, but not LoS |
Oops, something went wrong.