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