9
3

Grum.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/Grum.lua
  3. Script Purpose : Grum <Eater of Small Things>
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "grum/_exp03/exp03_rgn_greater_faydark/grum/grum_001.mp3", "", "", 2456014343, 373150177, Spawn)
  22. AddConversationOption(conversation, "Well what do you want?", "dlg_17_1")
  23. AddConversationOption(conversation, "No way. Stay away!")
  24. StartConversation(conversation, NPC, Spawn, "Oh I see you I am hungry bring me small things. My mouth not so big to eat big things.")
  25. end
  26. function dlg_17_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "grum/_exp03/exp03_rgn_greater_faydark/grum/grum_002.mp3", "", "", 2366675475, 910741448, Spawn)
  30. AddConversationOption(conversation, "Sure.", "dlg_17_2")
  31. AddConversationOption(conversation, "No way.")
  32. StartConversation(conversation, NPC, Spawn, "Spiders bring me spider legs I dip them in goop here make them taste smashing. Lots of legs if each spider has two, six legs you bring me many more right yes?")
  33. end
  34. function dlg_17_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "grum/_exp03/exp03_rgn_greater_faydark/grum/grum_003.mp3", "", "", 2187487488, 316668200, Spawn)
  38. AddConversationOption(conversation, "Yeah, I am going to get you some.", "dlg_17_3")
  39. StartConversation(conversation, NPC, Spawn, "Hungry! You bring snacks?")
  40. end