add player.trackedQuest
This commit is contained in:
parent
aac3e53941
commit
99f78c3912
@ -484,6 +484,10 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) {
|
||||
return player->questManager()->hasCompleted(questId);
|
||||
});
|
||||
|
||||
callbacks.registerCallback("trackedQuest", [player]() {
|
||||
return player->questManager()->trackedQuest();
|
||||
});
|
||||
|
||||
callbacks.registerCallback("setTrackedQuest", [player](Maybe<String> const& questId) {
|
||||
return player->questManager()->setAsTracked(questId);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user