DownBelow_Classic.lua 979 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : ZoneScripts/DownBelow_Classic.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.09 03:11:52
  5. Script Purpose :
  6. :
  7. --]]
  8. function init_zone_script(Zone)
  9. SetLocationProximityFunction(Zone,7.19, 0.30, -140.27, 17, "ShrineofEstle","LeaveLocation")
  10. end
  11. function ShrineofEstle(Zone,Player)
  12. SendPopUpMessage(Player, "The Shrine of Estle", 255, 255, 0)
  13. end
  14. function player_entry(Zone, Player)
  15. SendPopUpMessage(Player, "The Down Below", 230, 230, 230)
  16. SendMessage(Player, "You have entered The Down Below.")
  17. local choice = MakeRandomInt(1,3)
  18. if choice == 1 then
  19. SendMessage(Player, "A foul breeze brushes your cheek as the stench of death envelops you.")
  20. elseif choice == 2 then
  21. SendMessage(Player, "The scraping of bone can be heard in the distance.")
  22. elseif choice == 3 then
  23. SendMessage(Player, "Noises echo from creatures in distant chambers, natural and unnatural.")
  24. end
  25. end