Drizzledrop.lua 1.6 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/Drizzledrop.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.08.23 03:08:34
  5. Script Purpose : Drizzledrop
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetInfoStructString(NPC, "action_state", "alchemy_idle")
  10. end
  11. function hailed(NPC, Spawn)
  12. -- local choice = MakeRandomInt(1,4)
  13. FaceTarget(NPC, Spawn)
  14. -- if choice == 1 then
  15. -- PlayFlavor(NPC, "voiceover/english/optional2/halfling_eco_good_1/ft/service/alchemist/halfling_alchemist_service_good_1_hail_gm_a8ed74c7.mp3", "There are no refunds for caster error at this shop! Oh ... hello you're not here about a refund.", "no", 2075394375, 630243730, Spawn, 0)
  16. -- elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/gnome_eco_good_1/ft/service/alchemist/gnome_alchemist_service_good_1_hail_gf_ec533e4c.mp3", "Are you wounded? I just made up a fresh batch of healing potions an hour ago.", "hello", 2854931468, 585407108, Spawn, 0)
  18. -- elseif choice == 3 then
  19. -- PlayFlavor(NPC, "voiceover/english/optional2/halfling_eco_good_1/ft/service/alchemist/halfling_alchemist_service_good_1_hail_gm_59de96bd.mp3", "What happened to the highly explosive bottle that was on my desk? Have you seen it?", "peer", 1039692997, 675274206, Spawn, 0)
  20. -- elseif choice == 4 then
  21. -- PlayFlavor(NPC, "voiceover/english/optional2/halfling_eco_good_1/ft/service/alchemist/halfling_alchemist_service_good_1_hail_gm_efd903ba.mp3", "Hello, adventurer! Are you looking for a specific potion or ingredient?", "agree", 1413906559, 1372883990, Spawn, 0)
  22. -- end
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end