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
29 lines
No EOL
861 B
Lua
29 lines
No EOL
861 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("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();
|
|
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);
|
|
eq.spawn_condition("qeynos",3,0);
|
|
eq.spawn_condition("qeynos",4,0);
|
|
eq.get_entity_list():ForeachClient(
|
|
function(ent)
|
|
ent:MovePC(98,-2190,-464,-22,64);
|
|
end,
|
|
function(ent)
|
|
if(ent:GetBoatID() == 773) then
|
|
return true;
|
|
end
|
|
return false;
|
|
end
|
|
);
|
|
end
|
|
end |