Advertisement
Guest User

Untitled

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