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