Stellaris

Stellaris

Ethics and Civics Classic (Machine Spirit Update)
Bio Trophies Generating No Unity (Bug fix included)
I noticed that Bio Trophies weren't generating unity. When I checked the pop job to see why, I saw that an extra check was added in, and for some reason (I dunno why either) it would error out instead of check to see if it had citizenship_organic_trophy.

Here's the code that I fixed. All I did was comment out the check for citizenship in 'resources'.

bio_trophy = { category = bio_trophy can_be_automated = no swappable_data = { default = { building_icon = building_organic_sanctuary } swap_type = { trigger = { has_citizenship_type = { type = citizenship_organic_trophy } } name = bio_trophy desc = bio_trophy icon = bio_trophy weight = 5 } swap_type = { trigger = { has_citizenship_type = { type = citizenship_organic_civilian } } name = bio_civilian desc = bio_civilian icon = civilian weight = 5 } } tags = { unity } possible_pre_triggers = { is_sapient = yes is_robotic = no } possible = { OR = { has_citizenship_type = { type = citizenship_organic_trophy } has_citizenship_type = { type = citizenship_organic_civilian } } OR = { is_pop_category = bio_trophy is_pop_category = bio_trophy_unemployment } planet = { NOT = { is_planet_class = pc_cosmogenesis_world } } } promotion = { time = 0 effect = { pop_amount_change_category = { CATEGORY = bio_trophy AMOUNT = local_pop_amount } } } resources = { category = planet_bio_trophies produces = { # trigger = { # has_citizenship_type = { # type = citizenship_organic_trophy # } # } unity = 2 } } triggered_planet_modifier = { potential = { planet = { has_owner = yes owner = { has_valid_civic = civic_machine_servitor } } } pop_cat_complex_drone_bonus_workforce_mult = 0.01 } weight = { weight = @special_job_weight } inline_script = "jobs/automodding_priority_charisma" }
< >
Showing 1-2 of 2 comments
I believe the author was trying to make this work with the other civ that has bio trophies (named bio civilians in this file). I'm still not sure what this check is supposed to achieve, and it has no comments so I guess we'll never know :) Thanks for figuring it out!
Coggernaut  [developer] Nov 6 @ 8:53am 
Originally posted by Master Astropath Guidus Losenti:
I believe the author was trying to make this work with the other civ that has bio trophies (named bio civilians in this file). I'm still not sure what this check is supposed to achieve, and it has no comments so I guess we'll never know :) Thanks for figuring it out!

I believe on the github version this works
< >
Showing 1-2 of 2 comments
Per page: 1530 50