New and Modified Map Spawners (#34424)

* Added spanwers and modified others

* adjusted values to be more in line with what I want

* this comment may have caused that test fail

* oh my god another typo

* Modified door crate to be engineering flavored

* reduced the pride vendor odds

Webedit lmao
This commit is contained in:
Southbridge
2025-01-15 19:56:12 -05:00
committed by GitHub
parent e094b79ee4
commit 87ff3a2421
7 changed files with 252 additions and 140 deletions

View File

@@ -3,26 +3,26 @@
id: CrateEmptySpawner
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/generic.rsi
state: icon
- type: RandomSpawner
prototypes:
- CrateGenericSteel
- CratePlastic
- CrateFreezer
- CrateHydroponics
- CrateMedical
- CrateRadiation
- CrateInternals
- CrateElectrical
- CrateEngineering
- CrateScience
- CrateSurgery
chance: 0.7
offset: 0.0
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/generic.rsi
state: icon
- type: RandomSpawner
prototypes:
- CrateGenericSteel
- CratePlastic
- CrateFreezer
- CrateHydroponics
- CrateMedical
- CrateRadiation
- CrateInternals
- CrateElectrical
- CrateEngineering
- CrateScience
- CrateSurgery
chance: 0.7
offset: 0.0
- type: entity
name: Filled Crate Spawner
@@ -30,109 +30,112 @@
suffix: Low Value
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/o2.rsi
state: icon
- type: RandomSpawner
prototypes:
- CrateServiceReplacementLights
- CrateServiceBureaucracy
- CrateChemistrySupplies
- CrateMaterialGlass
- CrateMaterialSteel
- CrateMaterialPlastic
- CrateMaterialWood
- CrateMaterialPlasteel
- CrateFunArtSupplies
- CrateEngineeringCableLV
- CrateEngineeringCableMV
- CrateEngineeringCableHV
- CrateEngineeringCableBulk
- CrateEmergencyFire
- CrateEmergencyInternals
- CrateEmergencyInflatablewall
- CrateHydroponicsTools
- CrateHydroponicsSeeds
chance: 0.7
rarePrototypes:
- CrateMaterialPlasma
- CrateHydroponicsSeedsExotic
rareChance: 0.1
offset: 0.0
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/o2.rsi
state: icon
- type: RandomSpawner
prototypes:
- CrateServiceReplacementLights
- CrateServiceBureaucracy
- CrateChemistrySupplies
- CrateMaterialGlass
- CrateMaterialSteel
- CrateMaterialPlastic
- CrateMaterialWood
- CrateMaterialPlasteel
- CrateMaterialRandom
- CrateFunArtSupplies
- CrateEngineeringCableLV
- CrateEngineeringCableMV
- CrateEngineeringCableHV
- CrateEngineeringCableBulk
- CrateTechBoardRandom
- CrateEmergencyFire
- CrateEmergencyInternals
- CrateEmergencyInflatablewall
- CrateHydroponicsTools
- CrateHydroponicsSeeds
- PetCarrier
chance: 0.7
rarePrototypes:
- CrateMaterialPlasma
- CrateHydroponicsSeedsExotic
rareChance: 0.1
offset: 0.0
- type: entity
name: random engineering crate spawner
id: LootSpawnerRandomCrateEngineering
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/engineering.rsi
state: icon
- type: RandomSpawner
rarePrototypes:
- CrateEngineeringSingularityGenerator
- CrateEngineeringTeslaGenerator
- CrateEngineeringTeslaGroundingRod
- CrateEngineeringParticleAccelerator
- CrateRCD
- CrateEngineeringGear
rareChance: 0.2
prototypes:
- CrateEngineering
- CrateElectrical
- CrateEngineeringElectricalSupplies
- CrateRCDAmmo
- CrateEngineeringCableLV
- CrateEngineeringCableMV
- CrateEngineeringCableHV
- CrateEngineeringCableBulk
- CrateEngineeringSingularityContainment
- CrateEngineeringSingularityCollector
- CrateEngineeringTeslaCoil
- CrateEngineeringSingularityEmitter
- CrateEngineeringGyroscope
- CrateEngineeringThruster
- CrateEngineeringToolbox
- CrateEngineeringShuttle
- CrateEngineeringSolar
- CrateEngineeringJetpack
- CrateEmergencyRadiation
- CrateRadiation
chance: 0.9
offset: 0.0
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/engineering.rsi
state: icon
- type: RandomSpawner
rarePrototypes:
- CrateEngineeringSingularityGenerator
- CrateEngineeringTeslaGenerator
- CrateEngineeringTeslaGroundingRod
- CrateEngineeringParticleAccelerator
- CrateRCD
- CrateEngineeringGear
rareChance: 0.2
prototypes:
- CrateEngineering
- CrateElectrical
- CrateEngineeringElectricalSupplies
- CrateRCDAmmo
- CrateEngineeringCableLV
- CrateEngineeringCableMV
- CrateEngineeringCableHV
- CrateEngineeringCableBulk
- CrateEngineeringSingularityContainment
- CrateEngineeringSingularityCollector
- CrateEngineeringTeslaCoil
- CrateEngineeringSingularityEmitter
- CrateEngineeringGyroscope
- CrateEngineeringThruster
- CrateEngineeringToolbox
- CrateEngineeringShuttle
- CrateEngineeringSolar
- CrateEngineeringJetpack
- CrateEmergencyRadiation
- CrateRadiation
chance: 0.9
offset: 0.0
- type: entity
name: random security crate spawner
id: LootSpawnerRandomCrateSecurity
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/sec_gear.rsi
state: icon
- type: RandomSpawner
rarePrototypes: #Very useful stuff we probably don't want random people getting on space ruins often, even if there are hurdles to open it
- CrateArmoryShotgun
- CrateArmorySMG
- CrateSecurityRiot
- CrateSecurityNonlethal
rareChance: 0.1
prototypes:
- CrateWeaponSecure
- CrateArmoryLaser
- CrateArmoryPistols
- CrateTrainingBombs
- CrateTrackingImplants
- CrateSecurityTrackingMindshieldImplants
- CrateSecurityHelmet
- CrateSecurityArmor
- CrateRestraints
- CrateEmergencyExplosive
- CrateSecurityBiosuit
chance: 0.9
offset: 0.0
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/Crates/sec_gear.rsi
state: icon
- type: RandomSpawner
rarePrototypes: #Very useful stuff we probably don't want random people getting on space ruins often, even if there are hurdles to open it
- CrateArmoryShotgun
- CrateArmorySMG
- CrateSecurityRiot
- CrateSecurityNonlethal
rareChance: 0.1
prototypes:
- CrateWeaponSecure
- CrateArmoryLaser
- CrateArmoryPistols
- CrateTrainingBombs
- CrateTrackingImplants
- CrateSecurityTrackingMindshieldImplants
- CrateSecurityHelmet
- CrateSecurityArmor
- CrateRestraints
- CrateEmergencyExplosive
- CrateSecurityBiosuit
chance: 0.9
offset: 0.0

View File

@@ -6,30 +6,59 @@
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Machines/VendingMachines/random.rsi
state: any
- state: red
- sprite: Structures/Machines/VendingMachines/random.rsi
state: any
- type: RandomSpawner
prototypes:
- VendingMachineChang
- VendingMachineCigs
- VendingMachineCoffee
- VendingMachineCola #Robust Sofdrinks
- VendingMachineColaBlack #Robust Sofdrinks [Black]
- VendingMachineColaRed #Space Cola
- VendingMachineDiscount
- VendingMachineDonut
- VendingMachineDrGibb
- VendingMachinePwrGame
- VendingMachineShamblersJuice
- VendingMachineSmite
- VendingMachineSnack
- VendingMachineSnackBlue
- VendingMachineSnackGreen
- VendingMachineSnackOrange
- VendingMachineSnackTeal
- VendingMachineSoda #Robust Sofdrinks [Soda]
- VendingMachineSovietSoda #Boda
- VendingMachineSpaceUp
- VendingMachineStarkist
- VendingMachineChang
- VendingMachineCigs
- VendingMachineCoffee
- VendingMachineCola #Robust Sofdrinks
- VendingMachineColaBlack #Robust Sofdrinks [Black]
- VendingMachineColaRed #Space Cola
- VendingMachineDiscount
- VendingMachineDonut
- VendingMachineDrGibb
- VendingMachinePwrGame
- VendingMachineShamblersJuice
- VendingMachineSmite
- VendingMachineSnack
- VendingMachineSnackBlue
- VendingMachineSnackGreen
- VendingMachineSnackOrange
- VendingMachineSnackTeal
- VendingMachineSoda #Robust Sofdrinks [Soda]
- VendingMachineSovietSoda #Boda
- VendingMachineSpaceUp
- VendingMachineStarkist
chance: 1
- type: entityTable
id: ClothingVendorTable
table: !type:GroupSelector
children:
- id: VendingMachineClothing
weight: 40
- id: VendingMachineWinter
weight: 40
- id: VendingMachinePride
weight: 10
- id: VendingMachineTheater
weight: 10
- type: entity
id: RandomVendingClothing
name: random vending machine spawner
suffix: Clothing
parent: MarkerBase
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Machines/VendingMachines/random.rsi
state: clothing
- type: EntityTableSpawner
table: !type:NestedSelector
tableId: ClothingVendorTable