Added Gridania scripts and various others. Fixed error messages popping for scripts that may not use certain functions.

This commit is contained in:
Filip Maj 2016-08-05 18:23:59 -04:00
parent 67928ee875
commit 5e926bf668
169 changed files with 1310 additions and 37 deletions

View file

@ -0,0 +1,5 @@
require ("global")
function init(npc)
return false, false, 0, 0;
end

View file

@ -0,0 +1,22 @@
--[[
MarketEntrance Script
Functions:
eventPushChoiceAreaOrQuest(0xc13, 0xc1a, 0xdba,0, false, 0) -
eventPushStepPrvMarket(?, ?, ?) -
--]]
require ("global")
function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc, triggerName)
callClientFunction(player, "eventPushChoiceAreaOrQuest", 0xc13, 0xc1a, 0xdba,0, false, 0));
player:EndEvent();
end

View file

@ -0,0 +1,19 @@
require ("global")
function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc, triggerName)
harvestJudge = GetStaticActor("HarvestJudge");
--callClientFunction(player, "delegateEvent", player, harvestJudge, "loadTextData", dummy);
--callClientFunction(player, "delegateEvent", player, harvestJudge, "targetCancel", dummy);
--callClientFunction(player, "delegateEvent", player, harvestJudge, "turnToTarget", dummy, 0);
--callClientFunction(player, "delegateEvent", player, harvestJudge, "openInputWidget", 22002, 1);
--callClientFunction(player, "delegateEvent", player, harvestJudge, "textInputWidget", harvestJudge, 22002, npc, false);
--callClientFunction(player, "delegateEvent", player, harvestJudge, "askInputWidget", harvestJudge, 22002, 1);
player:EndEvent();
end

View file

@ -0,0 +1,25 @@
--[[
ObjectEventDoor Script
Functions:
eventDoorMoveAsk() - Shows confirm to move into event
--]]
require ("global")
function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc, triggerName)
choice = callClientFunction(player, "eventDoorMoveAsk");
if (choice == 1) then
end
player:EndEvent();
end

View file

@ -0,0 +1,6 @@
require ("global")
function init(npc)
return false, false, 0, 0;
end