Skip to content

Commit

Permalink
roles (#254)
Browse files Browse the repository at this point in the history
* roles

* revolver sprite and standardized pistols

---------

Co-authored-by: Peptide90 <[email protected]>
  • Loading branch information
PatoGrone and Peptide90 authored Jul 1, 2024
1 parent e9e3f60 commit 911db12
Show file tree
Hide file tree
Showing 26 changed files with 240 additions and 33 deletions.
12 changes: 12 additions & 0 deletions Resources/Prototypes/Nuclear14/Catalog/Fills/Belts/belt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@
- id: SpeedLoader45-70
- id: SpeedLoader45-70

- type: entity
noSpawn: true
parent: ClothingBeltRevolver
id: ClothingBeltRevolverCaptainfilled
components:
- type: StorageFill
contents:
- id: N14WeaponRevolverCaptainMagnun
- id: SpeedLoader44
- id: SpeedLoader44
- id: SpeedLoader44

- type: entity
noSpawn: true
parent: ClothingBeltMedical
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@

- type: entity
parent: ClothingHeadBase
id: N14ClothingHeadHatNCRBeretSapper
name: NCR sapper beret
description: An black beret worn by NCR combat engineers.
id: N14ClothingHeadHatNCRBeretQM
name: NCR quartermaster beret
description: An black beret worn by NCR quartermasters.
components:
- type: Sprite
sprite: Nuclear14/Clothing/Head/FalloutHats/ncrberetsapper.rsi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,13 +314,24 @@
parent: ClothingUniformBase
id: N14ClothingOfficerUniformNCR
name: field NCR officer uniform
description: a field uniform wore with pride by the officers of the NCR,.
description: a field uniform wore with pride by the officers of the NCR.
components:
- type: Sprite
sprite: Nuclear14/Clothing/Uniforms/FalloutSuits/NCRofficer.rsi
- type: Clothing
sprite: Nuclear14/Clothing/Uniforms/FalloutSuits/NCRofficer.rsi

- type: entity
parent: ClothingUniformBase
id: N14ClothingMPUniformNCR
name: NCR military police uniform
description: a simple uniform used by the military police of the NCR.
components:
- type: Sprite
sprite: Nuclear14/Clothing/Uniforms/FalloutSuits/NCRmp.rsi
- type: Clothing
sprite: Nuclear14/Clothing/Uniforms/FalloutSuits/NCRmp.rsi

- type: entity
parent: ClothingUniformBase
id: N14ClothingUniformRangerV1
Expand Down
36 changes: 36 additions & 0 deletions Resources/Prototypes/Nuclear14/Entities/Markers/Spawners/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,42 @@
- state: green
- state: passenger # TODO make new icons

- type: entity
id: N14SpawnPointNCRQM
parent: N14SpawnPointWastelander
name: NCR quartermaster
components:
- type: SpawnPoint
job_id: NCRQM
- type: Sprite
layers:
- state: green
- state: passenger # TODO make new icons

- type: entity
id: N14SpawnPointNCRDoctor
parent: N14SpawnPointWastelander
name: NCR doctor
components:
- type: SpawnPoint
job_id: NCRDoctor
- type: Sprite
layers:
- state: green
- state: passenger # TODO make new icons

- type: entity
id: N14SpawnPointNCRMP
parent: N14SpawnPointWastelander
name: NCR military police
components:
- type: SpawnPoint
job_id: NCRMP
- type: Sprite
layers:
- state: green
- state: passenger # TODO make new icons

- type: entity
id: N14SpawnPointNCRNCO
parent: N14SpawnPointWastelander
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@
- id: N14ClothingBackpackSatchelNCR
- id: N14WeaponSniperHunting
- id: MagazineBox308
- id: N14WeaponPistolColt
- id: N14MagazinePistol45
- id: N14MagazinePistol45
- id: N14MagazinePistol45
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand All @@ -109,10 +108,9 @@
- id: N14ClothingBackpackSatchelNCR
- id: N14WeaponShotgun
- id: MagazineBox12gauge
- id: N14WeaponPistolColt
- id: N14MagazinePistol45
- id: N14MagazinePistol45
- id: N14MagazinePistol45
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand All @@ -134,10 +132,10 @@
- id: ClothingBeltNCRPouches
- id: N14WastelandFlagSpear
- id: N14ClothingBackpackSatchelNCR
- id: N14WeaponPistolColt
- id: N14MagazinePistol45
- id: N14MagazinePistol45
- id: N14CombatKnife
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg

Expand All @@ -161,9 +159,6 @@
- id: N14MagazineSMG9mm
- id: N14MagazineSMG9mm
- id: N14MagazineSMG9mm
- id: N14WeaponPistol10mm
- id: N14MagazinePistol10mm
- id: N14MagazinePistol10mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand All @@ -186,9 +181,9 @@
- id: ClipMagazine308Rifle
- id: ClipMagazine308Rifle
- id: ClipMagazine308Rifle
- id: N14WeaponPistol10mm
- id: N14MagazinePistol10mm
- id: N14MagazinePistol10mm
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand All @@ -209,9 +204,9 @@
- id: LongMagazine5.56Rifle
- id: LongMagazine5.56Rifle
- id: LongMagazine5.56Rifle
- id: N14WeaponPistol10mm
- id: N14MagazinePistol10mm
- id: N14MagazinePistol10mm
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand All @@ -231,9 +226,9 @@
- id: N14WeaponAutoRifle
- id: Magazine308Rifle
- id: Magazine308Rifle
- id: N14WeaponPistol10mm
- id: N14MagazinePistol10mm
- id: N14MagazinePistol10mm
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand All @@ -254,9 +249,9 @@
- id: N14MagazineShotgun20
- id: N14MagazineShotgun20
- id: N14MagazineShotgun20
- id: N14WeaponPistol10mm
- id: N14MagazinePistol10mm
- id: N14MagazinePistol10mm
- id: N14WeaponPistol9mm
- id: N14MagazinePistol9mm
- id: N14MagazinePistol9mm
- id: N14CombatKnife
sound:
path: /Audio/Effects/unwrap.ogg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,23 @@
- SpeedLoader
proto: N14Cartridge44Magnum

- type: entity
name: captain revolver
parent: BaseWeaponRevolver
id: N14WeaponRevolverCaptainMagnun
description: A true freedom fighter carries his flag everywhere, even on his gun. Uses .44 magnum ammo.
components:
- type: Sprite
sprite: Nuclear14/Objects/Weapons/Guns/Revolvers/captainmagnum.rsi
- type: Clothing
sprite: Nuclear14/Objects/Weapons/Guns/Revolvers/captainmagnum.rsi
- type: RevolverAmmoProvider
whitelist:
tags:
- N14Cartridge44Magnum
- SpeedLoader
proto: N14Cartridge44Magnum

- type: entity
name: hunting revolver
parent: BaseWeaponRevolver
Expand Down
28 changes: 28 additions & 0 deletions Resources/Prototypes/Nuclear14/Roles/Jobs/NCR/ncr_doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- type: job
id: NCRDoctor
setPreference: true
name: NCR doctor
description: Treat the troopers and offer services to the wasteland people.
playTimeTracker: NCRDoctor
startingGear: NCRDoctorGear
icon: "JobIconPassenger"
supervisors: job-supervisors-ncr-nco

- type: startingGear
id: NCRDoctorGear
equipment:
jumpsuit: N14ClothingUniformNCR
back: N14ClothingBackpackWastelanderFilled # N14TODO: Doctors Bag
head: N14ClothingHeadHatNCRBeretMedic
shoes: N14ClothingShoesBlack
gloves: N14ClothingHandsGlovesNitrile
belt: ClothingBeltMedicalfilled
id: N14IDNCRDogtag
pocket1: N14WeaponPistol9mm
outerClothing: ClothingOuterCoatLab
innerClothingSkirt: N14ClothingUniformNCR
satchel: N14ClothingBackpackSatchelWastelanderFilled
duffelbag: N14ClothingBackpackDuffelFilled # N14TODO: Doctors Bag

- type: playTimeTracker
id: NCRDoctor
29 changes: 29 additions & 0 deletions Resources/Prototypes/Nuclear14/Roles/Jobs/NCR/ncr_mp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
- type: job
id: NCRMP
setPreference: true
name: NCR military police
description: Protect the camp and make sure the soldiers behave correctly.
playTimeTracker: NCRMP
startingGear: NCRMPGear
icon: "JobIconSecurityOfficer"
supervisors: job-supervisors-ncr
canBeAntag: false
access:
- NCRCadet
- NCRSoldier
- NCRNCO

- type: startingGear
id: NCRMPGear
equipment:
head: N14ClothingHeadHatNCRHelmetMetalMilitaryPolice
back: N14ClothingBackpackNCR
jumpsuit: N14ClothingMPUniformNCR
shoes: N14ClothingBootsLeather
belt: N14ClothingBeltPoliceFilled
outerClothing: N14ClothingOuterNCRLightPouchedVest
id: N14IDNCRDogtag
innerClothingSkirt: N14ClothingMPUniformNCR #placeholder

- type: playTimeTracker
id: NCRMP
4 changes: 2 additions & 2 deletions Resources/Prototypes/Nuclear14/Roles/Jobs/NCR/ncr_nco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
- type: startingGear
id: NCRNCOGear
equipment:
head: N14ClothingHeadHatNCRHelmetMetalMilitaryPolice
head: N14ClothingHeadHatNCRHelmetMetal
back: N14ClothingBackpackNCR
jumpsuit: N14ClothingOfficerUniformNCR
shoes: N14ClothingBootsLeather
neck: N14ClothingNeckMantleNCR
belt: ClothingBeltNCR
eyes: ClothingEyesGlassesSunglasses
outerClothing: N14ClothingOuterNCRVest
id: N14IDNCRDogtag
innerClothingSkirt: N14ClothingOfficerUniformNCR #placeholder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
head: N14ClothingHeadHatNCRBeretOfficer
jumpsuit: N14ClothingOfficerUniformNCR
shoes: N14ClothingBootsLeather
belt: ClothingBeltRevolverCaptainfilled
eyes: ClothingEyesGlassesSunglasses
id: N14IDNCRDogtag
innerClothingSkirt: N14ClothingOfficerUniformNCR #placeholder
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: job
id: NCRQM
setPreference: true
name: NCR quartermaster
description: Protect the armory and trade looted equipment with any wastelander.
playTimeTracker: NCRQM
startingGear: NCRQMGear
icon: "JobIconWarden"
supervisors: job-supervisors-ncr-nco
canBeAntag: false
access:
- NCRCadet
- NCRSoldier

- type: startingGear
id: NCRQMGear
equipment:
head: N14ClothingHeadHatNCRBeretQM
jumpsuit: N14ClothingUniformNCR
shoes: N14ClothingBootsLeather
id: N14IDNCRDogtag
innerClothingSkirt: N14ClothingUniformNCR #placeholder

- type: playTimeTracker
id: NCRQM
3 changes: 3 additions & 0 deletions Resources/Prototypes/Nuclear14/Roles/Jobs/factions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
roles:
- NCRCadet
- NCRNCO
- NCRMP
- NCRQM
- NCRDoctor
- NCROfficer
- NCRSoldier
- NCRRanger
Expand Down
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from Mojave sun 13 https://github.com/Mojave-Sun/mojave-sun-13/blob/master/mojave/icons/objects/clothing/clothing_world/uniforms_world.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-INNERCLOTHING",
"directions": 4
}
]
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken/modified from desertrose at https://github.com/DesertRose2/desertrose/commit/0b8f7b7694a4a814724ba8ed59f695916ce845ce",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BELT",
"directions": 4
}
]
}
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.

0 comments on commit 911db12

Please sign in to comment.