Scripts for retainers. Adds item storage functionality.

This commit is contained in:
Filip Maj 2017-09-09 14:12:38 -04:00
parent 64006d2351
commit 4160622556
3 changed files with 15 additions and 9 deletions

View file

@ -39,9 +39,9 @@ function onEventStarted(player, npc, triggerName)
while (true) do
choice = callClientFunction(player, "eventTalkRetainerMenu", false, true);
if (choice == 1) then
doItemTrade(player, npc);
doItemTrade(player, retainer);
elseif (choice == 2) then
doBazaar(player, npc);
doBazaar(player, retainer);
elseif (choice == 7) then
callClientFunction(player, "eventTalkRetainerMannequin", 0);
elseif (choice == 8) then