Add files via upload

This commit is contained in:
Dinkledork
2023-03-05 05:05:45 -07:00
committed by GitHub
parent e0323b4ed6
commit 6725c3bbdf
9 changed files with 2117 additions and 23 deletions

16
Auctioneer.lua Normal file
View File

@@ -0,0 +1,16 @@
local Auctioneer = {};
function Auctioneer.OnGossipHello(event, player, object)
player:GossipClearMenu()
player:GossipMenuAddItem(0, "What happened here?", 0, 0)
player:GossipSendMenu(1, object)
end
function Auctioneer.OnGossipSelect(event, player, object, sender, intid, code, menuid)
if (intid == 0) then
object:SendUnitSay("Big block of ice came tumbling out of the sky and smacked right into the Auctionhouse. We're lucky we even made it out alive...", 0)
end
end
RegisterCreatureGossipEvent(400063, 1, Auctioneer.OnGossipHello)
RegisterCreatureGossipEvent(400063, 2, Auctioneer.OnGossipSelect)