Hey there,
this post will contain a lot of questions, I would be really grateful if anyone could answer at least some of them.
Also please excuse my very limited knowledge about coding, I hope I didn't made too many stupid mistakes...
First, I'll describe my situation :
I'm using a very large modification for m2tw kingdoms, in which only parts of the growth mechanisms work.
Every influence on growth given directly from buildings, which means the farming capability and the constant bonuses on growth, simply doesn't work.
I've already edited the settlements_mechanics script, but without any effect.
So I decided to use the campaign_script to reenable these bonuses, here my idea about it:
monitor_event FactionTurnStart FactionType hre
and SettlementBuildingExists farms+1
and SettlementBuildingExists wooden_pallisade
add population 50
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionType hre
and SettlementBuildingExists farms+1
and SettlementBuildingExists wooden_pallisade
and event_counter very_good_harvest
add population 20
terminate_monitor
end_monitor
If a growth influencing buildings exists, a specific amount of population will be added and influenced further by the tier of the city and the harvest.
First of all, I'd like to know wether this would work. Or is there a possible improvment?
Also, will a settlement with wooden walls get the bonuses of the part with the wooden_pallisade condition?
My second question about this topic is, wether there is command that directly influences the "SPF_FARMING_LEVEL" and "SPF_BUILDINGS" elements of population growth,
which are mentioned in the settlement_mechanics script.
The next thing I'd like to know is how I could show the amount of population, a settlement gained within a turn, within the settlement infoscroll.
If this is impossible, I'll use historic events to show that.
My last question is, wether it would be possible to only allow settlements to upgrade once in the campaign, for example like this:
monitor_event SettlementUpgraded
and SettlementBuildingExists stone_wall
forbid construction of building large_stone_wall (Here I'd need a working command)
terminate_monitor
end_monitor
I demand pretty much, but I hope anyone could help me somehow.
Thank you very much in advance