mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Fixed issue where spawn packets were sent on zone out. Added all npcs to Camp Bearded Rock. Rewrote how mapobjs get loaded in, no more hardcodes. Added tons mapobjs to the DB. Added ferry npcs.
This commit is contained in:
26
data/scripts/base/chara/npc/populace/PopulaceCampMaster.lua
Normal file
26
data/scripts/base/chara/npc/populace/PopulaceCampMaster.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
--[[
|
||||
|
||||
PopulaceCampMaster Script
|
||||
|
||||
Functions:
|
||||
|
||||
defTalk(player, favAetheryte1, favAetheryte2, favAetheryte3, playerLevel, ?) - The main and only function for this npc. If favAetheryte1 == 0, will not ask to remove others.
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
||||
favLocation = callClientFunction(player, "defTalk", player, 0, 1280004, 1280005);
|
||||
|
||||
--if (hasThree) then
|
||||
--Remove chosen
|
||||
--end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
Reference in New Issue
Block a user