9#define OUTFIT_METATABLE "outfit"
12#define luaL_optoutfit( L, ind, def ) \
13 nluaL_optarg( L, ind, def, luaL_checkoutfit )
const Outfit * luaL_validoutfit(lua_State *L, int ind)
Makes sure the outfit is valid or raises a Lua error.
int nlua_loadOutfit(nlua_env env)
Loads the outfit library.
const Outfit * luaL_checkoutfit(lua_State *L, int ind)
Gets outfit at index or raises error if there is no outfit at index.
const Outfit ** lua_pushoutfit(lua_State *L, const Outfit *outfit)
Pushes a outfit on the stack.
int lua_isoutfit(lua_State *L, int ind)
Checks to see if ind is a outfit.
const Outfit * lua_tooutfit(lua_State *L, int ind)
Lua bindings to interact with outfits.
A ship outfit, depends radically on the type.