Tom_Neverwinter icon

Toppi-Meppi FFXI

Tom_Neverwinter | PRO | 07/05/22 12:14:22 AM UTC (Edited) | 0 ⭐ | 1241 👁️ | Never ⏰ | []
Lua |

4.08 KB

|

None

|

0 👍

/

0 👎

-----------------------------------
-- Area: Windurst Woods
--  NPC: Toppi-Meppi
-- Type: VCS Chocobuck Exchange Depot Vendor
-- !pos -115.5402 -5.0000 -137.6557 241
-----------------------------------
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
require("scripts/globals/shop")
require("scripts/globals/settings")
require("scripts/globals/status")
-----------------------------------
local currency =
{
    chocobuck_sandoria,
    chocobuck_bastok,
    chocobuck_windurst,
-- ID? 
}
 
local entity = {}
 
entity.onTrade = function(player, npc, trade)
end
 
entity.onTrigger = function(player, npc)
    -- Standard shop
    player:showText(npc, ID.text.Toppi-Meppi_TEXT)
    local stock =
    {
    --You must be registered with a particular CRA branch before you can spend earned chocobucks at a Chocobuck Exchange Center
    -- 1 chocobuck
    5605, 1, -- Sharug Greens 
    5606, 1, -- Azouph Greens
    2201, 1, -- Tokopekko Wildgrass
    2202, 1, -- Garidav Wildgrass
    5607, 1, -- Vomp Carrot
    5608, 1, -- Zegham Carrot
    -- 3 chocobuck
    2210, 3, -- Vegetable Paste
    2208, 3, -- Herb Paste
    2211, 3, -- Carrot Paste
    2209, 3, -- Worm Paste
    2203, 3, -- Cupid Worm
    2204, 3, -- Parasite Worm
    2205, 3, -- Gregarious Worm
    2645, 3, -- Eastern Ginger Root
    -- 10 chocobuck
    5605, 10, --Bunches of Sharug Greens
    5606, 10, --Bunches of Azouph Greens
    2201, 10, --Clumps of Tokopekko Wildgrass
    2202, 10, --Clumps of Garidav Wildgrass
    5607, 10, --Vomp Carrots
    5608, 10, --Zegham Carrots
    -- 30 chocobuck
    2210, 30, --Balls of Vegetable Paste
    2208, 30, --Balls of Herb Paste
    2211, 30, --Balls of Carrot Paste
    2209, 30. --Balls of Worm Paste
    2203, 30, --Cupid Worms
    2204, 30, --Parasite Worms
    2205, 30, --Gregarious Worms
    -- 40 chocobucks
    2206, 40, --A Chocolixir
    2207, 40, --A Celerity Salad
    -- 50 chocobucks
    2345, 50, --A Hi-Chocolixir
    2346, 50, --A Tornado Salad
        -- 75 Chocobucks
    2379, 75, -- A bottle of Yellow Chocobo Dye
    2383, 75, -- A bottle of Black Chocobo Dye
    2381, 75, -- A bottle of Blue Chocobo Dye
    2380, 75, -- A bottle of Red Chocobo Dye
    2382, 75, -- A bottle of Green Chocobo Dye
    -- 80 Chocobucks
    2407, 80, -- R Chocotrain
     -- Slightly raises one random attribute of a chocobo, without reducing any other. This token can only be turned in for adult Chocobos still residing in the stables.
    -- 90 Chocobucks
    -- These items can only be purchased while your nation is first or second in chocobo races rank.
    2403, 90, -- R Chocotrain: STR
    2404, 90, -- R Chocotrain: END
    2405, 90, -- R Chocotrain: DSC
    2406, 90, -- R Chocotrain: RCP
    -- 100 Chocobucks
    -- These items can only be purchased while your nation is first in chocobo races rank.
    2403, 90, -- R Chocotrain: STR
    2404, 90, -- R Chocotrain: END
    2405, 90, -- R Chocotrain: DSC
    2406, 90, -- R Chocotrain: RCP
    2486, 100, -- 150 Chocobucks [how to set value?]
    11321, 100, -- Orange Racing Silks..........Chocobo Riding Time +10
    11322, 100, -- Black Racing Silks............Hot and Cold Game: Increases jackpot chance
    11323, 100, -- Purple Racing Silks...........Personal chocobo: Increase movement speed
    11324, 100, -- Sky Blue Racing Silks.......Enhances chocobo digging skill
    11325, 100, -- Blue Racing Silks..............Enhances chocobo digging endurance
    11326, 100, -- Red Racing Silks...............Personal chocobo: Extends riding time
    11327, 100, -- White Racing Silks............Hot and Cold Game: Endurance +1
    11328, 100, -- Green Racing Silks............Enhances chocobo caring ability (reduces the amount of energy lost while caring for your chocobo. telling stories. taking walks, etc...)
    -- 500 Chocobucks
    6411, 500, -- Chocobo Chair (can also be purchased for 15,000 Mummers' Medals)  
    }
    xi.shop.general(player, stock)
end
 
entity.onEventUpdate = function(player, csid, option)
end
 
entity.onEventFinish = function(player, csid, option)
end
 
return entity

Comments