Skip to content

Enumerations

Enumeration List

buttonClicked

The name of the button the player clicked, returned in the data table.

lua
buttonClicked

dialog_name

The name of the dialog, returned in the data table from onPlayerDialogCallback.

lua
dialog_name

item

The item associated with a specific dialog action.

lua
item

ITEM_CATEGORY_FLAGS

A table of bit flags for item categories (e.g., ITEM_CATEGORY_FLAGS.UNTRADABLE, ITEM_CATEGORY_FLAGS.BETA).

lua
ITEM_CATEGORY_FLAGS

PlayerClothes

A table of constants for clothing slots (e.g., PlayerClothes.HAND, PlayerClothes.FEET).

lua
PlayerClothes

PlayerRoleQuestTypes

A table of constants for role quest types (e.g., PlayerRoleQuestTypes.Farmer, PlayerRoleQuestTypes.Builder).

lua
PlayerRoleQuestTypes

RoleFlags

A table of bit flags for roles (e.g., RoleFlags.ACCESS_ALL_WORLDS, RoleFlags.BYPASS_ANTICHEAT).

lua
RoleFlags

Roles

A table of constants for player roles (e.g., Roles.ROLE_NONE, Roles.ROLE_ADMIN, Roles.ROLE_DEVELOPER).

lua
Roles

selection

The item selected by the player in an item picker, returned in the data table.

lua
selection

TileDataProperties

A table of constants for tile data properties (e.g., TILE_DATA_TYPE_SEED_FRUITS_COUNT, TILE_DATA_TYPE_MAGPLANT_ITEM_COUNT).

lua
TileDataProperties

Released under the MIT License.