path bias
timfa Tim Falken · pushed by timfa
Authored 2026-09-01 · 2 months ago
- Hash
b4e0ef6a94615e62d36d879a776509dae6b4aee0- Parent
9ab26232
1 file changed
+1
−1
@@ -5,7 +5,7 @@ import { GroundType, groundDefinition } from "../definitions/tiles.js";
5
5
* Slightly cheaper than grass so equal-ish routes favour the path without
6
6
* accepting long detours.
7
7
*/
8
export const PATH_GROUND_STEP_COST = 0.40;
8
export const PATH_GROUND_STEP_COST = 0.10;
9
9
10
10
export function isPathGround (typeId)
11
11
{
@@ -5,7 +5,7 @@ import { GroundType, groundDefinition } from "../definitions/tiles.js";5
* Slightly cheaper than grass so equal-ish routes favour the path without5
* Slightly cheaper than grass so equal-ish routes favour the path without6
* accepting long detours.6
* accepting long detours.7
*/7
*/8
export const PATH_GROUND_STEP_COST = 0.40;8
export const PATH_GROUND_STEP_COST = 0.10;9
9
10
export function isPathGround (typeId)10
export function isPathGround (typeId)11
{11
{