Skip to main content

GridPath

GridPath is not an enum, but rather a variable integer that represents the cost it would take for an entity to pass through a grid entity. This enum lists some standard cost values that the vanilla game uses.

Enumeration Members

NONE

NONE = 0

Defined in

GridPath.ts:7


WALKED_TILE

WALKED_TILE = 900

Set by some enemies when they pass through a tile. De-prioritizes the tile for pathfinders. Degrades over time in steps of 100.

Defined in

GridPath.ts:13


FIREPLACE

FIREPLACE = 950

De-prioritizes the tile for pathfinders. Does not degrade.

Defined in

GridPath.ts:16


ROCK

ROCK = 1000

Set by grid entities. Invalidates the tile for pathfinders. Impedes grounded player movement. Does not degrade.

Defined in

GridPath.ts:22


PIT

PIT = 3000

Invalidates the tile for pathfinders. Impedes grounded player movement. Does not degrade.

Defined in

GridPath.ts:25


GRIMACE

GRIMACE = 3999

Invalidates the tile for pathfinders. Impedes grounded player movement. Drops to 900 and then degrades over time in steps of 100. (Grimaces reset the value every frame.)

Defined in

GridPath.ts:31