Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. -- @Options Cavebot, seta as opcoes de rope, shovel, machete, pick e walkable ids
  2. function CaveOptions()
  3. if itemcount(3003) > 0 then
  4. setsetting('Cavebot/Rope', 'Rope')
  5. end
  6. if itemcount(646) > 0 then
  7. setsetting('Cavebot/Rope', 'Elvenhair Rope')
  8. end
  9. if itemcount(3457) > 0 then
  10. setsetting('Cavebot/Shovel', 'Shovel')
  11. end
  12. if itemcount(5710) > 0 then
  13. setsetting('Cavebot/Shovel', 'Light Shovel')
  14. end
  15. if itemcount(3308) > 0 then
  16. setsetting('Cavebot/Machete', 'Machete')
  17. end
  18. if itemcount(330) > 0 then
  19. setsetting('Cavebot/Machete', 'Heavy Machete')
  20. end
  21. if itemcount(3456) > 0 then
  22. setsetting('Cavebot/Pick', 'Pick')
  23. end
  24.  
  25.  
  26.  
  27. if itemcount(9596) > 0 then
  28. setsetting('Cavebot/Shovel', 'Squeezing Gear of Girlpower')
  29. setsetting('Cavebot/Machete', 'Squeezing Gear of Girlpower')
  30. setsetting('Cavebot/Pick', 'Squeezing Gear of Girlpower')
  31. setsetting('Cavebot/Rope', 'Squeezing Gear of Girlpower')
  32. end
  33. if itemcount(9598) > 0 then
  34. setsetting('Cavebot/Shovel', 'Whacking Driller of Fate')
  35. setsetting('Cavebot/Machete', 'Whacking Driller of Fate')
  36. setsetting('Cavebot/Pick', 'Whacking Driller of Fate')
  37. setsetting('Cavebot/Rope', 'Whacking Driller of Fate')
  38. end
  39. if itemcount(9594) > 0 then
  40. setsetting('Cavebot/Shovel', 'Sneaky Stabber of Eliteness')
  41. setsetting('Cavebot/Machete', 'Sneaky Stabber of Eliteness')
  42. setsetting('Cavebot/Pick', 'Sneaky Stabber of Eliteness')
  43. setsetting('Cavebot/Rope', 'Sneaky Stabber of Eliteness')
  44. end
  45.  
  46.  
  47.  
  48.  
  49. for _, walkables in ipairs({"105, 140, 404, 477, 611, 620, 621, 623, 624, 831, 832, 833, 834, 867, 1998, 1999, 2000, 2118, 2119, 2121, 2122, 2123, 2124, 2126, 2127, 2131, 2132, 2134, 2135, 2137, 2138, 2140, 2314, 2315, 2316, 2319, 2346, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, 2355, 2356, 2357, 2358, 2359, 2360, 2361, 2362, 2363, 2364, 2365, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2384, 2385, 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411, 2412, 2413, 2414, 2415, 2416, 2417, 2418, 2419, 2420, 2421, 2422, 2423, 2424, 2425, 2426, 2431, 2432, 2433, 2434, 2441, 2442, 2443, 2444, 2469, 2471, 2472, 2473, 2478, 2480, 2481, 2482, 2483, 2484, 2485, 2486, 2519, 2523, 2775, 2776, 2777, 2778, 2779, 2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 2790, 2791, 2792, 2793, 2794, 2795, 2796, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2981, 2983, 2984, 2985, 2987, 2988, 3503, 3504, 3514, 3652, 3666, 4054, 5086, 5087, 5088, 5463, 5674, 5675, 5915, 5916, 6114, 6115, 6116, 6117, 6355, 6356, 6357, 6358, 6359, 6360, 6361, 6362, 6371, 6372, 7160, 7161, 7162, 7163, 7164, 7165, 7166, 7169, 7170, 7266, 7267, 7288, 7864, 8519, 8520, 8521, 8522, 8529, 8530, 8763, 8823, 8824, 8825, 8859, 9061, 9062, 9100, 9630, 10181, 10182, 10207, 10209, 10216, 10286, 10287, 10288, 10978, 10979, 11010, 11011, 11012, 11013, 11540, 11797, 11798, 11799, 11800, 11801, 11802, 11803, 11804, 11805, 11806, 11807, 11808, 11809, 11810, 12020, 12021, 12022, 12477, 12573, 12636, 12637, 12638, 12639, 12743, 12796, 13646, 13650, 13969, 14237, 14741, 14756, 15151, 15152, 15153, 15154, 15155, 16173, 17152, 17359, 17360, 17361, 17362, 17363, 17364, 17365, 17366, 17367, 17807, 17808, 17972, 17974, 17975, 17977, 19113, 19114, 19116, 19200, 21152, 21300, 21391, 21462, 21463, 21465, 21500, 21842, 22076, 22077, 22164, 22165, 23366, 23403, 23404, 23405, 23406, 23407, 23408, 23409, 23410, 23411, 23414, 23417, 23418, 23423, 23424, 23425, 23426, 23427, 23428, 23429, 23430, 23456, 23457, 23458, 23459, 23460, 23473, 24512, 24525, 24526, 24527, 24528, 24794, 24861, 24862"}) do
  50. setsetting('Cavebot/WalkableIDs', walkables)
  51. setsetting('Cavebot/FireAvoidance', '0 to 0')
  52. setsetting('Cavebot/PoisonAvoidance', '0 to 0')
  53. setsetting('Cavebot/EnergyAvoidance', '0 to 0')
  54. end
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement