Doesn't while do this @ngppgn ? I recently updated the magic system in warhammer to achieve exactly this to enable damage scaling.
How so? You mean creating a variable which is counted down each cicle? That'd be less succint and probably less efficient (you have to keep the variable around in memory, since we can't just clear variables.Doesn't while do this @ngppgn ? I recently updated the magic system in warhammer to achieve exactly this to enable damage scaling.
Seconded. The population mechanic could be useful for other types of government than nomads.Is there any chance we can get a flag to make government types other than tribals use the population mechanics? I wouldn't mind being able to do some more interesting options for some governments.
Is there any chance we can get a flag to make government types other than tribals use the population mechanics? I wouldn't mind being able to do some more interesting options for some governments.
The nomad mechanics are what I am referring too. Even for the Byzantine for example, being able to trigger the population mechanic rather than levies might be more appropriate for the bureaucratic state, at least at the top level.Thirded... Though are you refering to population as in horde populations, or do tribals also have a similar mechanic?
I don't really see how you can reliably do it for event_targets not without doing dynamic or variable recalling event_targets. Your better off saving the root as a flag to the title they hold, or to an immortal jesus character or someone.
This is really neededIs there any chance we can get a flag to make government types other than tribals use the population mechanics? I wouldn't mind being able to do some more interesting options for some governments.
Ah yes I typoed there, I mean Nomads not tribalsThis is really needed
Ah yes I typoed there, I mean Nomads not tribalsBut yes, @Divine this one is absolutely needed, So many government types are badly represented by the levies system, giving us a mechanism to control recruitment via a system we can regulate with events while still having the bonuses of buildings would be massive
![]()
Whilst if else would be nice there are way to work around it so I woudl rather time is spent on other things we currently just cannot do. Like adding feminist = yes to a culture (pls)@Divine I just saw that HoI4 1.3 is getting if = { limit = {<conditions>} <commands if limit returns true> else= { <commands if limit returns false> } }.
Could you pretty please port this over to CK2? It would be a massive improvement both in succintness and efficiency for situations that now can only be handled by "if = { limit = { <some condition> } <some effect> } if ={ limit = { NOT = {<some condition>} } <some effect> }" whch is less efficient since it requires evaluating the limit twice.
Whilst if else would be nice there are way to work around it so I woudl rather time is spent on other things we currently just cannot do. Like adding feminist = yes to a culture (pls)
You can use breaks or if you have things happening after the ifs you can just do if = { limit = { condition_a } effect_a set_character_flag = flag_a } followed by if = { limit = { NOT = { has_character_flag = flag_a } } effect_b } and then clr_character_flag = flag_a at the end of your set of ifs
Can we get a flag in traits and titles that enable the character with it to command armies? Sometimes you want a character to be able to lead a flank irrespective of your commander limits. For instance, in the warhammer mod, to use combat magic we require the character to be in command of troops. This is problematic as many mages are pretty low down in martial, and a s a result they will not be a commander. Further complicating things is that the player now has to assign one of the valued commander titles to a mage to give him the ability to use that mage for fighting his war. Being able to appoint realm mages as a custom title, job or having the magic traits confirm the ability would let the player and the a.i have mages in their subunits while good martial commanders lead the flanks and determine the tactics. So @Divine could you please give me some more ways to make my magic engine even more awesome![]()