Skip to content

Commit

Permalink
lockable doors, access changes, proper IDs with suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHNT committed Jul 11, 2024
1 parent 925cc7b commit d42a571
Show file tree
Hide file tree
Showing 21 changed files with 204 additions and 59 deletions.
17 changes: 11 additions & 6 deletions Resources/Prototypes/_Nuclear14/Access/bosmidwest.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
- type: accessLevel
id: KnightCommander
name: id-card-access-level-midwest-knight-commander
id: PaladinCommander
name: id-card-access-level-midwest-paladin-commander

- type: accessLevel
id: ScribeMidwest
name: id-card-access-level-midwest-scribe
id: Paladin
name: id-card-access-level-midwest-paladin

- type: accessLevel
id: BoSMidwest
name: id-card-access-level-midwest

- type: accessGroup
id: BOSMidwest
tags:
- KnightCommander
- ScribeMidwest
- PaladinCommander
- Paladin
- BoSMidwest
11 changes: 3 additions & 8 deletions Resources/Prototypes/_Nuclear14/Access/ncr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@
name: id-card-access-level-ncr-nco

- type: accessLevel
id: NCRSoldier
name: id-card-access-level-ncr-soldier

- type: accessLevel
id: NCRCadet
name: id-card-access-level-ncr-cadet
id: NCR
name: id-card-access-level-ncr

- type: accessGroup
id: NCR
tags:
- NCROfficer
- NCRRanger
- NCRNCO
- NCRSoldier
- NCRCadet
- NCR
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
suffix: BOS Midwest Commander
components:
- type: SpawnPoint
job_id: BoSMidKnightCommander
job_id: BoSMidPaladinCommander
spawn_type: LateJoin
Original file line number Diff line number Diff line change
Expand Up @@ -84,23 +84,17 @@

# Passports
- type: entity
parent: Clothing
parent: N14IDCard
id: N14IDPassportBlank
name: blank passport
description: A blank passport used by wastelanders.
components:
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
state: passport_blank
scale: 0.6, 0.6
scale: 0.7, 0.7
- type: Clothing
slots:
- idcard
sprite: _Nuclear14/Objects/Misc/identification.rsi
- type: Item
heldPrefix: default
- type: StationRecordKeyStorage
- type: IdCard

- type: entity
parent: N14IDPassportBlank
Expand Down Expand Up @@ -158,6 +152,34 @@
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
state: bos_holotag
- type: PresetIdCard
job: BoSMidScribe

- type: entity
parent: N14IDPassportBlank
id: N14IDBrotherhoodHolotagPaladin
name: holotag
description: An ID holotag worn by the Paladins of the Brotherhood of Steel.
suffix: Paladin
components:
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
state: bos_holotag
- type: PresetIdCard
job: BoSMidPaladin

- type: entity
parent: N14IDPassportBlank
id: N14IDBrotherhoodHolotagCommander
name: holotag
description: An ID holotag worn by the Paladin Commander of the Brotherhood of Steel.
suffix: Commander
components:
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
state: bos_holotag
- type: PresetIdCard
job: BoSMidPaladinCommander

- type: entity
parent: N14IDPassportBlank
Expand All @@ -171,6 +193,32 @@
- type: PresetIdCard
job: NCRSoldier

- type: entity
parent: N14IDPassportBlank
id: N14IDNCRDogtagNCO
name: dogtag
description: An ID dogtag worn by decently ranking members of the NCR.
suffix: NCO
components:
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
state: ncrdogtag
- type: PresetIdCard
job: NCRNCO

- type: entity
parent: N14IDPassportBlank
id: N14IDNCRDogtagOfficer
name: dogtag
description: An ID dogtag worn by high ranking members of the NCR.
suffix: Officer
components:
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
state: ncrdogtag
- type: PresetIdCard
job: NCROfficer

# Desert Rangers
- type: entity
parent: N14IDPassportBlank
Expand All @@ -196,6 +244,12 @@
- type: PresetIdCard
job: NCRRanger

- type: entity
parent: N14IDBadgeNCRDesertRanger
id: N14IDBadgeNCRRanger
description: An ID badge worn by Republic Rangers.
suffix: NCR

- type: entity
parent: N14IDPassportBlank
id: N14IDBadgeNCRDesertRangerElite
Expand All @@ -208,6 +262,12 @@
- type: PresetIdCard
job: NCRRangerVeteran

- type: entity
parent: N14IDBadgeNCRDesertRangerElite
id: N14IDBadgeNCRRangerElite
description: An ID badge worn by Elite Republic Rangers.
suffix: NCR

- type: entity
parent: N14IDPassportBlank
id: N14IDBadgeNCRDesertRangerChief
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,101 @@
# NCR
- type: entity
parent: AirlockGlass
parent: N14DoorWoodSecureNCR
id: N14DoorWoodSecureNCRLocked
suffix: NCR, Locked
components:
- type: AccessReader
access: [["NCR"]]
- type: Wires
layoutId: AirlockService
layoutId: AirlockSecurity

- type: entity
parent: N14DoorWoodSecureNCR
id: N14DoorWoodSecureNCRLockedNCO
suffix: NCR, Locked, NCO
components:
- type: AccessReader
access: [["NCRNCO"]]
- type: Wires
layoutId: AirlockSecurity

