Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. ;===================
  2. ;====---KONFIG---===
  3. set %sd 4 ;small_delaytime
  4. set %bd 80 ;big_delaytime
  5. set %t_pool ;tooltype_fishingpool
  6. set %t_net ;tooltype_fishingnet
  7. set %t_f4cut ;ittype_fish4cut
  8. set %t_junk ;ittype_shells(unused)bones_
  9. set %t_food ;ittype_food
  10.  
  11. ;===================
  12. ;=-MAIN LOOP CODE-==
  13. mainloop:
  14.  
  15.  
  16. gotomainloop
  17.  
  18.  
  19. ;===================
  20. ;=====----SUBS----==
  21. sub fish_pool
  22. {
  23. finditem %t_pool C_ , #BACKPACKID
  24. if #findkind = 0
  25. {
  26. set #Lobjectid #findid
  27. event macro 17 0 ;l_object
  28. wait %sd
  29. set #LTARGETKIND 2
  30. set #LTARGETY #CHARPOSY - 3
  31. set #LTARGETX #CHARPOSX + 3
  32. wait %sd
  33. event macro 22 0 ;l_target
  34. wait %bd
  35. }
  36. ;scan
  37. deletejournal
  38. wait %sd
  39. scanjournal 1
  40. if #JOURNAL = Wyglada_jakby_juz_tu_nie_bylo_ryb.
  41. gosub shipmove
  42. else
  43. goto mainloop
  44. }
  45. return
  46. ;--==--;
  47. sub shipmove
  48. {
  49. deletejournal
  50. wait %sd
  51. scanjournal 1
  52. if #JOURNAL = Zapisywanie_Stanu_Swiata. 2
  53. wait 800
  54. gosub shipmove
  55. event macro 1 0 Wynurz kotwice
  56. wait %sd
  57. event macro 1 0 Skrec w prawo
  58. wait %sd
  59. event macro 1 0 Naprzod
  60. set %random00001 #random % 4 + 3
  61. set %random00002 %random00001 * 20
  62. wait %random00002
  63. event macro 1 0 Zatrzymaj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement