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