Stellaris

Stellaris

Guilli's Planet Modifiers and Features
doctornull 3 Mar, 2023 @ 10:38am
How to turn Precursor Vaults buildings into jobs?
Hey @Guilliman - I'm doing a patch which turns all strategic resource building deposits into job deposits. I got all the deposits in your mod working (I think), but the Precursor Vaults modifier still uses resource buildings. How could I make it create jobs directly instead?

The tricky part seems to be making the right jobs (regular or drone) which I usually do as a triggered_planet_modifier, but I don't know how to that in a planetary static modifier.

Here's an example of what I do for Crystal Jungle:

gpm_d_crystal_jungle = { is_for_colonizable = yes category = deposit_cat_rare should_swap_deposit_on_terraforming = no planet_modifier = { planet_jobs_specialist_rare_crystals_produces_mult = 0.50 job_crystal_miner_add = 4 } triggered_planet_modifier = { potential = { exists = owner owner = { NOT = { has_technology = "tech_mine_rare_crystals" } } } modifier = { job_crystal_miner_add = -4 } } triggered_planet_modifier = { potential = { exists = owner owner = { is_gestalt = yes } owner = { has_technology = "tech_mine_rare_crystals" } } modifier = { job_crystal_miner_add = -4 job_gas_extraction_drone_add = 4 } } # weight 0: event added drop_weight = { weight = 0 } }

I don't see how to do that for the Precursor Vaults static planet modifier though.

Help?
< >
Showing 1-2 of 2 comments
Guilliman  [developer] 10 Mar, 2023 @ 10:58am 
Planet modifiers cant have triggered stuff, you'd need to add a planet deposit that spawns with it to do it sadly
doctornull 10 Mar, 2023 @ 1:09pm 
Ah too bad, so I'll just mod that one to do something else like give resources without a job.
< >
Showing 1-2 of 2 comments
Per page: 1530 50