Elroz- partial hand in dialogue additions and a couple quest reward dialogue additions

Robregen - removed adjustments for zone_time{"hour"] since it's fixed in the code.
Elroz - north karana fangbreakers following their leader
This commit is contained in:
regneq 2023-12-20 11:58:48 -08:00
parent 7ecd6f4f3d
commit 235936a32c
67 changed files with 239 additions and 178 deletions

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 7) then
eq.debug("Boat to OOT has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 7) then
eq.debug("Boat to OOT has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -7,15 +7,15 @@ function event_enter_zone(e)
end
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,14 +1,14 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 7) then
eq.signal(24056,1); -- NPC: Sabrina

View file

@ -1,14 +1,14 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 7) then
eq.signal(24056,1); -- NPC: Sabrina

View file

@ -20,14 +20,14 @@ function event_signal(e)
end
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
-- Qeynos
if(e.self:GetGrid() == 5 and e.wp == 3) then

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
-- Qeynos
if(e.self:GetGrid() == 5 and e.wp == 3) then

View file

@ -7,14 +7,14 @@ function event_enter_zone(e)
end
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 12) then
eq.debug("Boat to timorous (18) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,12 +1,12 @@
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 9) then
eq.debug("Boat to OOT has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 9) then
eq.debug("Boat to OOT has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -7,15 +7,15 @@ function event_enter_zone(e)
end
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -30,7 +30,7 @@ end
function event_timer(e)
if ( e.timer == "timecheck" and not e.self:IsEngaged() ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
if ( zoneTime < 19 and zoneTime > 6 ) then
eq.depop_with_timer();

View file

@ -22,7 +22,7 @@ end
function event_timer(e)
if ( e.timer == "timecheck" and not e.self:IsEngaged() ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
if ( zoneTime > 18 or zoneTime < 8 ) then
eq.depop_with_timer();

View file

@ -12,7 +12,7 @@ end
function event_timer(e)
if ( e.timer == "timecheck" and not e.self:IsEngaged() ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
if ( zoneTime < 19 and zoneTime > 6 ) then
eq.depop_with_timer();

View file

@ -60,7 +60,7 @@ function event_timer(e)
if ( e.timer == "timecheck" ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
local npc, pause;
if ( zoneTime == 7 or zoneTime == 19 ) then
@ -101,7 +101,7 @@ function event_signal(e)
if ( newnpc and newnpc.valid ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
for i, id in ipairs(newIDs) do
if ( id == newnpc:GetID() and oldIDs[i] ) then

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Shuttle spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 4) then
eq.debug("Shuttle to nro (2) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,12 +1,12 @@
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -9,9 +9,11 @@ end
function event_trade(e)
local item_lib = require("items");
local text = "I require four samples of vampyre blood.";
local text1 = "I require four such samples for my research. Please see if you can gather more.";
-- Handin: 4x Vampyre Ashes (2692) or 4x Vampyre Blood (2693)
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 2692,item2 = 2692,item3 = 2692,item4 = 2692}, 0) or item_lib.check_turn_in(e.self, e.trade, {item1 = 2693,item2 = 2693,item3 = 2693,item4 = 2693}, 0)) then
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 2692,item2 = 2692,item3 = 2692,item4 = 2692},1,text1) or item_lib.check_turn_in(e.self, e.trade, {item1 = 2693,item2 = 2693,item3 = 2693,item4 = 2693},1,text)) then
e.self:Say("Thank you " .. e.other:GetCleanName() .. "! These samples will be put to good use I assure you. The Coterie will not stand much longer against the forces of Katta Castellum.");
e.other:Faction(e.self,1504,3); -- +Magus Conlegium
e.other:Faction(e.self,1502,1); -- +Katta Castellum Citizens

View file

@ -20,6 +20,8 @@ end
function event_trade(e)
local item_lib = require("items");
local text = "I require three organs from the snake people.";
";
-- Handin: 1x Muck Beetle Mandible (10412), 1x Black Fungal Fiend Spores (10413), 1x Green Fungal Fiend Spores (10414), 1x Grimfang Poison Sac (10415)
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 10412,item2 = 10413,item3 = 10414,item4 = 10415})) then
@ -34,7 +36,7 @@ function event_trade(e)
e.other:Faction(e.self,1541,-1); -- -Hand Legionnaries
e.other:QuestReward(e.self,0,0,0,0,31743,5000); -- Mug of Purifying Tonic
-- Handin: 3x Shissar Organs (10416)
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 10416,item2 = 10416,item3 = 10416})) then
elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 10416,item2 = 10416,item3 = 10416},1,text)) then
-- End of Undead Snake Organs
e.self:Say("Excellent work " .. e.other:GetCleanName() .. "! The acquisition of these organs is a fantastic accomplishment!");
e.other:Faction(e.self,1504,10); -- +Magus Conlegium

