Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Odins Second Hand
A Greydwarf at your ankle and a bow in your hands? Odin swaps in your best melee weapon for that enemy the moment it gets close, and hands the bow back once it's gone. Client-side. From the makers of Odin's Free Refills.
CHANGELOG
Changelog
0.1.1
- On-screen text now scales the way the game's own HUD does: by screen height and the game's GUI scale setting. It used to grow with the screen's width too, so on ultrawide screens it came out far too big, nearly twice the game's HUD at 5120x1440.
- Sizes now match Odin's Long Drop: at 5120x1440 the text is about half its old size,
and on a 16:9 screen about a third smaller.
TextScale1.4gives the old 16:9 size. TextScale(1, 0.5 to 2) sizes Odin's remarks, live.
0.1.0
- First release: while a bow or crossbow is in your hands, Odin swaps to your best melee
weapon for the nearest enemy as soon as it's within that weapon's reach plus
ReachMargin(1m). "Best" is the most damage per hit after the enemy's own weaknesses and resistances; the whole inventory counts, not just the hotbar. SwapDistance(6m, 0 to 15) sets how close an enemy gets before the swap, and the swap back uses the same distance.0is auto: the weapon's own reach plusReachMargin.- Once no enemy has been in reach for
SwapBackDelay(1.5s, 0 to 10), the ranged weapon comes back (SwapBack, on). A bow draw you're still holding carries on. IncludeStaffs(off) makes magic staffs swap too.PreferredWeaponandExcludesteer the choice.SwapKey(unbound) swaps on demand.- Animals only count while they're attacking you; tamed ones and training dummies never do.
InstantSwap(on) swaps at once; off uses each weapon's normal equip time.- A short remark from Odin on each auto-swap (
ShowRemarks, on), at most one everyRemarkCooldown(20s).