P0-B6: Part 1349: Debugging, Improvements
by PhoenixGames on Dec.24, 2023, under Astral Realms, P-0, P0_B6, Software and Games, Spirit of the Stars, Spiritus Astrum
I have used the recent changes to the water detection algorithm to improve the NPC ai in the the game.
AI will now not be spawned on water, even shallow water, and will avoid it when pathing.
There are some minor conditions where this causes issues (For example, if there are many puddles of water on the terrain, they can get stuck) but in general, this massively improves the AI behaviour near shorelines.
The AI used to run into water when moving, this no longer happens.
I am also planning to add a “fishing” action, to supplement the hunting actions that are already in the game. I am working on some art assets to support this now.