path bias
timfa Tim Falken · pushed by timfa
Authored 2026-09-01 · 2 months ago
- Hash
9ab26232e816f07a1ef81365e91b0a6ac4606829- Parent
198097e9
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.62;
8
export const PATH_GROUND_STEP_COST = 0.40;
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.62;8
export const PATH_GROUND_STEP_COST = 0.40;9
9
10
export function isPathGround (typeId)10
export function isPathGround (typeId)11
{11
{