-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
165 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
----------------------------------- | ||
-- Zone: Ceizak Battlegrounds | ||
-- NPC: qm_mastop (???) | ||
-- Spawns Mastop | ||
-- !pos -230 0 36 261 | ||
----------------------------------- | ||
local ID = zones[xi.zone.CEIZAK_BATTLEGROUNDS] | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onTrade = function(player, npc, trade) | ||
if | ||
npcUtil.tradeHasExactly(trade, xi.item.CELADON_YGGRETE_SHARD_IV) and | ||
npcUtil.popFromQM(player, npc, ID.mob.MASTOP, { radius = 1 }) | ||
then | ||
player:confirmTrade() | ||
end | ||
end | ||
|
||
entity.onTrigger = function(player, npc) | ||
end | ||
|
||
entity.onEventUpdate = function(player, csid, option, npc) | ||
end | ||
|
||
entity.onEventFinish = function(player, csid, option, npc) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
----------------------------------- | ||
-- Zone: Ceizak Battlegrounds | ||
-- NPC: qm_supernal (???) | ||
-- Spawns Supernal Chapuli | ||
-- !pos 278 0 -129 261 | ||
----------------------------------- | ||
local ID = zones[xi.zone.CEIZAK_BATTLEGROUNDS] | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onTrade = function(player, npc, trade) | ||
if | ||
npcUtil.tradeHasExactly(trade, xi.item.CELADON_YGGRETE_SHARD_II) and | ||
npcUtil.popFromQM(player, npc, ID.mob.SUPERNAL_CHAPULI, { radius = 1 }) | ||
then | ||
player:confirmTrade() | ||
end | ||
end | ||
|
||
entity.onTrigger = function(player, npc) | ||
end | ||
|
||
entity.onEventUpdate = function(player, csid, option, npc) | ||
end | ||
|
||
entity.onEventFinish = function(player, csid, option, npc) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
----------------------------------- | ||
-- Zone: Ceizak Battlegrounds | ||
-- NPC: qm_taxet (???) | ||
-- Spawns Tax'et | ||
-- !pos -280 0 -290 261 | ||
----------------------------------- | ||
local ID = zones[xi.zone.CEIZAK_BATTLEGROUNDS] | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onTrade = function(player, npc, trade) | ||
if | ||
npcUtil.tradeHasExactly(trade, xi.item.CELADON_YGGRETE_SHARD_V) and | ||
npcUtil.popFromQM(player, npc, ID.mob.TAXET, { radius = 1 }) | ||
then | ||
player:confirmTrade() | ||
end | ||
end | ||
|
||
entity.onTrigger = function(player, npc) | ||
end | ||
|
||
entity.onEventUpdate = function(player, csid, option, npc) | ||
end | ||
|
||
entity.onEventFinish = function(player, csid, option, npc) | ||
end | ||
|
||
return entity |
29 changes: 29 additions & 0 deletions
29
scripts/zones/Ceizak_Battlegrounds/npcs/qm_transcendent_s.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
----------------------------------- | ||
-- Zone: Ceizak Battlegrounds | ||
-- NPC: qm_transcendent_s (???) | ||
-- Spawns Transcendent Scorpion | ||
-- !pos 160 0 -400 261 | ||
----------------------------------- | ||
local ID = zones[xi.zone.CEIZAK_BATTLEGROUNDS] | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onTrade = function(player, npc, trade) | ||
if | ||
npcUtil.tradeHasExactly(trade, xi.item.CELADON_YGGRETE_SHARD_III) and | ||
npcUtil.popFromQM(player, npc, ID.mob.TRANSCENDENT_SCORPION, { radius = 1 }) | ||
then | ||
player:confirmTrade() | ||
end | ||
end | ||
|
||
entity.onTrigger = function(player, npc) | ||
end | ||
|
||
entity.onEventUpdate = function(player, csid, option, npc) | ||
end | ||
|
||
entity.onEventFinish = function(player, csid, option, npc) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
----------------------------------- | ||
-- Zone: Ceizak Battlegrounds | ||
-- NPC: qm_unfettered (???) | ||
-- Spawns Unfettered Twitherym | ||
-- !pos 210 0 115 261 | ||
----------------------------------- | ||
local ID = zones[xi.zone.CEIZAK_BATTLEGROUNDS] | ||
----------------------------------- | ||
local entity = {} | ||
|
||
entity.onTrade = function(player, npc, trade) | ||
if | ||
npcUtil.tradeHasExactly(trade, xi.item.CELADON_YGGRETE_SHARD_I) and | ||
npcUtil.popFromQM(player, npc, ID.mob.UNFETTERED_TWITHERYM, { radius = 1 }) | ||
then | ||
player:confirmTrade() | ||
end | ||
end | ||
|
||
entity.onTrigger = function(player, npc) | ||
end | ||
|
||
entity.onEventUpdate = function(player, csid, option, npc) | ||
end | ||
|
||
entity.onEventFinish = function(player, csid, option, npc) | ||
end | ||
|
||
return entity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters