mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
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:
parent
01d05b5cee
commit
a7b1b79461
10 changed files with 583 additions and 15 deletions
|
@ -19,6 +19,7 @@ SEQ_010 = 10;
|
|||
-- Actor Class Ids
|
||||
OTOPA_POTTOPA = 1000864;
|
||||
VKOROLON = 1000458;
|
||||
THE_ROOST_BED = 1200379;
|
||||
NICOLIAUX = 1002071; -- 1000409: Can't use his public area id, otherwise a ! shows on him there also
|
||||
POWLE = 1000238;
|
||||
AUNILLIE = 1000410;
|
||||
|
@ -51,14 +52,14 @@ 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(THE_ROOST_BED, 5);
|
||||
quest:SetENpc(VKOROLON, QFLAG_NORM); -- Always shows despite interaction
|
||||
|
||||
elseif (sequence == SEQ_000) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue