mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Quests + Minor fixes
MarketEntrance - Adjusted events parameter so it works again Warp - Added shortcut for switching between a given town's zones so I can stop having to look up the right zone id Weather - Added shortcut for weather ids to +8000 to the value if the're within a certain range. DftSea - Inn NPC check etc5u0 - Used a constant in place of a value, updated a constant's name. etc5l0 - Fully scripted. etc5u1 - Mostly scripted. Requires Dream handling and privArea + NPC placement. etc5g1 - Mostly scripted. Requires Dream handling and privArea + NPC placement.
This commit is contained in:
parent
e94c037fb5
commit
b34f214e67
8 changed files with 489 additions and 8 deletions
|
@ -84,7 +84,7 @@ city = {
|
|||
|
||||
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
function onEventStarted(player, npc, eventType, eventName)
|
||||
|
||||
local npcCity = city[npc:GetActorClassId()] or 1;
|
||||
local wardPlaceName = CITY_INFO[npcCity][1]; -- Market Wards category name. Identical in all languages except Japanese
|
||||
|
@ -98,7 +98,7 @@ function onEventStarted(player, npc, triggerName)
|
|||
|
||||
local worldMaster = GetWorldMaster();
|
||||
local pos = player:GetPos();
|
||||
local currZone = pos[4];
|
||||
local currZone = pos[5];
|
||||
|
||||
if (currZone == 133 or currZone == 230 or currZone == 155 or currZone == 206 or currZone == 175 or currZone == 209) then
|
||||
exitPlaceName = 0; -- If in city, hide city menu option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue