Module ...
Handles actors quests
Functions
_M:grantQuest (quest, args) | Grants a quest to an actor from the given quest definition |
_M:hasQuest (id) | Checks if the actor has this quest |
_M:isQuestStatus (quest, status, sub) | Checks the status of the given quest If the actor does not have the quest, does nothing |
_M:removeQuest (id) | Removes the quest completely from the actor. |
_M:setQuestStatus (quest, status, sub) | Sets the status of a quest for an actor If the actor does not have the quest, does nothing |
Functions
- _M:grantQuest (quest, args)
-
Grants a quest to an actor from the given quest definition
Parameters
- quest:
- args:
- _M:hasQuest (id)
-
Checks if the actor has this quest
Parameters
- id:
- _M:isQuestStatus (quest, status, sub)
-
Checks the status of the given quest If the actor does not have the quest, does nothing
Parameters
- quest:
- status:
- sub:
- _M:removeQuest (id)
-
Removes the quest completely from the actor. USE WITH CAUTION
Parameters
- id:
- _M:setQuestStatus (quest, status, sub)
-
Sets the status of a quest for an actor If the actor does not have the quest, does nothing
Parameters
- quest:
- status:
- sub: