Tom_Neverwinter icon

Saffaullette FFXI Chocobo Circuit

Tom_Neverwinter | PRO | 11/22/22 05:47:24 AM UTC (Edited) | 0 ⭐ | 1393 👁️ | Never ⏰ | []
Lua |

1.01 KB

|

None

|

0 👍

/

0 👎

-----------------------------------
-- Area: Chocobo_Circuit
-- NPC: Saffaullette
-- !pos -252.2906 -5.0000 -490.7443 70
-----------------------------------
require("scripts/globals/keyitems")
-----------------------------------
local entity = {}
 
entity.onTrade = function(player, npc, trade)
end
 
entity.onTrigger = function(player, npc)
    player:startEvent(265)
end
 
entity.onEventUpdate = function(player, csid, option)
end
 
entity.onEventFinsih = function(player, csid, option)
if
    csid == 265 and 
    option == 100 then
            if (player:hasKeyItem(xi.ki.CHOCOBO_CIRCUIT_GRANDSTAND_PASS) == true)
                then
                player:setpos(-116.2652, -14.500, -125.3634, 0)
            elseif
                player:delGil(50)
                then
                player:setpos(-116.2652, -14.500, -125.3634, 0)
            end
         end
    end
--end
 
return entity
 
--player:addgil
--CHOCOBO_CIRCUIT_GRANDSTAND_PASS          = 908
-- !addkeyitem 908 Tom_Neverwinter

Comments