lua/wrappers/game/lua_quest.cpp
/**
	 * @static
	 * Adds a quest to the game engine pool of quests. This allows for them to be
	 * looked up from anywhere using their quest id.
	 *
	 * @param am.quest quest The quest to add to the pool.
	 * @returns boolean True if the quest was successfully added.
	 */
@static
Adds a quest to the game engine pool of quests. This allows for them to be
looked up from anywhere using their quest id.

@param am.quest quest The quest to add to the pool.
@returns boolean True if the quest was successfully added.
@static Adds a quest to the game engine pool of quests . This allows for them to be looked up from anywhere using their quest id . @param am . quest quest The quest to add to the pool . @returns boolean True if the quest was successfully added .
int Quest_add_quest(lua_State *lua)
	{
		Quest *quest = castUData<Quest>(lua, 1);
		if (quest)
		{
			lua_pushboolean(lua, Engine::getGame()->addQuest(quest));
			return 1;
		}
		return LuaState::expectedArgs(lua, "@add_quest", "am.quest quest");
	}
int Quest_add_quest ( lua_State * lua ) { Quest * quest = castUData < Quest > ( lua , 1 ) ; if ( quest ) { lua_pushboolean ( lua , Engine :: getGame ( ) -> addQuest ( quest ) ) ; return 1 ; } return LuaState :: expectedArgs ( lua , " " , " " ) ; }
@static
 Adds a quest to the game engine pool of quests.
@static Adds a quest to the game engine pool of quests .