Package loot tables part 1: Medical (#35895)

* :3

* oops

* moved file, comments
This commit is contained in:
ScarKy0
2025-03-23 14:53:02 +01:00
committed by GitHub
parent 57e3f0494e
commit 9e1a150829
6 changed files with 212 additions and 42 deletions

View File

@@ -687,3 +687,16 @@
- type: Tag
tags:
- WhitelistChameleon
# Entity tables
- type: entityTable
id: AnimalMaskTable
table: !type:GroupSelector
children:
- id: ClothingMaskFox
- id: ClothingMaskBat
- id: ClothingMaskBear
- id: ClothingMaskBee
- id: ClothingMaskRaven
- id: ClothingMaskRat
- id: ClothingMaskJackal

View File

@@ -11,33 +11,50 @@
- state: red
- sprite: Objects/Consumable/Drinks/ginbottle.rsi
state: icon
- type: RandomSpawner
#small item
prototypes:
- DrinkAbsintheBottleFull
- DrinkBlueCuracaoBottleFull
- DrinkCognacBottleFull
- DrinkGrenadineBottleFull
- DrinkGinBottleFull
- DrinkGildlagerBottleFull
- DrinkCoffeeLiqueurBottleFull
- DrinkMelonLiquorBottleFull
- DrinkPatronBottleFull
- DrinkRumBottleFull
- DrinkSakeBottleFull
- DrinkTequilaBottleFull
- DrinkVermouthBottleFull
- DrinkVodkaBottleFull
- DrinkWhiskeyBottleFull
- DrinkWineBottleFull
- DrinkBeerBottleFull
- DrinkBeerGrowler
- DrinkAleBottleFull
- DrinkAleBottleFullGrowler
- DrinkChampagneBottleFull
chance: 0.8
offset: 0.0
#rare
rarePrototypes:
- DrinkPoisonWinebottleFull
rareChance: 0.01
- type: EntityTableSpawner
table: !type:NestedSelector
tableId: RandomAllAlcoholTable
prob: 0.8
- type: entityTable
id: RandomAllAlcoholTable
table: !type:GroupSelector
children:
- !type:NestedSelector
tableId: RandomCommonAlcoholTable
weight: 0.95
- !type:NestedSelector
tableId: RandomRareAlcoholTable
weight: 0.05
- type: entityTable
id: RandomCommonAlcoholTable
table: !type:GroupSelector
children:
- id: DrinkAbsintheBottleFull
- id: DrinkBlueCuracaoBottleFull
- id: DrinkCognacBottleFull
- id: DrinkGrenadineBottleFull
- id: DrinkGinBottleFull
- id: DrinkGildlagerBottleFull
- id: DrinkCoffeeLiqueurBottleFull
- id: DrinkMelonLiquorBottleFull
- id: DrinkPatronBottleFull
- id: DrinkRumBottleFull
- id: DrinkSakeBottleFull
- id: DrinkTequilaBottleFull
- id: DrinkVermouthBottleFull
- id: DrinkVodkaBottleFull
- id: DrinkWhiskeyBottleFull
- id: DrinkWineBottleFull
- id: DrinkBeerBottleFull
- id: DrinkBeerGrowler
- id: DrinkAleBottleFull
- id: DrinkAleBottleFullGrowler
- id: DrinkChampagneBottleFull
- type: entityTable
id: RandomRareAlcoholTable
table: !type:GroupSelector
children:
- id: DrinkPoisonWinebottleFull

View File

@@ -125,29 +125,36 @@
id: PackageUncommonEntityTable
table: !type:GroupSelector
children:
# Fluff
- !type:NestedSelector
tableId: MaintFluffTable
weight: 0.4
rolls: !type:RangeNumberSelector
range: 1, 2
# Plushies
- !type:NestedSelector
tableId: AllPlushiesTable
weight: 0.4
# Weapons
- !type:NestedSelector
tableId: MaintWeaponTable
weight: 0.1
# Syndie Loot
- !type:NestedSelector
tableId: SyndieMaintLoot
weight: 0.1
tableId: RandomAllAlcoholTable
weight: 0.2
rolls: !type:RangeNumberSelector
range: 2, 3
- type: entityTable # TODO: Add more variety!
id: PackageRareEntityTable
table: !type:GroupSelector
children:
- id: MedkitAdvancedFilled
- id: MobMothroach
- id: PipeBomb
- id: MedkitAdvancedFilled # TODO: Replace with PackageRareGeneralBundlesTable for when something doesn't fit with a department. (Like a bundle of bed sheets, dunno)
- id: MobMothroach # TODO: Replace with SmallCritterTable so you can get mice and snails and similiar
- id: PipeBomb # TODO: PackageRarePunishmentTable, including things like pipebombs and other potentially harmful things (the pipebomb should also get primed when unpacked)
#- !type:NestedSelector TODO: Uncomment after all the rare department bundles are done (medical, security, etc...)
# tableId: PackageRareDepartmentBundlesTable
- !type:NestedSelector
tableId: AnimalMaskTable
# Weapons
- !type:NestedSelector
tableId: MaintWeaponTable
weight: 0.5
# Syndie Loot
- !type:NestedSelector
tableId: SyndieMaintLoot
weight: 0.5

View File

@@ -0,0 +1,98 @@
# Basically all different loot tables that the mail can choose from
# Loot tables
- type: entityTable
id: PackageRareDepartmentBundlesTable
table: !type:GroupSelector
children:
- !type:NestedSelector
tableId: PackageRareMedicalBundlesTable
# Package Bundles
## Basically items that should always spawn together, specific to packages
### Medical
- type: entityTable
id: PackageRareMedicalBundlesTable
table: !type:GroupSelector
children:
- !type:NestedSelector
tableId: PackageMedicalTopicalBundle
- !type:NestedSelector
tableId: PackageMedicalChemicalBundle
- !type:NestedSelector
tableId: PackageMedicalClothingBundle
- !type:NestedSelector
tableId: PackageMedicalReagentBottleBundle
- type: entityTable
id: PackageMedicalTopicalBundle
table: !type:AllSelector
children:
- id: Gauze1
amount: !type:RangeNumberSelector
range: 1, 4
- id: Brutepack1
amount: !type:RangeNumberSelector
range: 1, 4
- id: Bloodpack1
amount: !type:RangeNumberSelector
range: 1, 4
- id: Ointment1
amount: !type:RangeNumberSelector
range: 1, 4
- type: entityTable
id: PackageMedicalChemicalBundle
table: !type:AllSelector
children:
- id: Beaker
amount: !type:RangeNumberSelector
range: 1, 2
- id: LargeBeaker
amount: !type:RangeNumberSelector
range: 0, 1
- id: Syringe
amount: !type:RangeNumberSelector
range: 1, 2
- id: BaseChemistryEmptyVial
amount: !type:RangeNumberSelector
range: 0, 2
- type: entityTable
id: PackageMedicalClothingBundle
table: !type:AllSelector
children:
- !type:GroupSelector
children:
- id: ClothingUniformJumpskirtMedicalDoctor
- id: ClothingUniformJumpsuitMedicalDoctor
- !type:GroupSelector
children:
- id: ClothingBackpackMedical
- id: ClothingBackpackDuffelMedical
- id: ClothingBackpackSatchelMedical
- !type:GroupSelector
children:
- id: ClothingHandsGlovesNitrile
- id: ClothingHandsGlovesLatex
- !type:AllSelector
prob: 0.5
children:
- id: ClothingShoesBootsWinterMed
- id: ClothingOuterWinterMed
- !type:GroupSelector
children:
- id: ClothingEyesHudMedical
- id: ClothingEyesEyepatchHudMedical
- id: ClothingBeltMedical
- id: ClothingShoesColorWhite
- type: entityTable
id: PackageMedicalReagentBottleBundle
table: !type:AllSelector
children:
- !type:NestedSelector
tableId: BasicReagentBottlesTable
rolls: !type:RangeNumberSelector
range: 3, 4

View File

@@ -226,6 +226,15 @@
- type: StackPrice
price: 10
- type: entity
parent: Bloodpack
id: Bloodpack1
suffix: Single
components:
- type: Stack
stackType: Bloodpack
count: 1
- type: entity
parent: Bloodpack
id: Bloodpack10Lingering

View File

@@ -642,3 +642,29 @@
reagents:
- ReagentId: Sulfur
Quantity: 30
# Entity tables
- type: entityTable
id: BasicReagentBottlesTable
table: !type:GroupSelector
children:
- id: ChemistryBottleAluminium
- id: ChemistryBottleCarbon
- id: ChemistryBottleChlorine
- id: ChemistryBottleCopper
- id: ChemistryBottleEthanol
- id: ChemistryBottleFluorine
- id: ChemistryBottleHydrogen
- id: ChemistryBottleIodine
- id: ChemistryBottleIron
- id: ChemistryBottleLithium
- id: ChemistryBottleMercury
- id: ChemistryBottleNitrogen
- id: ChemistryBottleOxygen
- id: ChemistryBottlePhosphorus
- id: ChemistryBottlePotassium
- id: ChemistryBottleRadium
- id: ChemistryBottleSilicon
- id: ChemistryBottleSodium
- id: ChemistryBottleSugar
- id: ChemistryBottleSulfur