lua/wrappers/game/lua_item.cpp
/**
	 * Returns true if this item has a valid quest ID.
	 * 
	 * @returns boolean True if this item is a quest item.
	 */
Returns true if this item has a valid quest ID.

@returns boolean True if this item is a quest item.
Returns true if this item has a valid quest ID . @returns boolean True if this item is a quest item .
int Item_is_quest_item(lua_State *lua)
	{
		Item *item = castUData<Item>(lua, 1);
		if (item)
		{
			lua_pushboolean(lua, item->isQuestItem());
			return 1;
		}
		return LuaState::expectedContext(lua, "is_quest_item", "am.item");
	}
int Item_is_quest_item ( lua_State * lua ) { Item * item = castUData < Item > ( lua , 1 ) ; if ( item ) { lua_pushboolean ( lua , item -> isQuestItem ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns true if this item has a valid quest ID.
Returns true if this item has a valid quest ID .