mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Actor script fixes, documented populace classes and misc things
Base
- gcseals.lua
Helper functions for GC seals. Tables the seal caps per rank and checks against it when adding seals.
Commands
- PartyTargetCommand.lua :
Handles markers above head. Basic documentation, only works on self. "Heart" doesn't work, client bug?
Eventually will need an object in the party class to handle tracking marked players/targets for the group.
Class Scripts
- PopulaceCaravanAdviser.lua
Documented. Can purchase gysahl greens from them, unsure what else their use is.
- PopulaceCaravanGuide.lua
Documented the Caravan Guide NPC, who escorts the chocobos with you.
- PopulaceCaravanManager.lua
NPC who handles signing up for Caravan escort, among other functions.
- PopulaceSpecialEventCryer.lua
Covers three NPCs for the Foundation Event. They handle trading specific items in exchange for GC seals.
Unique ID Script fixes
- flame_private_sisimuza_tetemuza.lua
Foundation Event NPC functions laid out.
- flame_sergeant_mimio_mio.lua
Foundation Event NPC functions laid out.
- serpent_lieutenant_marette.lua
Foundation Event NPC functions laid out.
- serpent_private_tristelle.lua
Foundation Event NPC functions laid out.
- serpent_sergeant_frilaix.lua
Foundation Event NPC functions laid out.
- serpent_sergeant_nelhah.lua
Removed unique script. PopulaceSpecialEventCryer handles it.
- ansgor.lua
Had incorrect defaultTalk value
- ne_of_eshtaimes.lua
Door @ !warp 209 -139 206.113 195 Had incorrect mapObj value.
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("Spl000");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "processEventELNAURE", 1,1,1);
|
||||
player:endEvent();
|
||||
Spl = GetStaticActor("Spl000");
|
||||
magickedPrism = 3020615;
|
||||
|
||||
if not player:GetInventory(INVENTORY_NORMAL):HasItem(magickedPrism) then
|
||||
callClientFunction(player, "delegateEvent", player, Spl, "processEventELNAURE", 2);
|
||||
local invCheck = player:GetInventory(INVENTORY_NORMAL):AddItem(magickedPrism, 10, 1);
|
||||
if invCheck == INV_ERROR_SUCCESS then
|
||||
player:SendGameMessage(player, GetWorldMaster(), 25246, MESSAGE_TYPE_SYSTEM, magickedPrism, 10);
|
||||
end
|
||||
else
|
||||
callClientFunction(player, "delegateEvent", player, Spl, "processEventELNAURE", 1);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
end
|
||||
@@ -1,7 +1,7 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("Spl000");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "processEventMERLIE", 1,1,1);
|
||||
Spl = GetStaticActor("Spl000");
|
||||
callClientFunction(player, "delegateEvent", player, Spl, "processEventMERLIE");
|
||||
player:endEvent();
|
||||
end
|
||||
@@ -1,7 +1,7 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("Spl000");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "processEventARISMONT", 1, 1, 1);
|
||||
Spl = GetStaticActor("Spl000");
|
||||
callClientFunction(player, "delegateEvent", player, Spl, "processEventARISMONT");
|
||||
player:endEvent();
|
||||
end
|
||||
@@ -1,7 +0,0 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithSerpent_sergeant_nelhah_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
||||
Reference in New Issue
Block a user