Chocobo stuff:

PopulaceChocoboLender - Made rental time 10 minutes again (as retail had it).  Added Vesper Bay NPC's rental location as close as I could get it from a blurry source.
ChocoboRideCommand - Fixed the method used to pull a zone's music so the script doesn't fail.
This commit is contained in:
CuriousJorge 2022-03-13 18:26:20 -04:00
parent b34f214e67
commit b08827568c
2 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,8 @@ local startAppearances = {
local cityExits = {
[1500006] = {133, -6.032, 46.356, 132.572, 3.034},
[1500061] = {150, 333.271, 5.889, -943.275, 0.794},
[1000840] = {170, -26.088, 181.846, -79.438, 2.579}
[1000840] = {170, -26.088, 181.846, -79.438, 2.579},
[1500059] = {172, -2133.028, 15.476, -421.471, 1.5}
};
function init(npc)
@ -110,7 +111,7 @@ function onEventStarted(player, npc, triggerName)
elseif(menuChoice == 3) then -- Change Barding
callClientFunction(player, "eventTalkStepBreak", player);
elseif(menuChoice == 5) then -- Rent Bird
mountChocobo(player, true, 1);
mountChocobo(player, true, 10);
GetWorldManager():DoZoneChange(player, cityExits[classId][1], nil, 0, SPAWN_CHOCOBO_RENTAL, cityExits[classId][2], cityExits[classId][3], cityExits[classId][4], cityExits[classId][5]);
else
callClientFunction(player, "eventTalkStepBreak", player);

View File

@ -26,7 +26,7 @@ function onEventStarted(player, actor, eventType, eventName, isGoobbue)
player:ChangeSpeed(0.0, 3.6, 9.0, 9.0);
player:ChangeState(15);
else
player:ChangeMusic(player:GetZone().bgmDay, MUSIC_FADEIN);
player:ChangeMusic(player.currentArea.bgmDay, MUSIC_FADEIN);
worldMaster = GetWorldMaster();