Hildibrand series of quests all in. Requires inn dream handling and some retail accuracy double-checking to finish it off. Misc script fixes also.

===============================
Nudgenpc.lua    - Added a command variation
Testmapobj.lua - Added !help documentation
DftWil.lua            - Corrected an npc name/function
Player.cs             - Changed Dalamud packet to default to 7, not 0.  Fixes the moon not displaying in a specific Hildibrand cutscene
Etc5g0.lua          - Made quest accepting retail-accurate with how it displayed messages/ended the TalkEvent
Etc5g1.lua          - Added Bed !.  Kinda kludged in atm since it's a pre-accepted quest state.
Etc5u1.lua          - Same as above
Etc5l1.lua           - Quest "Private Eyes" scripted.
Etc5l2.lua           - Quest "Mysteries of the Red Moon" scripted
Etc5l3.lua           - Quest "Prophecy Inspection" scripted
This commit is contained in:
CuriousJorge 2022-04-13 11:45:49 -04:00
parent 01d05b5cee
commit a7b1b79461
10 changed files with 583 additions and 15 deletions

View file

@ -18,6 +18,7 @@ SEQ_010 = 10;
-- Actor Class Ids
OTOPA_POTTOPA = 1000864;
HOURGLASS_BED = 1200380;
GAUWYN_THE_GANNET = 1002065;
HILDIBRAND = 1001995;
NASHU_MHAKARACCA = 1001996;
@ -52,12 +53,11 @@ end
function onStateChange(player, quest, sequence)
if (sequence == SEQ_ACCEPT) then
local hasQuestItem = player:GetItemPackage(INVENTORY_NORMAL):HasItem(ITEM_WANTED_GAUWYN);
local otopaFlag = 0;
if (hasQuestItem == false) then
otopaFlag = 2;
quest:SetENpc(OTOPA_POTTOPA, QFLAG_NORM);
end
quest:SetENpc(OTOPA_POTTOPA, otopaFlag);
quest:SetENpc(HOURGLASS_BED, 5);
end
if (sequence == SEQ_000) then