DockworkerKelson.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/Butcherblock/DockworkerKelson.lua
  3. Script Purpose : Dockworker Kelson
  4. Script Author : jakejp
  5. Script Date : 2018.05.30
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 654.00, 24.01, 549.97, 2)
  10. MovementLoopAddLocation(NPC, 649.91, 25.91, 566.57, 2)
  11. MovementLoopAddLocation(NPC, 641.86, 25.92, 565.96, 2)
  12. MovementLoopAddLocation(NPC, 624.84, 25.91, 564.94, 2)
  13. MovementLoopAddLocation(NPC, 624.93, 25.91, 589.13, 2)
  14. MovementLoopAddLocation(NPC, 632.71, 26.00, 596.75, 2)
  15. MovementLoopAddLocation(NPC, 624.93, 25.91, 589.13, 2)
  16. MovementLoopAddLocation(NPC, 624.84, 25.91, 564.94, 2)
  17. MovementLoopAddLocation(NPC, 641.86, 25.92, 565.96, 2)
  18. MovementLoopAddLocation(NPC, 649.91, 25.91, 566.57, 2)
  19. MovementLoopAddLocation(NPC, 654.00, 24.01, 549.97, 2)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function hailed(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. local choice = math.random(1,2)
  27. if choice == 1 then
  28. PlayFlavor(NPC, "", "Welcome to the Butcherblock Docks. Now, grab a hammer and make yourself useful.", "", 1689589577, 4560189, Spawn)
  29. elseif choice == 2 then
  30. PlayFlavor(NPC, "", "If those rustfiends eat another one of my tools, I'll have to hammer those nails in with my fist!", "", 1689589577, 4560189, Spawn)
  31. else
  32. end
  33. end