Advertisement
Rags_26

Quest6/7

Apr 20th, 2024
47
0
166 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | Gaming | 0 0
  1. quest attr6th7th_npc begin
  2. state start begin
  3. when 20095.chat.locale_quest(1526) begin --Wie l�se ich B�cher ein?
  4. say_title(locale_quest(11382)) --Fertigkeitsb�cher kombinieren
  5. say(locale_quest(11383)) --Sie k�nnen eine Fragmentkiste gegen [ENTER] 10 Fertigkeitsb�cher und 100.000 Yang erhalten.
  6. return
  7. end
  8.  
  9. when 20095.chat.locale_quest(10847) begin --Fertigkeitsb�cher kombinieren (Fragment)
  10. setskin(NOWINDOW)
  11. game.open_comb_skil_book()
  12. return
  13. end
  14.  
  15. when 20095.chat.locale_quest(10848) begin --Fertigkeitsb�cher kombinieren (Fertigkeitsb�cher)
  16. setskin(NOWINDOW)
  17. game.open_attr67add()
  18. return
  19.  
  20. end
  21. end
  22. end
  23.  
  24. -- game.open_comb_skil_book
  25. -- game.open_attr67add
  26. -- bonus67.get_bonus67
  27. -- bonus67.get_vnum_bonus67
  28. -- bonus67.get_time_bonus67
  29. -- bonus67.get_item_bonus67
  30. -- bonus67.get_pos_bonus67
  31. -- duration_bonus67
  32.  
  33.  
  34. -- quest attr6th7th_npc begin
  35. -- state start begin
  36. -- when 20095.chat.locale_say_title(1526) begin --Wie l�se ich B�cher ein?
  37. -- locale_say_title(11382) --Fertigkeitsb�cher kombinieren
  38. -- locale_say(11383) --Sie k�nnen eine Fragmentkiste gegen [ENTER] 10 Fertigkeitsb�cher und 100.000 Yang erhalten.
  39. -- return
  40. -- end
  41.  
  42. -- when 20095.chat.locale_say_title(10847) begin --Fertigkeitsb�cher kombinieren (Fragment)
  43. -- setskin(NOWINDOW)
  44. -- game.open_skillbook_comb()
  45. -- return
  46. -- end
  47.  
  48. -- when 20095.chat.locale_say_title(10847) begin --Fertigkeitsb�cher kombinieren (Fertigkeitsb�cher)
  49. -- setskin(NOWINDOW)
  50. -- game.open_skillbook_comb_books()
  51. -- return
  52. -- end
  53.  
  54. -- when 20095.chat.locale_say_title(10848) begin --F�ge den 6. und 7. Bonus hinzu
  55. -- if not attr6th7th.npcstorage_have_item() then
  56. -- setskin(NOWINDOW)
  57. -- game.open_attr67_add()
  58. -- return
  59. -- end
  60.  
  61. -- local vnum = attr6th7th.get_vnum()
  62. -- local iTime = attr6th7th.get_time()
  63. -- say_npc()
  64. -- if iTime > 0 then
  65. -- locale_say(10850) --Bis der Bonus hinzugef�gt wird, kann etwas Zeit[ENTER]vergehen. Bitte hab ein wenig Geduld.
  66. -- say_item_vnum_inline_showtooltip_by_cell(9, 0) -- 9 = window_type (NPC_STORAGE), 0 = slot
  67. -- locale_say(10851, LIB_duration(iTime)) --Verbleibende Zeit: %s
  68. -- locale_say_red(10852) --Der Akzelerator kann den Prozess beschleunigen.
  69. -- return
  70. -- else
  71. -- locale_say(10853)
  72. -- if not attr6th7th.enough_inventory() then
  73. -- locale_say(776) --Du hast nicht gen�gend Platz im Inventar.
  74. -- return
  75. -- end
  76.  
  77. -- local result, pos = attr6th7th.get_item_attr()
  78. -- if result <= 0 or result >= 3 then
  79. -- return
  80. -- end
  81.  
  82. -- if result == 1 then
  83. -- locale_say(10854) --Der Bonus wurde erfolgreich hinzugef�gt!
  84. -- say_item_vnum_inline_showtooltip_by_cell(1, pos) -- 1 = INVENTORY_WINDOW
  85. -- return
  86. -- end
  87. -- if result == 2 then
  88. -- locale_say(10855) --Der Bonus konnte nicht hinzugef�gt werden.
  89. -- say_item_vnum_inline_showtooltip_by_cell(1, pos) -- 1 = INVENTORY_WINDOW
  90. -- return
  91. -- end
  92. -- end
  93.  
  94. -- end
  95. -- end
  96. -- end
  97.  
Tags: Quest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement