How Optimizer works
Last checked:
Time and cost-down
- Speed:
timeSeconds ÷ (1 + speedPct / 100). Construction speed and research speed are separate fields. Named construction bonuses add to the typed Construction speed % — tick them only if they are not already in that field. - Cost-down: Food/Wood/Stone/Iron/Gold are multiplied by
1 − min(90, costDownPct) / 100. Truegold is not reduced.
Prerequisite expand
When Include prerequisites is on, each planner walks community requirement strings and inserts missing support rows (other buildings or techs). Unmatched names are skipped. Hero Hall has no cost table, so it stays an unmet gate. War Academy FC / Truegold-stage gates are listed, not priced as research rows. Academy hub totals are summed from per-level JSON in code — not a third-party totals file.
Progression encoding
One share URL can carry seven domains. Recipients open each sub-planner from the hub without retyping rows.
/calculators/progression?plan=b:town-center.25-28|r:assault-techniques-i.0-3|a:adaptive-tools.0-1|h:1-40|g:limited-supply.0-1
Prefixes: b: buildings, r: Academy, w: War Academy, t: troops, a: Alliance Tech, h: Hero XP as from-to, g: Advanced Truegold (not atg:, so it does not collide with Alliance a:). Optional ?label=, ?vs=, and ?inv=food,wood,stone,iron for a read-only stockpile subtracted from combined food/wood/stone/iron. Short path /p/… redirects here. Format notes live on /methodology#progression-plans.
Plan warnings
The shared warnings panel lists four kinds: gate (unmatched building or Truegold-stage requirement), approximate (weaker confidence rows), lag (Barracks / Stable / Range three or more levels behind Town Center), and gap (documented missing tables such as Hero Hall costs or T6+ troops). Empty lists are hidden. There is no optimize button — warnings are transparency, not a suggested spend order beyond finish-gates-first.
Finish gates first
When a plan has unmatched gates, the panel lists those messages before you treat the resource total as complete. Alliance "recommended path" presets order techs by prerequisite depth from our expand function — our rule, not lore, and not a greedy optimizer.
Event points on planners
Building, Academy, War Academy and troop planners can show rough event points from event-scoring.ts (community-single). Construction, research and training speedups are plan time in minutes times that event's Pts/Unit. Confirm live rates on the event screen. We do not import another site's Optimizer tables.