Skip to content

Commit

Permalink
adds ID printing machines (#625)
Browse files Browse the repository at this point in the history
* adds ID printing machines

* adds vault ID printing

* fix dupe

* fix caravan

* add localisation for lathe category
  • Loading branch information
Peptide90 authored Oct 25, 2024
1 parent 4382f89 commit f9190bd
Show file tree
Hide file tree
Showing 10 changed files with 395 additions and 22 deletions.
3 changes: 2 additions & 1 deletion Resources/Locale/en-US/_Nuclear14/construction.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ lathe-category-shields = Shields
lathe-category-weapons-melee = Melee
lathe-category-weapons-pistols = Pistols
lathe-category-weapons-rifles = Rifles
lathe-category-weapons-smgs = Smgs
lathe-category-weapons-smgs = Smgs
lathe-category-identification = Identification
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@
- type: entity
parent: N14IDPassportBlank
id: N14IDBrotherhoodHolotag
name: holotag
name: holotag (scribe)
description: An ID holotag worn by the Brotherhood of Steel.
suffix: Scribe
suffix: Midwest Scribe
components:
- type: Sprite
sprite: _Nuclear14/Objects/Misc/identification.rsi
Expand All @@ -176,39 +176,39 @@
- type: entity
parent: N14IDBrotherhoodHolotag
id: N14IDBrotherhoodHolotagSquire
name: holotag
name: holotag (squire)
description: An ID holotag worn by the Brotherhood of Steel.
suffix: Squire
suffix: Midwest Squire
components:
- type: PresetIdCard
job: BoSMidSquire

- type: entity
parent: N14IDBrotherhoodHolotag
id: N14IDBrotherhoodHolotagKnight
name: holotag
name: holotag (knight)
description: An ID holotag worn by the Brotherhood of Steel.
suffix: Knight
suffix: Midwest Knight
components:
- type: PresetIdCard
job: BoSMidKnight

- type: entity
parent: N14IDBrotherhoodHolotag
id: N14IDBrotherhoodHolotagPaladin
name: holotag
name: holotag (paladin)
description: An ID holotag worn by the Paladins of the Brotherhood of Steel.
suffix: Paladin
suffix: Midwest Paladin
components:
- type: PresetIdCard
job: BoSMidPaladin

- type: entity
parent: N14IDBrotherhoodHolotag
id: N14IDBrotherhoodHolotagCommander
name: holotag
name: holotag (commander)
description: An ID holotag worn by the Paladin Commander of the Brotherhood of Steel.
suffix: Commander
suffix: Midwest Commander
components:
- type: PresetIdCard
job: BoSMidPaladinCommander
Expand All @@ -217,7 +217,7 @@
- type: entity
parent: N14IDPassportBlank
id: N14IDBrotherhoodWashingtonHolotagInitiate
name: holotag
name: holotag (initiate)
description: An ID holotag worn by an Initiate in the Washington Brotherhood of Steel.
suffix: Washington Initiate
components:
Expand All @@ -242,7 +242,7 @@
- type: entity
parent: N14IDBrotherhoodWashingtonHolotagInitiate
id: N14IDBrotherhoodWashingtonHolotagKnight
name: holotag
name: holotag (knight)
description: An ID holotag worn by a Knight in the Washington Brotherhood of Steel.
suffix: Washington Knight
components:
Expand All @@ -252,7 +252,7 @@
- type: entity
parent: N14IDBrotherhoodWashingtonHolotagInitiate
id: N14IDBrotherhoodWashingtonHolotagPaladin
name: holotag
name: holotag (paladin)
description: An ID holotag worn by a Paladin in the Washington Brotherhood of Steel.
suffix: Washington Paladin
components:
Expand All @@ -262,7 +262,7 @@
- type: entity
parent: N14IDBrotherhoodWashingtonHolotagInitiate
id: N14IDBrotherhoodWashingtonHolotagCommander
name: holotag
name: holotag (commander)
description: An ID holotag worn by the Commander of the Washington Brotherhood of Steel.
suffix: Washington Commander
components:
Expand All @@ -273,7 +273,7 @@
- type: entity
parent: N14IDPassportBlank
id: N14IDEnclaveTrooper
name: holotag
name: holotag (trooper)
description: An ID holotag worn by the Enclave.
suffix: Trooper
components:
Expand All @@ -286,7 +286,7 @@
- type: entity
parent: N14IDPassportBlank
id: N14IDEnclaveOfficer
name: holotag
name: holotag (officer)
description: An ID holotag worn by higher ranking memebers of the Enclave.
suffix: Officer
components:
Expand All @@ -313,7 +313,7 @@
- type: entity
parent: N14IDPassportBlank
id: N14IDNCRDogtag
name: dogtag
name: dogtag (soldier)
description: An ID dogtag worn by members of the NCR.
suffix: Soldier, Cadet
components:
Expand Down Expand Up @@ -354,7 +354,7 @@
- type: entity
parent: N14IDNCRDogtag
id: N14IDNCRDogtagNCO
name: dogtag
name: dogtag (NCO)
description: An ID dogtag worn by decently ranking members of the NCR.
suffix: NCO, QM
components:
Expand All @@ -367,7 +367,7 @@
- type: entity
parent: N14IDNCRDogtag
id: N14IDNCRDogtagOfficer
name: dogtag
name: dogtag (officer)
description: An ID dogtag worn by high ranking members of the NCR.
suffix: Officer
components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,4 +503,110 @@
- type: Construction
graph: N14WorkbenchForge
node: WorkbenchForgeFrame
defaultTarget: WorkbenchForge
defaultTarget: WorkbenchForge

# ID Printer
- type: entity
parent: BaseLathe
id: N14WorkbenchIDPrinter
description: An ID printer.
name: ID Printer
abstract: true # Base off of this per faction.
components:
- type: Sprite
sprite: _Nuclear14/Structures/Machines/circuit_imprinter.rsi
snapCardinals: true
layers:
- state: icon
map: ["enum.LatheVisualLayers.IsRunning"]
- state: unlit
shader: unshaded
map: ["enum.PowerDeviceVisualLayers.Powered"]
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: MaterialStorage
whitelist:
tags:
- Sheet
- RawMaterial
- type: Lathe
producingSound: /Audio/Machines/circuitprinter.ogg
idleState: icon
runningState: building

- type: entity
parent: N14WorkbenchIDPrinter
id: N14WorkbenchIDPrinterTownspeople
description: An ID printer for printing town passports
suffix: townspeople
components:
- type: Lathe
staticRecipes:
- PassportTownsfolk
- PassportTownsfolkShopkeeper
- PassportTownsfolkMechanic
- PassportTownsfolkDoctor
- PassportTownsfolkDeputy
- PassportTownsfolkSheriff
- PassportTownsfolkMayor

- type: entity
parent: N14WorkbenchIDPrinter
id: N14WorkbenchIDPrinterBrotherhoodMidwest
description: An ID printer for printing Midwest Brotherhood holotags.
suffix: Midwest BOS
components:
- type: Lathe
staticRecipes:
- HolotagMidwestScribe
- HolotagMidwestSquire
- HolotagMidwestKnight
- HolotagMidwestPaladin

- type: entity
parent: N14WorkbenchIDPrinter
id: N14WorkbenchIDPrinterBrotherhoodWashington
description: An ID printer for printing Washington Brotherhood holotags.
suffix: Washington BOS
components:
- type: Lathe
staticRecipes:
- HolotagWashingtonScribe
- HolotagWashingtonInitiate
- HolotagWashingtonKnight
- HolotagWashingtonPaladin

- type: entity
parent: N14WorkbenchIDPrinter
id: N14WorkbenchIDPrinterCaravan
description: An ID printer for printing caravan IDs.
suffix: Caravan
components:
- type: Lathe
staticRecipes:
- PassportCaravan
- PassportCaravanTrader

- type: entity
parent: N14WorkbenchIDPrinter
id: N14WorkbenchIDPrinterNCR
description: An ID printer for printing NCR IDs.
suffix: NCR
components:
- type: Lathe
staticRecipes:
- DogtagNCR
- DogtagNCRNCO

- type: entity
parent: N14WorkbenchIDPrinter
id: N14WorkbenchIDPrinterVault
description: An ID printer for printing Vault IDs.
suffix: Vault
components:
- type: Lathe
staticRecipes:
- IDVault
- IDVaultEngineer
- IDVaultSecurity
- IDVaultDoctor
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@

- type: latheCategory
id: N14WeaponSMGs
name: lathe-category-weapons-smgs
name: lathe-category-weapons-smgs

- type: latheCategory
id: N14Identification
name: lathe-category-identification
Loading

0 comments on commit f9190bd

Please sign in to comment.