mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Added scripts for the inn keepers. Added default event conditions to almost all actors. Updated sql for actorClass, spawnLocations, and new zoneEntrances.
This commit is contained in:
parent
5723f77b1f
commit
65389e3362
106 changed files with 776 additions and 750 deletions
15
data/scripts/unique/fst0Town01/PopulaceStandard/vkorolon.lua
Normal file
15
data/scripts/unique/fst0Town01/PopulaceStandard/vkorolon.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
function onEventStarted(player, npc)
|
||||
defaultFst = getStaticActor("DftFst");
|
||||
player:runEventFunction("delegateEvent", player, defaultFst, "defaultTalkWithInn_Desk", nil, nil, nil);
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, blah, menuSelect)
|
||||
|
||||
if (menuSelect == 1) then
|
||||
getWorldManager():DoZoneChange(player, 13);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,3 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0, 0x141, 0xB85;
|
||||
end
|
15
data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua
Normal file
15
data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
function onEventStarted(player, npc)
|
||||
defaultSea = getStaticActor("DftSea");
|
||||
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil);
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, blah, menuSelect)
|
||||
|
||||
if (menuSelect == 1) then
|
||||
getWorldManager():DoZoneChange(player, 12);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
function onEventStarted(player, npc)
|
||||
defaultWil = getStaticActor("DftWil");
|
||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithInn_Desk_2", nil, nil, nil); --BTN
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, blah, menuSelect)
|
||||
|
||||
if (menuSelect == 1) then
|
||||
getWorldManager():DoZoneChange(player, 11);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue