Advertisement
Shadow_Lurker

Untitled

Jul 17th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. if not listexists 'NameTheTamed'
  2. //Set this name to whatever you want.
  3. createlist 'NameTheTamed'
  4. pushlist 'NameTheTamed' 'earth'
  5. endif
  6. if not listexists 'tameables'
  7. createlist 'tameables'
  8. pushlist 'tameables' 0x7t //Hellcat (Large)
  9. pushlist 'tameables' 0x62 //Hellhound
  10. pushlist 'tameables' 0x17 //Dire Wolf
  11. pushlist 'tameables' 0xce //Lava Lizard
  12. pushlist 'tameables' 0x14 //Frost spider
  13. pushlist 'tameables' 0xc9 //Hellcat (Small)
  14. pushlist 'tameables' 0xda //Frenzied Ostard
  15. pushlist 'tameables' 0x50 //Giant Toad
  16. pushlist 'tameables' 0xe8 //Bull
  17. pushlist 'tameables' 0xe9 //Bull2
  18. pushlist 'tameables' 0x22 //White Wolf
  19. pushlist 'tameables' 0x25 //White Wolf2
  20. pushlist 'tameables' 0x1c //Giant Spider
  21. pushlist 'tameables' 0xd4 //Grizzly Bear
  22. pushlist 'tameables' 0xea //Great Hart
  23. pushlist 'tameables' 0x41 //Snow leopard
  24. pushlist 'tameables' 0x40 //Snow leopard
  25. pushlist 'tameables' 0x19 //Gray wolf
  26. pushlist 'tameables' 0x1b //Gray wolf2
  27. pushlist 'tameables' 0x30 //Scorpion
  28. pushlist 'tameables' 0xca //Alligator
  29. pushlist 'tameables' 0x3f //Cougar
  30. pushlist 'tameables' 0xd6 //Panther
  31. pushlist 'tameables' 0xa7 //Brown Bear
  32. pushlist 'tameables' 0xdd //Walrus
  33. pushlist 'tameables' 0xd5 //Polar Bear
  34. pushlist 'tameables' 0xd3 //Black Bear
  35. pushlist 'tameables' 0xdc //Llama
  36. pushlist 'tameables' 0x124 //Pack Llama
  37. pushlist 'tameables' 0x123 //Pack Horse
  38. pushlist 'tameables' 0xc8 //Horse
  39. pushlist 'tameables' 0xe2 //Horse2
  40. pushlist 'tameables' 0xcc //Horse3
  41. pushlist 'tameables' 0xed //Giant Rat
  42. pushlist 'tameables' 0xdb //Forest Ostard
  43. pushlist 'tameables' 0xd2 //Desert Ostard
  44. pushlist 'tameables' 0x122 //Boar
  45. pushlist 'tameables' 0xe1 //Timber Wolf
  46. pushlist 'tameables' 0xed //Hind
  47. pushlist 'tameables' 0x51 //Bullfrog
  48. endif
  49. if not @inrange 'tobetamed' 2
  50. @unsetalias 'tobetamed'
  51. for 0 in 'tameables'
  52. if @findtype tameables[] 'any' 'ground' 1 2
  53. @setalias 'tobetamed' 'found'
  54. break
  55. endif
  56. endfor
  57. endif
  58. if not @inrange 'tobetamed' 2
  59. headmsg 'No new creatures near you!'
  60. replay
  61. endif
  62. clearjournal
  63. while name 'tobetamed' != NameTheTamed[0]
  64. autotargetobject 'tobetamed'
  65. useskill 'animal taming'
  66. @rename 'tobetamed' NameTheTamed[0]
  67. pause 1000
  68. if not @inrange 'tobetamed' 1
  69. if @x 'tobetamed' > x 'self' and @y 'tobetamed' > y 'self'
  70. walk 'Southeast'
  71. elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' > y 'self'
  72. walk 'Southwest'
  73. elseif @x 'tobetamed' > x 'self' and @y 'tobetamed' < y 'self'
  74. walk 'Northeast'
  75. elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' < y 'self'
  76. walk 'Northwest'
  77. elseif @x 'tobetamed' > x 'self' and @y 'tobetamed' == y 'self'
  78. walk 'East'
  79. elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' == y 'self'
  80. walk 'West'
  81. elseif @x 'tobetamed' == x 'self' and @y 'tobetamed' > y 'self'
  82. walk 'South'
  83. elseif @x 'tobetamed' == x 'self' and @y 'tobetamed' < y 'self'
  84. walk 'North'
  85. endif
  86. endif
  87. endwhile
  88. waitforcontext 'tobetamed' 8 20000
  89. waitforgump 0x909cc741 15000
  90. @replygump 0x909cc741 2
  91. @ignoreobject 'tobetamed'
  92. @unsetalias 'tobetamed'
  93. replay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement