Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- _____ ____
- | ___| __ ___ _______ _ __ / ___|___ _ __ ___
- | |_ | '__/ _ \_ / _ \ '_ \| | / _ \| '__/ _ \
- | _|| | | (_) / / __/ | | | |__| (_) | | | __/
- |_| |_| \___/___\___|_| |_|\____\___/|_| \___|
- Lightning speed and strength
- conjured directly from the depths of logic!
- Prismatic-Network 2013 (C) by Psykko
- <--------------------------------------------------------------------------->
- - Entwickler: Psykko
- - Fortschritt: 100%
- - Titel: 'Playertreff Wache'
- - Kommentar: Basierend auf den Blizzard Hauptstädte Wachen. Zeigen dir auf der Karte die Punkte von
- <--------------------------------------------------------------------------->
- ]]
- local wachenpc = 6948 -- 999997
- function PTWacheOnTalk(pUnit, event, pPlayer)
- pUnit:GossipCreateMenu(987, pPlayer, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Holy_Flashheal:24|t|rIch suche einen Lehrer f\195\188r Zauber", 1, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Stone_Weightstone_01:24|t|rIch suche einen Lehrer f\195\188r Berufe", 2, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Pet_02:24|t|rIch suche einen Fris\195\182r", 3, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Sword_01:24|t|rIch suche einen Waffenmeister", 4, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Tournaments_Tabard_Scourge:24|t|rIch suche einen Gildenmeister", 5, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Key_06:24|t|rIch suche einen Gastwirt", 6, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Pet_02:24|t|rIch suche einen Reitlehrer", 7, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Bag_09:24|t|rIch suche die Bank", 8, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Achievement_Pvp_P_250k:24|t|rIch suche den Duellplatz", 9, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Coin_01:24|t|rIch suche das Auctionshaus", 10, 0)
- pUnit:GossipMenuAddItem(30, "Auf Wiedersehen", 11, 0)
- pUnit:GossipSendMenu(pPlayer)
- end
- function PTWacheOnSelect(pUnit, event, pPlayer, id, pIntid, code)
- if (pIntid == 500) then
- PTWacheOnTalk(pUnit, event, pPlayer)
- end
- if (pIntid == 11) then
- pPlayer:GossipComplete()
- end
- if (pIntid == 1) then -- Klassenlehrer
- pUnit:GossipCreateMenu(988, pPlayer, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Ability_Warrior_Battleshout:24|t|rKriegerlehrer", 20, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Holy_GreaterBlessingOfKings:24|t|rPaladinlehrer", 21, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Holy_Heal:24|t|rPristerlehrer", 22, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Fire_Fireball02:24|t|rMagierlehrer", 23, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Deathknight_Armyofthedead:24|t|rTodesritterlehrer", 24, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Shadow_Burningspirit:24|t|rHexenmeisterlehrer", 25, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Nature_Bloodlust:24|t|rSchamenenlehrer", 26, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Ability_Hunter_Aimedshot:24|t|rJ\195\164gerlehrer", 27, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Ability_Rogue_Kidneyshot:24|t|rSchurkenlehrer", 28, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Spell_Nature_Natureguardian:24|t|rDruidenlehrer", 29, 0)
- pUnit:GossipMenuAddItem(30, "[Zur\195\188ck]", 500, 0)
- pUnit:GossipSendMenu(pPlayer)
- end
- if (pIntid == 2) then -- Berufelehrer
- pUnit:GossipCreateMenu(988, pPlayer, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Trade_Blacksmithing:24|t|rSchmiedkunst", 30, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Potion_112:24|t|rAlchemie", 31, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Trade_Engraving:24|t|rVerzauberungskunst", 32, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Herb_04:24|t|rKr\195\164uterkunde", 33, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Ore_Copper_01:24|t|rBergbau", 34, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Trade_Engineering:24|t|rEngineerkunst", 35, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Scroll_04:24|t|rInschriftenkunde", 36, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Gem_Diamond_06:24|t|rJuwelenschleifen", 37, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Trade_Leatherworking:24|t|rLederverarbeitung", 38, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Pelt_Bear_02:24|t|rK\195\188rschner", 39, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Bandage_01:24|t|rErste Hilfe", 40, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Inv_Misc_Food_01:24|t|rKochkunst", 41, 0)
- pUnit:GossipMenuAddItem(30, "|cff00ff00|TInterface\\icons\\Trade_Tailoring:24|t|rSchneiderei", 42, 0)
- pUnit:GossipMenuAddItem(30, "[Zur\195\188ck]", 500, 0)
- pUnit:GossipSendMenu(pPlayer)
- end
- if (pIntid == 3) then -- Barber
- pPlayer:GossipSendPOI(pPlayer:GetX(), pPlayer:GetY(), 7, 6, 0, "Barber") -- works
- -- pPlayer:GossipSendPOI(-9610.226562, 1648.580444, 7, 6, 0, "Barber")
- pPlayer:GossipComplete()
- end
- if (pIntid == 4) then -- Waffenmeister
- pPlayer:GossipSendPOI(-9545.774414, 1605.978394, 7, 6, 0, "Waffenmeister")
- pPlayer:GossipComplete()
- end
- if (pIntid == 5) then -- Gildenmeister
- pPlayer:GossipSendPOI(-9410.320312, 1692.449951, 7, 6, 0, "Gildenmeister")
- pPlayer:GossipComplete()
- end
- if (pIntid == 6) then -- Gastwirt
- pPlayer:GossipSendPOI(-9626.150391, 1649.640015, 7, 6, 0, "Gastwirt")
- pPlayer:GossipComplete()
- end
- if (pIntid == 7) then -- Reitlehrer
- pPlayer:GossipSendPOI(-9657.700195, 1627.479980, 7, 6, 0, "Reitlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 8) then -- Bank
- pPlayer:GossipSendPOI(-9419.330078, 1701.260010, 7, 6, 0, "Bank")
- pPlayer:GossipComplete()
- end
- if (pIntid == 9) then -- PVP
- pPlayer:GossipSendPOI(-9746.795898, 1637.063599, 7, 6, 0, "PVP")
- pPlayer:GossipComplete()
- end
- if (pIntid == 10) then -- Auctionshaus
- pPlayer:GossipSendPOI(-9412.459961, 1673.229980, 7, 6, 0, "Auctionshaus")
- pPlayer:GossipComplete()
- end
- if (pIntid == 20) then -- Krieger
- pPlayer:GossipSendPOI(-9534.450195, 1545.400024, 7, 6, 0, "Kriegerlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 21) then -- Paladin
- pPlayer:GossipSendPOI(-9541.019531, 1540.069946, 7, 6, 0, "Paladinlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 22) then -- Prister
- pPlayer:GossipSendPOI(-9555.059570, 1582.180054, 7, 6, 0, "Pristerlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 23) then -- Magier
- pPlayer:GossipSendPOI(-9545.160156, 1573.689941, 7, 6, 0, "Magierlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 24) then -- Todesritter
- pPlayer:GossipSendPOI(-9543.799805, 1548.839966, 7, 6, 0, "Todesritterlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 25) then -- Hexenmeister
- pPlayer:GossipSendPOI(-9545.150391, 1582.709961, 7, 6, 0, "Hexenmeisterlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 26) then -- Schamane
- pPlayer:GossipSendPOI(-9549.410156, 1586.719971, 7, 6, 0, "Schamanenlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 27) then -- Jäger
- pPlayer:GossipSendPOI(-9542.530273, 1582.150024, 7, 6, 0, "J\195\164gerlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 28) then -- Schurke
- pPlayer:GossipSendPOI(-9497.269531, 1586.430054, 7, 6, 0, "Schurkenlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 29) then -- Druide
- pPlayer:GossipSendPOI(-9505.019531, 1596.099976, 7, 6, 0, "Druidenlehrer")
- pPlayer:GossipComplete()
- end
- if (pIntid == 30) then -- Schmied
- pPlayer:GossipSendPOI(-9709.269531, 1690.020020, 7, 6, 0, "Schmiedkunst")
- pPlayer:GossipComplete()
- end
- if (pIntid == 31) then -- Alch
- pPlayer:GossipSendPOI(-9560.339844, 1699.469971, 7, 6, 0, "Alchemie")
- pPlayer:GossipComplete()
- end
- if (pIntid == 32) then -- VZ
- pPlayer:GossipSendPOI(-9725.990234, 1755.810059, 7, 6, 0, "Verzauberungskunst")
- pPlayer:GossipComplete()
- end
- if (pIntid == 33) then -- Kräuter
- pPlayer:GossipSendPOI(-9566.589844, 1681.569946, 7, 6, 0, "Kr\195\164terkunde")
- pPlayer:GossipComplete()
- end
- if (pIntid == 34) then -- Bergbau
- pPlayer:GossipSendPOI(-9712.450195, 1682.530029, 7, 6, 0, "Bergbau")
- pPlayer:GossipComplete()
- end
- if (pIntid == 35) then -- Engi
- pPlayer:GossipSendPOI(-9707.870117, 1682.250000, 7, 6, 0, "Engineerkunst")
- pPlayer:GossipComplete()
- end
- if (pIntid == 36) then -- Inschriften
- pPlayer:GossipSendPOI(-9644.290039, 1650.630005, 7, 6, 0, "Inschriftenkunde")
- pPlayer:GossipComplete()
- end
- if (pIntid == 37) then -- Juwe
- pPlayer:GossipSendPOI(-9746.690430, 1727.579956, 7, 6, 0, "Juwelenschleifen")
- pPlayer:GossipComplete()
- end
- if (pIntid == 38) then -- Leder
- pPlayer:GossipSendPOI(-9583.120117, 1747.979980, 7, 6, 0, "Lederverarbeitung")
- pPlayer:GossipComplete()
- end
- if (pIntid == 39) then -- Kürschner
- pPlayer:GossipSendPOI(-9586.780273, 1755.540039, 7, 6, 0, "K195\188rschner")
- pPlayer:GossipComplete()
- end
- if (pIntid == 40) then -- Erste Hilfe
- pPlayer:GossipSendPOI(-9632.030273, 1653.439941, 7, 6, 0, "Erste Hilfe")
- pPlayer:GossipComplete()
- end
- if (pIntid == 41) then -- Kochen
- pPlayer:GossipSendPOI(-9614.500000, 1635.500000, 7, 6, 0, "Kochkunst")
- pPlayer:GossipComplete()
- end
- if (pIntid == 42) then -- Schneider
- pPlayer:GossipSendPOI(-9723.839844, 1758.579956, 7, 6, 0, "Schneiderei")
- pPlayer:GossipComplete()
- end
- end
- RegisterItemGossipEvent(wachenpc, 1, "PTWacheOnTalk")
- RegisterItemGossipEvent(wachenpc, 2, "PTWacheOnSelect")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement