joseasoler / Pathfinding-Framework

Pathfinding Framework is a RimWorld mod that enables the creation of custom movement rules for pawns.
MIT License
7 stars 0 forks source link

Patch extraDraftedPerceivedPathCost and extraNonDraftedPerceivedPathCost #16

Open joseasoler opened 1 year ago

joseasoler commented 1 year ago

In vanilla, these seem to be used only to make pawns ignore pathing through water if possible. Amphibious pawns will need to ignore these two values, otherwise they will prefer to always path over land.

See this for an example implementation: https://github.com/joseasoler/terrain-pathfinding-kit/blob/main/Source/Patches/PathFinder_CurrentGrid_Util.cs

joseasoler commented 11 months ago

Clean Pathfinding 2 uses these values.