RPG::Tileset

Data class for tilesets.

Superclass

Attributes

id

The tileset ID.

name

The tileset name.

tileset_name

The tileset's graphic file name.

autotile_names

The autotile graphic's file name array ([0]..[6]).

panorama_name

The panorama graphic file name.

panorama_hue

The adjustment value for the panorama graphic's hue (0..360).

fog_name

The fog graphic's file name.

fog_hue

The adjustment value for the fog graphic's hue (0..360).

fog_opacity

The fog's opacity.

fog_blend_type

The fog's blending mode.

fog_zoom

The fog's zoom level.

fog_sx

The fog's SX (automatic X-axis scrolling speed).

fog_sy

The fog's SY (automatic Y-axis scrolling speed).

battleback_name

The battle background's graphic file name.

passages

Passage table. A 1-dimensional array (Table) containing passage flags, Bush flags, and counter flags.

The tile ID is used as a subscript. Each bit is handled as follows:

  • 0x01: Cannot move down.

  • 0x02: Cannot move left.

  • 0x04: Cannot move right.

  • 0x08: Cannot move up.

  • 0x40: Bush flag.

  • 0x80: Counter flag.

priorities

Priority table. A 1-dimensional array (Table) containing priority data.

The tile ID is used as a subscript.

terrain_tags

Terrain tag table A 1-dimensional array (Table) containing terrain tag data.

The tile ID is used as a subscript.

Definition

Last updated