Wiki

effect · add_daily_mastery

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Adds doctrine mastery daily for a certain duration.

	You can use flexible filters to have this effect apply to all tracks that match the specified
	folder, grand doctrine, subdoctrine or specific track. If a certain filter is not present, it will be counted as a pass.
	For example, you can add mastery to all active tracks in all folders by not specifying any filters at all.

	### Examples
	```
	GER = {
		add_daily_mastery = {
			amount = 0.1						# Amount of mastery to add per day
			days = 90							# Number of days to apply the daily mastery gain for
			name = [loc]                        # Loc key - will be used in descriptions to show the source of the mastery gain

			# FILTERS:
			folder = land						# Optional - will filter by tracks in the specified folder
			grand_doctrine = mobile_warfare		# Optional - will filter by tracks in folders with the specified grand doctrine
			sub_doctrine = mobile_infantry		# Optional - will filter by tracks with the specified subdoctrine
			track = infantry					# Optional - will filter by tracks of the specified type
			index = 1							# Optional - will filter by the track index within the folder (0-indexed).
		}
	}
	```

Hands-On Notes

Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.

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

  1. 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.
  2. 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.