Stellaris

Stellaris

Guilli's Planet Modifiers and Features
doctornull 2023 年 3 月 3 日 上午 10:38
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?
< >
正在显示第 1 - 2 条,共 2 条留言
Guilliman  [开发者] 2023 年 3 月 10 日 上午 10:58 
Planet modifiers cant have triggered stuff, you'd need to add a planet deposit that spawns with it to do it sadly
doctornull 2023 年 3 月 10 日 下午 1:09 
Ah too bad, so I'll just mod that one to do something else like give resources without a job.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50