mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-11 23:14:39 +02:00
Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
parent
e501d5b796
commit
ddf4d0d202
92 changed files with 272 additions and 270 deletions
24
data/scripts/zones/244/npcs/objBed_01@0F400.lua
Normal file
24
data/scripts/zones/244/npcs/objBed_01@0F400.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Object/ObjectBed", false, false, false, false, false, 0x1250FB, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
player:runEventFunction("askLogout", player);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, eventStep, menuOptionSelected)
|
||||
|
||||
if (menuOptionSelected == 1) then
|
||||
player:endEvent();
|
||||
return;
|
||||
elseif (menuOptionSelected == 2) then
|
||||
player:quitGame();
|
||||
elseif (menuOptionSelected == 3) then
|
||||
player:logout();
|
||||
elseif (menuOptionSelected == 4) then
|
||||
player:sendMessage(33, "", "Heck the bed");
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
|
||||
end
|
9
data/scripts/zones/244/npcs/objInnDoor_01@0F400.lua
Normal file
9
data/scripts/zones/244/npcs/objInnDoor_01@0F400.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Object/ObjectInnDoor", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
9
data/scripts/zones/244/npcs/objItemStore_01@0F400.lua
Normal file
9
data/scripts/zones/244/npcs/objItemStore_01@0F400.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Object/ObjectItemStorage", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
9
data/scripts/zones/244/npcs/pplCutscene_01@0F400.lua
Normal file
9
data/scripts/zones/244/npcs/pplCutscene_01@0F400.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceCutScenePlayer", false, false, false, false, false, 0x107B38, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
9
data/scripts/zones/244/npcs/test1.lua
Normal file
9
data/scripts/zones/244/npcs/test1.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue