Scaffold a new focus tree file for a country in Millennium Dawn.
Country TAG (3-letter code): $ARGUMENTS
Steps:
- Confirm the TAG is valid (3 uppercase letters). If $ARGUMENTS is empty, ask the user for the TAG.
- Check if
common/national_focus/05_<TAG>.txtalready exists (uppercase TAG). If it does, warn the user before proceeding.
- Create the file at
common/national_focus/05_<TAG>.txt(uppercase TAG) with:
- A
focus_treecontainer block with the correctid,countryfilter, and a placeholdercontinuous_focus_position - One starter focus block following the required property order (see "Property order" in
.claude/docs/focus-tree-reference.md) - The root focus id following the pattern
TAG_start - All tags capitalised in script IDs (e.g.
SER_free_market_capitalism, notser_free_market_capitalism) relative_position_idon all focuses after the root (all focus trees must use relative positioning)- Logging in completion_reward:
log = "[GetDateText]: [Root.GetName]: Focus TAG_start" search_filters(required on all focuses)ai_will_do(required on all focuses)- Commented-out optional blocks (allow_branch, prerequisite, mutually_exclusive, bypass, cancel, select_effect, bypass_effect) as scaffolding hints; remind the user to remove any that stay empty (empty trigger blocks are bloat)
- Omit default values:
cancel_if_invalid = yes,continue_if_invalid = no,available_if_capitulated = no
- Create the minimum localisation entry. If
localisation/english/MD_focus_<TAG>_l_english.ymlexists, append to it; otherwise create it with thel_english:header. Add keys forTAG_startandTAG_start_desc. Follow localisation rules: UTF-8 with BOM, 1-space indent, no trailing version numbers.
- Remind the user of next steps:
Immediate setup:
- Add
shared_focuslines if the country should use shared trees (EU, AU, etc.) - Set a real icon instead of the placeholder
- Fill in
continuous_focus_positionafter building out the tree
Then follow the Focus Tree Lifecycle Checklist (docs/src/content/resources/focus-tree-lifecycle-checklist.md) and Content Review Guide (docs/src/content/resources/content-review-guide.md) for ideas, decisions, history, OOB, leaders, namelists, events, and merge standards.