Skip to content

KingdomMod v0.3.0 - Gifts, powers, invincibility, and F1 polish

Choose a tag to compare

@github-actions github-actions released this 30 Jun 12:33

What's changed

F1 Gifts

  • Adds NPC spawning beside the selected player: beggar, peasant, builder, archer, squire, knight (with coin slots filled), and berserker.
  • Adds a Hel-style ghost party (one leader plus four ghosts) that charges forward in the monarch's facing direction, just like a trophy summon, and despawns on the game's own ghost timer.
  • Adds hermit spawning (Horse, Horn, Ballista, Baker, Knight, Fire), always shown - no expand/collapse.

F1 Powers

  • Adds persisted item-of-power switching (Thor, Hel, Heimdal, Loki). Shown only while playing the Norse Lands campaign, where those assets load.
  • Adds persisted monarch switching (Zangetsu, Alfred, Gebel, Miriam). Shown only while playing the Dead Lands campaign, where those assets load; captures the original monarch first so Original can restore it.
  • Each row is hidden entirely when you are in the wrong campaign.

Cheats and fixes

  • Adds a persisted friendly-only Invincibility cheat for monarchs and friendly units; enemies are unaffected.
  • Disables the boar-vanish fix for now (shown as off) while a reliable repair is worked out.

Builder speed

  • Keeps the AnyTrees F1 option Builder speed: Slow | Fast. Slow is vanilla; Fast completes construction when a builder starts working, via the game's own completion path.

F1 UI and performance

  • Underlines the F1 subheaders (Coins, Infinite stamina, Invincibility, Crown pickup, Boar vanish, Monarch).
  • Stops re-asserting the console cursor on every IMGUI event, which made the F1 panel feel heavy while moving the mouse; the cursor is now maintained once per frame.

Validation

  • Build Release locally.
  • Deploy locally with tools\install-mods.ps1 -NoBuild -NoDefenderExclusion.
  • In game, verify: NPC/hermit spawning for P1 and P2, knight coin fill, the ghost party charging and despawning on its timer, invincibility on/off, item-of-power switching in Norse Lands, monarch switching in Dead Lands (rows hidden otherwise), the boar-vanish row showing off, underlined subheaders, and a responsive F1 panel.