View file

@ -6,8 +6,9 @@ end
function event_trade(e)
local item_lib = require("items");
local text = "I require the three autarkic shade robes and the robe of the autarkic shade lord.";
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 7373,item2 = 7374,item3 = 7374,item4 = 7374})) then
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 7373,item2 = 7374,item3 = 7374,item4 = 7374},1,text)) then
e.self:Say("Hopefully these robes still contain enough of a magical imprint from the shades to be useful in successfully warding the Magus Conlegium from their kind. Thank you for you assistance. Keep this token as a symbol of your allegiance to the Magus Conlegium.");
e.other:Faction(e.self,1504,10); -- Magus Conlegium
e.other:Faction(e.self,1502,1); -- Katta Castellum Citizens

View file

@ -9,9 +9,10 @@ end
function event_trade(e)
local item_lib = require("items");
local text = "I require the fangs of four Vampyres!";
-- Handin: 4x Vampyre Fang (2691)
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 2691,item2 = 2691,item3 = 2691,item4 = 2691}, 0)) then
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 2691,item2 = 2691,item3 = 2691,item4 = 2691},1,text)) then
-- End of Vamprye Fang
e.self:Say("You have dedicated yourself to the war with the Coterie of the Eternal Night. I will continue to reward you for the fangs of every four vampyres that you slay. Should you be ambitious and skilled enough to confront the coterie leaders and live I will respectfully grant you honor that you deserve.");
e.other:Faction(e.self,1503,5); -- +Validus Custodus

View file

@ -6,8 +6,9 @@ end
function event_trade(e)
local item_lib = require("items");
local text = "I require the instructions from Phenic and the Autarkic Shade Lord Belt.";
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 7270,item2 = 7169})) then
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 7270,item2 = 7169},1,text)) then
e.self:Say("Phenic wishes me to summon the Shade that is the owner of this belt for questioning. That is quite a dangerous request but it is not uncommon of Phenic to be a risk taker when it comes to his plots against the Coterie of the Eternal Night. Take this sketch and find a skilled potter to craft you a likeness of a shade from a large block of clay as a focus item for the ritual. When you have the unfired figurine fire it in a kiln with this special glaze on a High Quality Firing Sheet and return to me.");
e.other:Faction(e.self,1504,2); -- Magus Conlegium
e.other:Faction(e.self,1502,1); -- Katta Castellum Citizens

View file

@ -1,3 +1,19 @@
function event_spawn(e)
eq.set_timer("follow",1000);
end
function event_timer(e)
if(e.timer == "follow") then
local mobtypeID = eq.get_entity_list():GetMobByNpcTypeID(13065);
if(mobtypeID) then
local follow_mob = mobtypeID:GetID();
eq.follow(follow_mob,15);
eq.stop_timer("follow");
end
end
end
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Hail, " .. e.other:GetCleanName() .. "! I am Bunu Stoutheart of the [Fangbreakers]. I am a loyal shaman who serves the will of the Tribunal.");

View file

@ -1,3 +1,20 @@
function event_spawn(e)
eq.set_timer("follow",1000);
end
function event_timer(e)
if(e.timer == "follow") then
local mobtypeID = eq.get_entity_list():GetMobByNpcTypeID(13065);
if(mobtypeID) then
local follow_mob = mobtypeID:GetID();
eq.follow(follow_mob,25);
eq.stop_timer("follow");
end
end
end
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Hey, " .. e.other:GetCleanName() .. "! I am Cory Bumbleye, expert [lycanthrope] tracker. You had better be careful out here. There are [werewolves] in these hills. Heck, if it weren't for us [Fangbreakers], this whole area would be overrun with the flea-bitten beasts.");

