Describes a vehicle

Hierarchy

  • IItemVehicle

Properties

allowResting?: default

Allows resting

allowSleeping?: default

Allows sleeping

allowedTiles?: {
    allowAnyWater?: boolean;
    doodadTypes?: Set<DoodadType>;
    tileTypes?: Set<TerrainType>;
}

Allowed tiles the vehicle operates on

Type declaration

  • Optional allowAnyWater?: boolean

    Allow moving on any water tile

  • Optional doodadTypes?: Set<DoodadType>

    Allow moving on the set of doodad types

  • Optional tileTypes?: Set<TerrainType>

    Allow moving on the set of tile types

defenseBonus?: number

Defense bonus when inside a vehicle

disallowedTileMessage: default

Message to display when trying to use the vehicle on a disallowed tile

movementSpeed: number

Movement delay

movementType?: MoveType

Vehicle movement type

renderOffsetY?: number

y offset when rendering the sprite

renderType: VehicleRenderType

Render type of vehicle

smartMovement?: boolean

Makes movement try to stay on a valid path

soundEffect?: SfxType

Sound effect when moving

Type of vehicle

Generated using TypeDoc