Return Codes
A helper class for debugging Lua code. This class provides the follow return code constants.
General
success
nil_parameter
internal_error
file_not_found
Character
able_to_equip
can_equip
body_part_type_mismatch
not_enough_body_parts
out_of_range
no_weapon_part
off_the_map
invalid_location
did_interact
did_not_interact
do_not_interact
Body Parts
body_part_found
body_part_not_found
body_part_type_unknown
Texture
texture_load_failed
System
no_linked_System
Inventory
not_enough_inventory_space
item_not_in_inventory
Store
store_already_owned
not_enough_coin
no_store_owner
no_inventories
Return to Index
static
message
(
am.code
return_code
)
->
(
string
)
static
message
(
am.code
return_code
)
->
(
string
)
Accepts a return code value (represented by an integer) and returns a more detailed message about that return code.
Parameters:
am.code
return_code
:
The return code to get the message for.
Returns:
string
:
The message associated with the given return code.
General
Character
Body Parts
Texture
System
Inventory
Store