mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-25 03:48:23 +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/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
|
Loading…
Add table
Add a link
Reference in a new issue