- type: entity
parent: N14DoorWoodSecureNCR
id: N14DoorWoodSecureNCRLockedOfficer
suffix: NCR, Locked, Officer
components:
- type: AccessReader
access: [["NCROfficer"]]
- type: Wires
layoutId: AirlockSecurity

- type: entity
parent: N14DoorWoodSecureNCR
id: N14DoorWoodSecureNCRLockedRanger
suffix: NCR, Locked, Ranger
components:
- type: AccessReader
access: [["NCRRanger"]]
- type: Wires
layoutId: HighSec

# BOS
- type: entity
parent: N14DoorBunker
id: N14DoorBunkerLockedBOSMidwest
suffix: BOSMidwest, Locked
components:
- type: AccessReader
access: [["BoSMidwest"]]
- type: Wires
layoutId: HighSec

- type: entity
parent: N14DoorBunkerGlass
id: N14DoorBunkerGlassLockedBOSMidwest
suffix: BOSMidwest, Locked
components:
- type: AccessReader
access: [["BoSMidwest"]]
- type: Wires
layoutId: HighSec

- type: entity
parent: N14DoorBunker
id: N14DoorBunkerLockedPaladin
suffix: BOSMidwest, Locked, Paladin
components:
- type: AccessReader
access: [["Paladin"]]
- type: Wires
layoutId: HighSec

- type: entity
parent: N14DoorBunkerGlass
id: N14DoorBunkerGlassLockedPaladin
suffix: BOSMidwest, Locked, Paladin
components:
- type: AccessReader
access: [["Paladin"]]
- type: Wires
layoutId: HighSec

- type: entity
parent: N14DoorBunker
id: N14DoorBunkerLockedPaladinCommander
suffix: BOSMidwest, Locked, Commander
components:
- type: AccessReader
access: [["PaladinCommander"]]
- type: Wires
layoutId: HighSec

- type: entity
parent: N14DoorBunkerGlass
id: N14DoorBunkerGlassLockedPaladinCommander
suffix: BOSMidwest, Locked, Commander
components:
- type: AccessReader
access: [["PaladinCommander"]]
- type: Wires
layoutId: HighSec
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
startingGear: BoSMidKnightGear
icon: "JobIconPassenger"
canBeAntag: false
accessGroups:
- BOSMidwest
access:
- BoSMidwest
special:
- !type:AddComponentSpecial
components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
back: N14ClothingBackpackMilitary
shoes: N14ClothingBootsCombatFilled
hands: N14ClothingHandsGlovesCombat
id: N14IDBrotherhoodHolotag
id: N14IDBrotherhoodHolotagCommander
ears: N14ClothingHeadsetBOSMidwest
belt: ClothingBeltMilitary

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@
startingGear: BoSMidPaladinGear
icon: "JobIconPassenger"
canBeAntag: false
accessGroups:
- BOSMidwest
access:
- BoSMidwest
- Paladin
special:
- !type:AddComponentSpecial
components:
- type: NpcFactionMember
factions:
- BrotherhoodMidwest

- type: startingGear
id: BoSMidPaladinGear
equipment:
Expand All @@ -29,7 +30,7 @@
head: N14ClothingHeadHatBrotherhoodFieldCap
outerClothing: N14ClothingOuterMidwestArmorMK2
hands: N14ClothingHandsGlovesCombat
id: N14IDBrotherhoodHolotag
id: N14IDBrotherhoodHolotagPaladin
ears: N14ClothingHeadsetBOSMidwest #placeholder
belt: ClothingBeltMilitary

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
icon: "JobIconPassenger"
supervisors: job-supervisors-bos-mid
access:
- ScribeMidwest
- BoSMidwest
special:
- !type:AddComponentSpecial
components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
startingGear: BoSMidSquireGear
icon: "JobIconPassenger"
canBeAntag: false
accessGroups:
- BOSMidwest
access:
- BoSMidwest
special:
- !type:AddComponentSpecial
components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
supervisors: job-supervisors-ncr-nco
canBeAntag: false
access:
- NCRCadet
- NCR
special:
- !type:AddComponentSpecial
components:
Expand Down
5 changes: 2 additions & 3 deletions Resources/Prototypes/_Nuclear14/Roles/Jobs/NCR/ncr_doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
supervisors: job-supervisors-ncr-nco
canBeAntag: false
access:
- NCRCadet
- NCRSoldier
- NCR
special:
- !type:AddComponentSpecial
components:
- type: NpcFactionMember
factions:
- NCR

- type: startingGear
id: NCRDoctorGear
equipment:
Expand Down
5 changes: 2 additions & 3 deletions Resources/Prototypes/_Nuclear14/Roles/Jobs/NCR/ncr_mp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
supervisors: job-supervisors-ncr
canBeAntag: false
access:
- NCRCadet
- NCRSoldier
- NCR
- NCRNCO
special:
- !type:AddComponentSpecial
Expand All @@ -32,7 +31,7 @@
shoes: N14ClothingBootsLeather
belt: N14ClothingBeltPoliceFilled
outerClothing: N14ClothingOuterNCRLightPouchedVest
id: N14IDNCRDogtag
id: N14IDNCRDogtagNCO
backpack: N14ClothingBackpackSatchelNCRFilled
innerClothingSkirt: N14ClothingMPUniformNCR #placeholder
satchel: N14ClothingBackpackSatchelNCRFilled
Expand Down
Loading

0 comments on commit d42a571

Please sign in to comment.