mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
Robregen - removed adjustments for zone_time{"hour"] since it's fixed in the code.
Elroz - north karana fangbreakers following their leader
28 lines
No EOL
981 B
Lua
28 lines
No EOL
981 B
Lua
function event_spawn(e)
|
|
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();
|
|
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);
|
|
elseif(e.wp == 13) then
|
|
eq.debug("Shuttle to iceclad (3) has reached its destination! Name is: " .. e.self:GetName() .. " Time is: " .. hour ..":" .. minute .. "", 1);
|
|
eq.get_entity_list():ForeachClient(
|
|
function(ent)
|
|
ent:MovePC(110,-23000,3556,-40,0); -- Zone: erudsxing
|
|
end,
|
|
function(ent)
|
|
if(ent:GetBoatID() == 843) then
|
|
return true;
|
|
end
|
|
return false;
|
|
end
|
|
);
|
|
end
|
|
end |