View file

@ -1,4 +1,20 @@
-- Fixxin Followigs Silvery Blades
function event_spawn(e)
eq.set_timer("follow",1000);
end
function event_timer(e)
if(e.timer == "follow") then
local mobtypeID = eq.get_entity_list():GetMobByNpcTypeID(13065);
if(mobtypeID) then
local follow_mob = mobtypeID:GetID();
eq.follow(follow_mob,35);
eq.stop_timer("follow");
end
end
end
function event_say(e)
if(e.message:findi("hail")) then

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Shuttle spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 6) then
eq.debug("Shuttle to iceclad (3) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,12 +1,12 @@
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Shuttle spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 5) then
eq.debug("Shuttle to timorous (1) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Shuttle spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 5) then
eq.debug("Shuttle to timorous (1) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,12 +1,12 @@
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,14 +1,14 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
-- Freeport
if(e.self:GetGrid() == 60 and e.wp == 18) then

View file

@ -1,14 +1,14 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
-- Freeport
if(e.self:GetGrid() == 60 and e.wp == 18) then

View file

@ -14,14 +14,14 @@ function event_enter_zone(e)
end
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 13) then
eq.debug("Boat to timorous (15) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -34,7 +34,7 @@ end
function event_timer(e)
if ( e.timer == "timecheck" ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
if ( zoneTime > 19 or zoneTime < 7 ) then
eq.debug("EinoInvisDay despawn", 2);
eq.depop_with_timer();

View file

@ -13,7 +13,7 @@ end
function event_timer(e)
if ( e.timer == "timecheck" ) then
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
if ( zoneTime > 6 and zoneTime < 20 ) then
eq.depop_with_timer();
eq.debug("EinoInvisNight despawn", 2);

View file

@ -56,7 +56,7 @@ function event_trade(e)
if(sash > 0) then
repeat
e.self:Say("Good work " .. e.other:Class() .. ". The Karana Bandits have been plaguing the Rainkeepers flock for some time. Take this as a small reward for your devotion. Continue the fight against the Karana Bandits. Ahh... I wish [Cheslin] was equally as skilled.");
e.self:Say("Good work, knight! The Karana Bandits have been plaguing the Rainkeepers flock for some time. Take this as a small reward for your devotion. Continue the fight against the Karana Bandits. Ahh... I wish [Cheslin] was equally as skilled.");
-- random bronze item reward
-- Confirmed Live Factions and exp data
e.other:Faction(e.self,280,20,0); -- Knights of Thunder

View file

@ -1,14 +1,14 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 12) then
eq.debug("Boat to Erudsxing has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,14 +1,14 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 12) then
eq.debug("Boat to Erudsxing has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -7,14 +7,14 @@ function event_enter_zone(e)
end
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -3,7 +3,7 @@ function event_spawn(e)
end
function event_waypoint_arrive(e)
local zoneTime = eq.get_zone_time()["zone_hour"] + 1;
local zoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 13 and e.wp > 0 and e.wp < 3) then
e.self:SetRunning(false);
elseif(e.self:GetGrid() == 13 and e.wp == 3) then

View file

@ -13,7 +13,7 @@ function event_spawn(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 13) then
if(e.wp > 0 and e.wp < 3) then
e.self:SetRunning(false);

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 19 and ZoneTime < 8) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -15,7 +15,7 @@ function event_timer(e)
end
function event_waypoint_arrive(e)
local ZoneTime = eq.get_zone_time()["zone_hour"] + 1;
local ZoneTime = eq.get_zone_time()["zone_hour"];
if(e.self:GetGrid() == 26 and despawntime == 1) then
if(e.wp == 0 and ZoneTime > 7 and ZoneTime < 20) then
despawntime = 0;

View file

@ -16,17 +16,19 @@ end
function event_trade(e)
local item_lib = require("items");
local text1 = "Two portions of fairy dust and the right and left decayed boots!!";
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12292, item2 = 12291, item3 = 16507})) then
e.self:Say("Well done, " .. e.other:GetCleanName() .. ", here is your reward.");
e.other:QuestReward(e.self,0,0,0,0,3144);
e.other:QuestReward(e.self,0,0,0,0,3144,5000);
end
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12294, item2 = 12293, item3 = 12297, item4 = 12297})) then
e.self:Say("You have been granted the darkforge greaves!!");
e.other:QuestReward(e.self,0,0,0,0,3145);
e.other:QuestReward(e.self,0,0,0,0,3145,5000);
end
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12296, item2 = 12295, item3 = 12106, item4 = 12106})) then
e.self:Say("Well done, " .. e.other:GetCleanName() .. ", here is your reward.");
e.other:QuestReward(e.self,0,0,0,0,3146);
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12296, item2 = 12295, item3 = 12106, item4 = 12106},1,text1)) then
e.self:Say("You may now wear the darkforge boots!!");
e.other:QuestReward(e.self,0,0,0,0,3146,5000);
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -16,23 +16,26 @@ end
function event_trade(e)
local item_lib = require("items");
local text1 = "Two damaged Freeport Militia helms, the decayed helm and the decayed visor.";
local text1 = "Two damaged Freeport Militia helms, the decayed helm and the decayed visor.";
local text2 = "The decayed breastplate, decayed mail and two enchanted platinum bars.";
local text3 = "The minotaur hero shackles and both right and left decayed bracers.";
local text4 = "A Qeynos kite shield and the right and left decayed vambraces.";
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12283, item2 = 12284, item3 = 13921, item4 = 13921},1,text1)) then
e.self:Say("You now own the darkforge helm.");
e.other:QuestReward(e.self,0,0,0,0,3140);
e.other:QuestReward(e.self,0,0,0,0,3140,5000);
end
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12285, item2 = 12286, item3 = 16507, item4 = 16507})) then
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12285, item2 = 12286, item3 = 16507, item4 = 16507},1,text2)) then
e.self:Say("I grant you the darkforge breastplate!!");
e.other:QuestReward(e.self,0,0,0,0,3141);
e.other:QuestReward(e.self,0,0,0,0,3141,5000);
end
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12288, item2 = 12287, item3 = 9023})) then
e.self:Say("Well done, " .. e.other:GetCleanName() .. ", here is your reward.");
e.other:QuestReward(e.self,0,0,0,0,3142);
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12288, item2 = 12287, item3 = 9023},1,text4)) then
e.self:Say("You now have the darkforge vambraces.");
e.other:QuestReward(e.self,0,0,0,0,3142,5000);
end
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12290, item2 = 12289, item3 = 19075})) then
e.self:Say("Well done, " .. e.other:GetCleanName() .. ", here is your reward.");
e.other:QuestReward(e.self,0,0,0,0,3143);
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12290, item2 = 12289, item3 = 19075},1,text3)) then
e.self:Say("You now own a darkforge bracer.");
e.other:QuestReward(e.self,0,0,0,0,3143,5000);
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Shuttle spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 22) then
eq.debug("Shuttle to oasis (5) has reached the island. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 40) then
eq.debug("Boat to overthere (15) has reached the docks. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -5,8 +5,8 @@ function event_signal(e)
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 2) then
eq.stop();

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Boat spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 4) then
eq.signal(96075,1); -- NPC: Island_Shuttle

View file

@ -1,13 +1,13 @@
function event_spawn(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug("Shuttle spawned! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
end
function event_waypoint_arrive(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
if(e.wp == 22) then
eq.debug("Shuttle to oasis (5) has reached the island. Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);

View file

@ -1,6 +1,6 @@
function event_board_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
local minute = zone_time["zone_minute"];
eq.debug(" At: " .. hour .. ":" .. minute .. " BoatID: " .. e.boat_id .. " was boarded. Its name is: " .. e.self:GetBoatName() .. ".", 1);
end
@ -16,7 +16,7 @@ function event_signal(e)
end
function event_leave_boat(e)
local zone_time = eq.get_zone_time(); -- Time here is off by 1, so 6AM = 5.
local hour = zone_time["zone_hour"] + 1;
local zone_time = eq.get_zone_time();
local hour = zone_time["zone_hour"];
eq.debug(" At: " .. hour .. ":00 I left BoatID: " .. e.boat_id .. ".", 1);
end