(Official) LUA Scripting Documentation
Pages
Miscellaneous Functions
is_item_type*
Gets the specified item type.
is_item_subtype*
Gets the specified item subtype.
is_item_class*
Gets the the specified item class.
cave_in*
Start a cave in.
commit*
Force a chunk mesh update.
explosion*
Create an explosion.
is_chance*
A dice query (same as is_random).
is_cursor_valid*
Queries if the context actor cursor is currently targeting a block.
is_random*
A dice query (same as is_chance).
mod_callback*
A Mod callback. Call this function to pass string data to a mod.
set_random_seed*
Change the seed for the random number generator.
set_clan*
Assign the context players clan.
set_context*
Set the script context.
set_reach*
Set the reach of the context actor.
teleport*
Teleport the player.
teleport_all*
Teleport all actors in a cubic region.