Hi everyone. I am trying to create some small mod that will help the AI to maintain its economy. And would like to know, is it possible to write an event that will check if a state has certain building and if yes, it will INSTANTLY upgrade it (I mean, with "create_building" command). And I wonder if it's possible to find the building I need, save it in custom scope, and then type something like
scope:my_state = {
create_building = {
type = building_government_administration
level = scope: previous_building.level
}
If anyone did things like this, please answer me. I need to understand the limits if V3 scripting.
scope:my_state = {
create_building = {
type = building_government_administration
level = scope: previous_building.level
}
If anyone did things like this, please answer me. I need to understand the limits if V3 scripting.