diff --git a/source/game/scripting/StarPlayerLuaBindings.cpp b/source/game/scripting/StarPlayerLuaBindings.cpp index 7952f30..15ad1dd 100644 --- a/source/game/scripting/StarPlayerLuaBindings.cpp +++ b/source/game/scripting/StarPlayerLuaBindings.cpp @@ -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 const& questId) { return player->questManager()->setAsTracked(questId); });