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

Parts Crates Fix #533

Merged
merged 1 commit into from
Nov 4, 2023
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
179 changes: 161 additions & 18 deletions Resources/Prototypes/Catalog/Fills/Crates/salvage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,33 +345,176 @@
id: CratePartsT3
name: tier 3 parts crate
description: Contains 5 random tier 3 parts for upgrading machines.
# TODO add contents.
#components:
#- type: StorageFill
# contents:
# - id: SalvagePartsT3Spawner
# amount: 5
components: # Frontier - Fixed the crates spawn in the most stupid way, but its fully working as it need to.
- type: StorageFill
contents:
- id: SuperCapacitorStockPart
orGroup: Part1
- id: PicoManipulatorStockPart
orGroup: Part1
- id: SuperMatterBinStockPart
orGroup: Part1
- id: SuperCapacitorStockPart
orGroup: Part2
- id: PicoManipulatorStockPart
orGroup: Part2
- id: SuperMatterBinStockPart
orGroup: Part2
- id: SuperCapacitorStockPart
orGroup: Part3
- id: PicoManipulatorStockPart
orGroup: Part3
- id: SuperMatterBinStockPart
orGroup: Part3
- id: SuperCapacitorStockPart
orGroup: Part4
- id: PicoManipulatorStockPart
orGroup: Part4
- id: SuperMatterBinStockPart
orGroup: Part4
- id: SuperCapacitorStockPart
orGroup: Part5
- id: PicoManipulatorStockPart
orGroup: Part5
- id: SuperMatterBinStockPart
orGroup: Part5

- type: entity
parent: CrateGenericSteel
id: CratePartsT3T4
name: tier 3/4 parts crate
description: Contains 5 random tier 3 or 4 parts for upgrading machines.
# TODO add contents.
#components:
# type: StorageFill
# contents:
# - id: SalvagePartsT3T4Spawner
# amount: 5
components: # Frontier - Fixed the crates spawn in the most stupid way, but its fully working as it need to.
- type: StorageFill
contents:
#tier 3
- id: SuperCapacitorStockPart
orGroup: Part1
prob: 0.2
- id: PicoManipulatorStockPart
orGroup: Part1
prob: 0.2
- id: SuperMatterBinStockPart
orGroup: Part1
prob: 0.2
- id: SuperCapacitorStockPart
orGroup: Part2
prob: 0.2
- id: PicoManipulatorStockPart
orGroup: Part2
prob: 0.2
- id: SuperMatterBinStockPart
orGroup: Part2
prob: 0.2
- id: SuperCapacitorStockPart
orGroup: Part3
prob: 0.2
- id: PicoManipulatorStockPart
orGroup: Part3
prob: 0.2
- id: SuperMatterBinStockPart
orGroup: Part3
prob: 0.2
- id: SuperCapacitorStockPart
orGroup: Part4
prob: 0.2
- id: PicoManipulatorStockPart
orGroup: Part4
prob: 0.2
- id: SuperMatterBinStockPart
orGroup: Part4
prob: 0.2
- id: SuperCapacitorStockPart
orGroup: Part5
prob: 0.2
- id: PicoManipulatorStockPart
orGroup: Part5
prob: 0.2
- id: SuperMatterBinStockPart
orGroup: Part5
prob: 0.2
#tier 4
- id: QuadraticCapacitorStockPart
orGroup: Part1
prob: 0.1
- id: FemtoManipulatorStockPart
orGroup: Part1
prob: 0.1
- id: BluespaceMatterBinStockPart
orGroup: Part1
prob: 0.1
- id: QuadraticCapacitorStockPart
orGroup: Part2
prob: 0.1
- id: FemtoManipulatorStockPart
orGroup: Part2
prob: 0.1
- id: BluespaceMatterBinStockPart
orGroup: Part2
prob: 0.1
- id: QuadraticCapacitorStockPart
orGroup: Part3
prob: 0.1
- id: FemtoManipulatorStockPart
orGroup: Part3
prob: 0.1
- id: BluespaceMatterBinStockPart
orGroup: Part3
prob: 0.1
- id: QuadraticCapacitorStockPart
orGroup: Part4
prob: 0.1
- id: FemtoManipulatorStockPart
orGroup: Part4
prob: 0.1
- id: BluespaceMatterBinStockPart
orGroup: Part4
prob: 0.1
- id: QuadraticCapacitorStockPart
orGroup: Part5
prob: 0.1
- id: FemtoManipulatorStockPart
orGroup: Part5
prob: 0.1
- id: BluespaceMatterBinStockPart
orGroup: Part5
prob: 0.1

- type: entity
parent: CrateGenericSteel
id: CratePartsT4
name: tier 4 parts crate
description: Contains 5 random tier 4 parts for upgrading machines.
# TODO add contents.
#components:
#- type: StorageFill
# contents:
# - id: SalvagePartsT4Spawner
# amount: 5
components: # Frontier - Fixed the crates spawn in the most stupid way, but its fully working as it need to.
- type: StorageFill
contents:
- id: QuadraticCapacitorStockPart
orGroup: Part1
- id: FemtoManipulatorStockPart
orGroup: Part1
- id: BluespaceMatterBinStockPart
orGroup: Part1
- id: QuadraticCapacitorStockPart
orGroup: Part2
- id: FemtoManipulatorStockPart
orGroup: Part2
- id: BluespaceMatterBinStockPart
orGroup: Part2
- id: QuadraticCapacitorStockPart
orGroup: Part3
- id: FemtoManipulatorStockPart
orGroup: Part3
- id: BluespaceMatterBinStockPart
orGroup: Part3
- id: QuadraticCapacitorStockPart
orGroup: Part4
- id: FemtoManipulatorStockPart
orGroup: Part4
- id: BluespaceMatterBinStockPart
orGroup: Part4
- id: QuadraticCapacitorStockPart
orGroup: Part5
- id: FemtoManipulatorStockPart
orGroup: Part5
- id: BluespaceMatterBinStockPart
orGroup: Part5
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
- type: RandomSpawner
prototypes:
- QuadraticCapacitorStockPart
- PicoManipulatorStockPart
- FemtoManipulatorStockPart #Frontier - Fixed this from tier 3 part to tier 4
- BluespaceMatterBinStockPart
offset: 0.0

Expand Down
Loading