mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
More script work.
This commit is contained in:
parent
8743042950
commit
97c1fb06cf
36 changed files with 298 additions and 67 deletions
25
data/scripts/base/chara/npc/populace/PopulaceAchievement.lua
Normal file
25
data/scripts/base/chara/npc/populace/PopulaceAchievement.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
--[[
|
||||
|
||||
PopulaceAchievement Script
|
||||
|
||||
Functions:
|
||||
|
||||
eventNoGC() -
|
||||
eventUnlock(sheetId) -
|
||||
eventReward(?, bool, ?, bool) -
|
||||
defTalk() - Blurb
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
||||
callClientFunction(player, "defTalk");
|
||||
|
||||
player:EndEvent();
|
||||
end
|
24
data/scripts/base/chara/npc/populace/PopulaceNMReward.lua
Normal file
24
data/scripts/base/chara/npc/populace/PopulaceNMReward.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
--[[
|
||||
|
||||
PopulaceNMReward Script
|
||||
|
||||
Functions:
|
||||
|
||||
eventTalkStep0(player, ?, ?) - Opens the main menu
|
||||
eventTalkStep0_1(player) - "Ain't running a charity here", message said when you have insufficent funds
|
||||
eventTalkStep0_2(player, hasItems) - Relic Quest dialog.
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
||||
callClientFunction(player, "eventTalkStep0", player, 0);
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -19,19 +19,20 @@ confirmDiscardGuildleve(nil, questId)
|
|||
askRetryRegionalleve(questId, leveAllowances)
|
||||
finishTalkTurn()
|
||||
|
||||
Menu Ids:
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:RunEventFunction("talkOfferWelcome", player, 1);
|
||||
callClientFunction(player, "talkOfferWelcome", player, 1);
|
||||
player:EndEvent();
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
|
||||
--player:RunEventFunction("askOfferQuest", player, 1000);
|
||||
player:EndEvent();
|
||||
--callClientFunction(player, "askOfferQuest", player, 1000);
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue