Skip to content

rq.QuestData ​

A quest's data as the quest list shows it, from rq.quests.get.

Fields ​

NameTypeDescription
idintegerThe quest number.
text_id (optional)stringThe id of a quest a mod defined (rq.quests.define), also when its mod is not loaded; nil for the game's quests. Since 2.41.0.
mainbooleanA main quest: the list's main tab. false for a side quest. Since 2.41.0.
namestringThe name.
descriptionstring[]The quest's text, one entry per line, up to 5; empty lines at the end are left out.
placestringWhere it takes place (発生場所, rq.Quest.map).
specialstringThe text of its special condition, "" when it has none now.
stateinteger0 locked, 1 available, 2 cleared.
kind"quest"|"fights"|"menu"|"other"The list's marks. quest a quest with a map (the map and battle marks); fights a quest with fights and no map (the battle mark), whose fights give a half of their EXP after its first clear, a third after the second and a fifth after that; menu a quest with no map and no fights (no mark): a story, or a menu such as Alice's Mansion or Scouting at the Bar.
difficultyintegerThe difficulty the list shows, with the game's addition for the world (2 per world after the first).
fameintegerThe fame the next clear gives, before skill 269 doubles it. The game halves it after each clear.
triesintegerHow many times it was taken.
clearsintegerHow many times it was cleared.
conditionsrq.QuestCondition []Its conditions to take part, up to 3; empty for none.
can_takebooleanTake would be lit for it now (rq.quests.can_take).
editedstring[]The ids of the mods whose rq.quests.edit patch is on it, in load order.
map (optional)rq.QuestMapShapeThe shape of the map of a mod's quest with a map (rq.QuestDef.map); nil for the others. Since 2.42.0.

Used by ​

rq.quests.get