From 305016e7bd3856c0249f80f36ef7af4a36fd2344 Mon Sep 17 00:00:00 2001 From: Tucker Date: Sun, 26 Jan 2025 14:25:17 -0500 Subject: [PATCH] add module for era quest reward for Northward --- modules/era/lua/northward.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/era/lua/northward.lua diff --git a/modules/era/lua/northward.lua b/modules/era/lua/northward.lua new file mode 100644 index 00000000000..210abd19f31 --- /dev/null +++ b/modules/era/lua/northward.lua @@ -0,0 +1,22 @@ +----------------------------------- +-- Module to remove exp and gil from 'Northward' quest reward. +-- Gil and exp were added to the quest reward in 2017 so they are removed here. https://ffxiclopedia.fandom.com/wiki/Northward +----------------------------------- +require('modules/module_utils') +----------------------------------- +local m = Module:new('era_quest_northward') + +m:addOverride('xi.server.onServerStart', function() + super() + + xi.module.modifyInteractionEntry('scripts/quests/jeuno/Northward', function(quest) + quest.reward = { + fame = 30, + fameArea = xi.fameArea.JEUNO, + keyItem = xi.ki.MAP_OF_CASTLE_ZVAHL, + title = xi.title.ENVOY_TO_THE_NORTH, + } + end) +end) + +return m