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