Hands-On Usage
add_daily_mastery is well-suited for national focuses, decisions, or events that reward players with "daily doctrine mastery gains over a period of time," typically representing the sustained effects of military reform movements or training programs. For example, an "Armored Tactics Innovation" focus can grant Germany daily mastery accumulation for a specific training track under Mobile Warfare over 90 days:
focus = {
id = GER_armored_tactics
...
completion_reward = {
GER = {
add_daily_mastery = {
amount = 0.1
days = 90
name = ger_armored_tactics_mastery
folder = land
grand_doctrine = mobile_warfare
track = armor
}
}
}
}
Synergy
[add_mastery](/wiki/effect/add_mastery): add_daily_mastery provides sustained benefits that accumulate over time, while add_mastery grants mastery immediately. Used together, they create a dual-reward structure of "immediate impact plus long-term gains."
[add_doctrine_cost_reduction](/wiki/effect/add_doctrine_cost_reduction): Doctrine cost reduction synergizes with mastery gains and is commonly granted alongside add_daily_mastery in the same focus or event, accelerating players' doctrine unlock progression.
[has_completed_track](/wiki/trigger/has_completed_track): Serves as a prerequisite check to confirm a track's completion before triggering sustained mastery rewards, preventing wasted investment on already-maxed tracks.
[add_timed_idea](/wiki/effect/add_timed_idea): Can be used to add a time-limited idea simultaneously, synchronized visually and descriptively with the duration of add_daily_mastery, providing clear UI feedback to players.
Common Pitfalls
- Missing
name field or non-existent localization key: The name field displays the mastery source description in the UI. If the corresponding localization key doesn't exist, the game won't error but will display the raw key string, resulting in garbled-looking text in the interface—a detail newcomers often overlook in their localization setup.
- Overly broad filters or specifying inactive tracks: If no filter fields are specified, the effect applies to "all active tracks." If the player hasn't actually activated the corresponding track, the effect silently fails; newcomers often mistakenly assume the script is broken when they should first verify that the target nation has begun researching the intended doctrine track.