SiricusCalventius.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/SiricusCalventius.lua
  3. Script Purpose : Siricus Calventius
  4. Script Author : torsten
  5. Script Date : 2022.07.17
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local SiricusandtheMilitia = 5663
  9. function spawn(NPC)
  10. ProvidesQuest(NPC, SiricusandtheMilitia)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. if not HasQuest(Spawn, SiricusandtheMilitia) and not HasCompletedQuest(Spawn, SiricusandtheMilitia) then
  17. OfferQuest(NPC, Spawn, SiricusandtheMilitia)
  18. end
  19. if GetQuestStep(Spawn, SiricusandtheMilitia) == 2 then
  20. SetStepComplete(Spawn, SiricusandtheMilitia, 2)
  21. end
  22. RandomGreeting(NPC, Spawn)
  23. end
  24. function RandomGreeting(NPC, Spawn)
  25. local choice = MakeRandomInt(1,1)
  26. if choice == 1 then
  27. PlayFlavor(NPC, "voiceover/english/siricus_calventius/fprt_hood04/100_std_siricus_calventius_hum_m_callout1_12a2e93c.mp3", "How dare you enter my house, scoundrel! This time you're not destroying my figurines!\r\n\r\n", "", 2618163617, 4254987101, Spawn, 0)
  28. end
  29. end