Description
v3.2.2 [abcc] Script error from game rules
Game Version
Lem v3.2.2 [abcc]
What version do you use?
Steam
What expansions do you have installed?
Synthetic Dawn, Utopia, Leviathans Story Pack, Apocalypse, Megacorp, Distant Stars, Ancient Relics, Lithoids, Federations, Nemesis, Aquatics
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
While playing a recent game, I was monitoring the error logs to see if the mods I have developed cause any issues. I also found that a built-in piece of script caused error logs too. I verified the relevant code is not being overwritten by my active mods:
This block is the relevant game rule:
This line has_citizenship_type = { type = citizenship_purge country = from } is line 1349. Instead of the from scope, it seems that this should be using root to refer to the intended country.
Steps to reproduce the issue.
Unclear when empire was attempting to force-decline a Pop. Possibly mine (Spears of Iban - Origin: Clone Soldiers) if one of my Pops auto-migrated away from a cloning vat.
Upload Attachment
File(s) attached
v3.2.2 [abcc] Script error from game rules
Game Version
Lem v3.2.2 [abcc]
What version do you use?
Steam
What expansions do you have installed?
Synthetic Dawn, Utopia, Leviathans Story Pack, Apocalypse, Megacorp, Distant Stars, Ancient Relics, Lithoids, Federations, Nemesis, Aquatics
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
While playing a recent game, I was monitoring the error logs to see if the mods I have developed cause any issues. I also found that a built-in piece of script caused error logs too. I verified the relevant code is not being overwritten by my active mods:
Code:
[21:26:28][eventscope.cpp:2117]: species rights trigger: Unable to resolve country from 'from' (planet scope) at file: common/game_rules/00_rules.txt line: 1349
[21:26:28][trigger_impl.cpp:12002]: file: common/game_rules/00_rules.txt line: 1349: Provide 'country = <target>' when using in species scope.
Code:
# This = planet
# Root = country
can_force_decline_on_planet = {
custom_tooltip = {
fail_text = FORCE_DECLINE_NEEDS_POP_CONTROLS
exists = owner
owner = { NOT = { has_policy_flag = population_controls_not_allowed } }
}
custom_tooltip = {
fail_text = FORCED_DECLINE_ALREADY_PURGING
NOT = {
any_owned_species = {
has_citizenship_type = { type = citizenship_purge country = from }
NOT = { has_purge_type = { country = from type = purge_neutering } }
}
}
}
}
Steps to reproduce the issue.
Unclear when empire was attempting to force-decline a Pop. Possibly mine (Spears of Iban - Origin: Clone Soldiers) if one of my Pops auto-migrated away from a cloning vat.
Upload Attachment
File(s) attached
Attachments
- 1