ChefGorga.lua 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/ChefGorga.lua
  3. Script Purpose : Chef Gorga
  4. Script Author : Scatman (Updated by Cynnar)
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local seaside_stew = 364
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, 492) and GetQuestStep(Spawn, 492) == 5 then
  18. AddConversationOption(conversation, "What do you know about Charles Arker?", "CharlesArker")
  19. end
  20. if HasCompletedQuest(Spawn, seaside_stew) then
  21. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga008.mp3", "", "", 1246021503, 146092815, Spawn)
  22. AddConversationOption(conversation, "Uh yeah, livers!")
  23. StartConversation(conversation, NPC, Spawn, "Mmm, this stew is yums. Livers!")
  24. elseif HasQuest(Spawn, seaside_stew) then
  25. if GetQuestStep(Spawn, seaside_stew) == 1 then
  26. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga001.mp3", "", "", 1172658624, 839529863, Spawn)
  27. AddConversationOption(conversation, "I was actually sent here to see if you needed any help.", "NeededHelp")
  28. AddConversationOption(conversation, "I'll come back.")
  29. StartConversation(conversation, NPC, Spawn, "Need to wait for stew to be done, no firsties! Many Militia to feed, your mouth no bigger than the rest.")
  30. elseif GetQuestStep(Spawn, seaside_stew) == 2 then
  31. AddConversationOption(conversation, "Very well, I'll be back.")
  32. StartConversation(conversation, NPC, Spawn, "Slice 'em, bash 'em, poke 'em! Gorga doesn't care how, just get me those bees for the stew! They're right over there, just past the barricades!")
  33. elseif GetQuestStep(Spawn, seaside_stew) == 3 then
  34. SetStepComplete(Spawn, seaside_stew, 3)
  35. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga005.mp3", "", "", 2763280533, 3085926405, Spawn) AddConversationOption(conversation, "Mmm, livers!")
  36. StartConversation(conversation, NPC, Spawn, "Heeheehee! Toss 'em in the pot. The next yummies are the main pot filler, livers! Those elks are eatin' up all the eatin' plants anyways, so we kill two halflings with one stone. Bring back the elk livers when you're done.")
  37. elseif GetQuestStep(Spawn, seaside_stew) == 4 then
  38. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga006.mp3", "", "", 915023636, 1332699148, Spawn)
  39. AddConversationOption(conversation, "Okay, livers!")
  40. StartConversation(conversation, NPC, Spawn, "Livers! Kill the elk and take 'em for the pot. They eatin' up all the plants here in Seaside Glade, out past the barricades. Return when you get 'em.")
  41. elseif GetQuestStep(Spawn, seaside_stew) == 5 then
  42. SetStepComplete(Spawn, seaside_stew, 5)
  43. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga007.mp3", "", "", 96491852, 3557455520, Spawn)
  44. AddConversationOption(conversation, "Back to Tayil!")
  45. StartConversation(conversation, NPC, Spawn, "Heeheehee! Toss 'em in and smell the Gorga magic. The stew is done now! Head back to Tayil, she's waitin for ya.")
  46. else
  47. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga008.mp3", "", "", 1246021503, 146092815, Spawn)
  48. AddConversationOption(conversation, "Uh yeah, livers!")
  49. StartConversation(conversation, NPC, Spawn, "Mmm, this stew is yums. Livers!")
  50. end
  51. else
  52. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga001.mp3", "", "", 1172658624, 839529863, Spawn)
  53. AddConversationOption(conversation, "I'll come back.")
  54. StartConversation(conversation, NPC, Spawn, "Need to wait for stew to be done, no firsties! Many Militia to feed, your mouth no bigger than the rest.")
  55. end
  56. end
  57. function NeededHelp(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga002.mp3", "", "", 3263091723, 2988730562, Spawn)
  60. AddConversationOption(conversation, "So what are we making here?", "WhatAreWeMaking")
  61. StartConversation(conversation, NPC, Spawn, "Ahh yes, " .. GetName(Spawn) .. ", Tayil said you were comin'. Good then, Gorga can stir the pot while you goes to collect more ingredients! Heeheehee!")
  62. end
  63. function WhatAreWeMaking(NPC, Spawn)
  64. SetStepComplete(Spawn, seaside_stew, 1)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/chef_gorga/tutorial_island02_evil_revamp/quests/citizenship/chefgorga/chefgorga003.mp3", "", "", 3487347185, 3172564119, Spawn)
  67. AddConversationOption(conversation, "I'll get some bees.")
  68. StartConversation(conversation, NPC, Spawn, "Seaside stew! Only a couple things we still needs to get. First is the buzzers, buggin' Gorga they are. Not sure how they taste, but less of 'em is better. Be sure to pluck out the wings slowly, the last buzz is the best buzz.")
  69. end
  70. function CharlesArker(NPC, Spawn)
  71. SetStepComplete(Spawn, 492, 5)
  72. FaceTarget(NPC, Spawn)
  73. conversation = CreateConversation()
  74. AddConversationOption(conversation, "Thank you. Good luck with your meal.")
  75. StartConversation(conversation, NPC, Spawn, "Gorga not cook someone by that name. Not yet.")
  76. end