← All mods
Gameplay

AI Tweaks

by The AshForge Team · v1.1.0
New 15 KB
↓ Download
fixesaiquality of life

Summary

A lightweight mod addressing two narrow edge cases we ran into while building other mods: a race between two colonists reaching for the same item on the ground, and a loadout loop around ammunition. No new systems and no new content.

Details

• Shared item pickup. When two colonists reach for the same item on the ground within the same frame, both can end up holding it. Pickup is now guarded so that the first one succeeds and the other colonist looks elsewhere. • Ammunition loadout loop. A colonist carrying a ranged weapon could pick up matching ammunition, treat it as excess against their loadout, set it down, and immediately pick it up again. Ammunition for an equipped weapon is no longer treated as excess. • Combat stutter. Attackers worked out where to shoot from by testing every tile in weapon range, every frame — and a target they could not see meant testing all of them, every frame, for every attacker. Visibility is now checked before the expensive test, which skips almost all of the work. Requires the AshForge Mod Loader — enable it from the AshForge Hub.
Changelog
v1.1.0August 29, 2026
  • FixedCombat stutter. While anyone was shooting, the game could spend most of a CPU core deciding where attackers should stand: it tested every tile within weapon range, one at a time, every frame, for every attacker — and if the target could not be seen from anywhere in range, none of that work paid off and it all ran again the next frame. Attackers now check whether they can see the target before doing the expensive test. The result is the same choice of position, at a fraction of the cost.
v1.0.0July 14, 2026
  • FixedShared item pickup. Two colonists reaching for the same item on the ground within a single frame could both acquire it. Pickup is now guarded so the first one succeeds and the second looks elsewhere.
  • FixedAmmunition loadout loop. Ammunition matching a colonist's equipped ranged weapon is no longer treated as excess against their loadout, so it is no longer set down and picked straight back up.

Comments