Zergatul / cheatutils

MIT License
38 stars 14 forks source link

Area Mine scripting #52

Closed Gith263 closed 10 months ago

Gith263 commented 10 months ago

Ok I may lack the intelligence on this one. But I am trying to use the area mine feature. Now on the are mine feature it says "Automatically mines blocks surrounding your target block. Activates only when instamine is active." No worries decently straight forward. So I look for the instamine feature and cannot find it. I went to the Show/Hide API Reference and did not see anything on there about mining. So i think to myself not one the API reference card no big problem, so I type out "instamine.toggle();" and I get the error code "Cannot find field "instamine".". a little grumpy that this did not work I of course tried "areamine.toggle();" for the slightly different result of "Cannot find field "areamine".", So please tell me how I can toggle this on and off

Zergatul commented 10 months ago

API Reference is generated automatically, it simply shows everything. Not every checkbox/input value has corresponding API methods. Originally I didn't want to overwhelm API with tons of methods. I will add methods for instamine in the next version.

Gith263 commented 10 months ago

Thank you, So currently the area mine/ Instamine does not have a API method in it correct? I am asking to make make sure that I have it right. Sorry for being a pain about it.

Also thank you for your quick response

Zergatul commented 10 months ago

Correct

Gith263 commented 10 months ago

Thank you, I will look forward to the update when you can work it in. :)