Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo Loadout Groups #909

Merged
merged 3 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Resources/Prototypes/CharacterItemGroups/cargoGroups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- type: characterItemGroup
id: LoadoutOuterCargo
items:
- type: loadout
id: LoadoutCargoOuterWinterCargo
- type: loadout
id: LoadoutCargoOuterWinterMiner

- type: characterItemGroup
id: LoadoutNeckCargo
items:
- type: loadout
id: LoadoutCargoNeckGoliathCloak

- type: characterItemGroup
id: LoadoutShoesCargo
items:
- type: loadout
id: LoadoutCargoShoesBootsWinterCargo
9 changes: 6 additions & 3 deletions Resources/Prototypes/Loadouts/Categories/categories.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alphabetically ordered, except for Uncategorized since it is always first
# AUncategorized is always first in subcategories to stay consistent with the root Uncategorized
# AUncategorized is not a spelling mistake, and might have more As added as needed
# AUncategorized is not a spelling mistake, and might have more As added as needed

- type: loadoutCategory
id: Uncategorized
Expand All @@ -27,8 +27,9 @@
root: true
subCategories:
- JobsAUncategorized
- JobsMedical
- JobsCargo
- JobsCommand
- JobsMedical

- type: loadoutCategory
id: JobsAUncategorized
Expand All @@ -45,7 +46,6 @@
- JobsCommandQM
- JobsCommandRD


- type: loadoutCategory
id: JobsCommandAUncategorized

Expand All @@ -71,6 +71,9 @@
id: JobsCommandRD

- type: loadoutCategory
id: JobsCargo

- type: loadoutCategory
id: JobsMedical

- type: loadoutCategory
Expand Down
24 changes: 16 additions & 8 deletions Resources/Prototypes/Loadouts/Jobs/cargo.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Cargo technician
- type: loadout
id: LoadoutCargoOuterWinterCargo
category: JobsAUncategorized
cost: 2
category: JobsCargo
cost: 1
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutOuterCargo
- !type:CharacterJobRequirement
jobs:
- CargoTechnician
Expand All @@ -13,10 +15,12 @@

- type: loadout
id: LoadoutCargoShoesBootsWinterCargo
category: JobsAUncategorized
cost: 1
category: JobsCargo
cost: 0
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutShoesCargo
- !type:CharacterJobRequirement
jobs:
- CargoTechnician
Expand All @@ -27,10 +31,12 @@

- type: loadout
id: LoadoutCargoOuterWinterMiner
category: JobsAUncategorized
cost: 2
category: JobsCargo
cost: 1
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutOuterCargo
- !type:CharacterJobRequirement
jobs:
- SalvageSpecialist
Expand All @@ -39,10 +45,12 @@

- type: loadout
id: LoadoutCargoNeckGoliathCloak
category: JobsAUncategorized
cost: 2
category: JobsCargo
cost: 0
exclusive: true
requirements:
- !type:CharacterItemGroupRequirement
group: LoadoutNeckCargo
- !type:CharacterJobRequirement
jobs:
- SalvageSpecialist
Expand Down
Loading