Guest User

Untitled

a guest
Aug 10th, 2013
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.38 KB | None | 0 0
  1. quest tsesfs begin
  2.     state start begin
  3.         function zmianab()
  4.             local bonus1, point1 = lf_item.get_attribute(0)
  5.             local bonus2, point2 = lf_item.get_attribute(1)
  6.             local bonus3, point3 = lf_item.get_attribute(2)
  7.             local bonus4, point4 = lf_item.get_attribute(3)
  8.             local bonus5, point5 = lf_item.get_attribute(4)
  9.             if point1 > 0 then
  10.                 say_trawa("1: "..special.BonusList[bonus1][1].." : "..point1)
  11.             else
  12.                 say_krew("1: "..special.BonusList[bonus1][1].." : "..point1)
  13.             end
  14.             if point2 > 0 then
  15.                 say_trawa("2: "..special.BonusList[bonus2][1].." : "..point2)
  16.             else
  17.                 say_krew("2: "..special.BonusList[bonus2][1].." : "..point2)
  18.             end
  19.             if point3 > 0 then
  20.                 say_trawa("3: "..special.BonusList[bonus3][1].." : "..point3)
  21.             else
  22.                 say_krew("3: "..special.BonusList[bonus3][1].." : "..point3)
  23.             end
  24.             if point4 > 0 then
  25.                 say_trawa("4: "..special.BonusList[bonus4][1].." : "..point4)
  26.             else
  27.                 say_krew("4: "..special.BonusList[bonus4][1].." : "..point4)
  28.             end
  29.             if point5 > 0 then
  30.                 say_trawa("5: "..special.BonusList[bonus5][1].." : "..point5)
  31.             else
  32.                 say_krew("5: "..special.BonusList[bonus5][1].." : "..point5)
  33.             end
  34.             say()
  35.             local s = select(number(3453214,4531743),number(3453214,4531743))
  36.             if s == 1 then
  37.                 lf_item.change_attribute()
  38.                 tsesfs.zmianab()
  39.             end
  40.         end
  41.         when 9001.take begin
  42.             tsesfs.zmianab()
  43.         end
  44.     end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment