QuestCreateItem
- Parameters
-
whichQuest quest
The quest to add the requirement to.
- comment
-
Creates a new item/requirement for a quest displayed above the description text field of the quest in the quest menu.
- note
-
Each quest item has a hyphen "-" symbol prepended.
- note
-
Quest items are rendered in the order they were created.
- note
-
There seems to be no reasonable limit to how many quest items a quest can contain. But the text field has limited height. If it does not fit otherwise, the text field will become scrollable. Still, at some point, when having too many quest items, it cannot be scrolled precisely enough to be able to scroll exactly to all of the items.
- note
-
Quest items share the text field with defeat conditions (see
CreateDefeatCondition
). - note
-
The quest item will only be rendered after the quest is reselected, the quest menu is re-opened, or when an update is forced (see
ForceQuestDialogUpdate
). - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
questitem
- Source code
-
native QuestCreateItem takes quest whichQuest returns questitem