lua/wrappers/game/lua_item.cpp
/**
	 * Sets the map that the item was originally on, can be nil.
	 * This is usually set automatically the first time a item is
	 * added to a map. This is primarily used for reloading the item
	 * and knowing where to find likely find any event handlers and additional
	 * information relating to the item that is not stored directly on the
	 * item.
	 *
	 * @param am.map map The map the item was originally was on.
	 * @returns am.item This
	 */
Sets the map that the item was originally on, can be nil.
This is usually set automatically the first time a item is
added to a map. This is primarily used for reloading the item
and knowing where to find likely find any event handlers and additional
information relating to the item that is not stored directly on the
item.

@param am.map map The map the item was originally was on.
Sets the map that the item was originally on can be nil . This is usually set automatically the first time a item is added to a map . This is primarily used for reloading the item and knowing where to find likely find any event handlers and additional information relating to the item that is not stored directly on the item . @param am . map map The map the item was originally was on .
int Item_original_map(lua_State *lua)
	{
		Item *obj = castUData<Item>(lua, 1);
		if (obj)
		{
			return GameObject_original_map(lua, obj);
		}
		return LuaState::expectedContext(lua, "map", "am.item");
	}
int Item_original_map ( lua_State * lua ) { Item * obj = castUData < Item > ( lua , 1 ) ; if ( obj ) { return GameObject_original_map ( lua , obj ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Sets the map that the item was originally on, can be nil.
Sets the map that the item was originally on can be nil .