Quick question for those more knowledgeable than me in scripting/trait coding: can the condition I_turnNumber be used in trait triggers to limit traits to a certain time period?
Quick question for those more knowledgeable than me in scripting/trait coding: can the condition I_turnNumber be used in trait triggers to limit traits to a certain time period?
Yes
(should be, at least it worked in RTW).
Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
dHRR 0.8 beta released! get it here
New: Native America! A mini-mod for Kingdoms America
The condition is used in BBB's EDCT and its seen in many vanilla M2TW ancillary triggers.
Under the patronage and bound to the service of the
artist formerly known as Squeakus Maximus
Stoic Pantheist of S.I.N
This is from the ancillaries:
Should work for traits as well.Code:Trigger john_gutenberg_anc_trigger WhenToTest GovernorBuildingCompleted Condition SettlementBuildingFinished >= printing_press and I_TurnNumber >= 187 and I_TurnNumber <= 210 AcquireAncillary john_gutenberg chance 100
Awesome. Thanks guys.![]()