Advertisement
Guest User

Untitled

a guest
Dec 14th, 2020
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. define NPC_VNUM 60003
  2. quest sash begin
  3. state start begin
  4. when login begin
  5. local v = find_npc_by_vnum(NPC_VNUM)
  6. if v != 0 then
  7. target.vid("theowahdan", v, "Theowahdan")
  8. end
  9. end
  10.  
  11. when NPC_VNUM.chat."What is a Sash?" begin
  12. say_title(mob_name(NPC_VNUM))
  13. say("")
  14. say("The sash offers you two options:")
  15. say("Combination & Absorption.")
  16. say("")
  17. say("You can try combination with sash of same")
  18. say("grade. Two sash combined can generate a")
  19. say("sash of a biggest grade.")
  20. say("")
  21. say("In a absorption the sash take the bonus")
  22. say("of a weapon or amour at a rate of your")
  23. say("sash. The absorption rate varies between")
  24. say("the sash grade, the weapon or amour")
  25. say("absorbed will be destroyed.")
  26. say("")
  27. end
  28.  
  29. when NPC_VNUM.chat."Combination" begin
  30. say_title(mob_name(NPC_VNUM))
  31. say("")
  32. say("Would you like to combine two sashes?")
  33. say("")
  34. local confirm = select("Yes", "No")
  35. if confirm == 2 then
  36. return
  37. end
  38.  
  39. setskin(NOWINDOW)
  40. pc.open_sash(true)
  41. end
  42.  
  43. when NPC_VNUM.chat."Absorption of bonuses" begin
  44. say_title(mob_name(NPC_VNUM))
  45. say("")
  46. say("Do you want to absorb bonuses from your weapon")
  47. say("or amour?")
  48. say("")
  49. local confirm = select("Yes", "No")
  50. if confirm == 2 then
  51. return
  52. end
  53.  
  54. setskin(NOWINDOW)
  55. pc.open_sash(false)
  56. end
  57. end
  58. end
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement