Stellaris

Stellaris

Playable Robots
El-Lobo 3 Jun, 2016 @ 11:20am
Yetanothertraitsmod modification
i wrote the modifications for the
yet another traits mod

playablerobots.txt:
#####yetanothertraitsmod starts if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_fussy } } } modify_species = { species = this add_trait = trait_fussy } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_careless } } } modify_species = { species = this add_trait = trait_careless } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_natural_leaders } } } modify_species = { species = this add_trait = trait_natural_leaders } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_dynamic_leaders } } } modify_species = { species = this add_trait = trait_dynamic_leaders } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_inept_leaders } } } modify_species = { species = this add_trait = trait_inept_leaders } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_sloth } } } modify_species = { species = this add_trait = trait_sloth } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_minor_teleportation } } } modify_species = { species = this add_trait = trait_minor_teleportation } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_die_young } } } modify_species = { species = this add_trait = trait_die_young } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_slave_traders } } } modify_species = { species = this add_trait = trait_slave_traders } } if = { limit = { planet = { exists = owner owner = { is_ai = no } owner = { has_trait = trait_unethical_tactics } } } modify_species = { species = this add_trait = trait_unethical_tactics } } #####yetanothertraitsmod ends

playablerobotsgamestart.txt and playablerobotsupgrades.txt:

##### yetanothertraitsmod starts if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_fussy } } } modify_species = { species = ROOT add_trait = trait_fussy } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_careless } } } modify_species = { species = ROOT add_trait = trait_careless } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_natural_leaders } } } modify_species = { species = ROOT add_trait = trait_natural_leaders } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_dynamic_leaders } } } modify_species = { species = ROOT add_trait = trait_dynamic_leaders } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_inept_leaders } } } modify_species = { species = ROOT add_trait = trait_inept_leaders } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_sloth } } } modify_species = { species = ROOT add_trait = trait_sloth } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_minor_teleportation } } } modify_species = { species = ROOT add_trait = trait_minor_teleportation } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_die_young } } } modify_species = { species = ROOT add_trait = trait_die_young } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_slave_traders } } } modify_species = { species = ROOT add_trait = trait_slave_traders } } if = { limit = { capital_scope = { any_pop = { pop_has_trait = trait_unethical_tactics } } } modify_species = { species = ROOT add_trait = trait_unethical_tactics } } #####yetanothertraitsmod ends


I assume there are no more modifications necessary. at least the first gamestart worked fine.
Intense playtesting starting now...

Feel free to paste it in your code.
Oh, and amazing mod btw...