cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.27k stars 1.45k forks source link

Suggestions related to: general tasks and farming #1115

Closed CodeF53 closed 4 years ago

CodeF53 commented 5 years ago

What are these ideas for

Expanding the capability of autonomous work using baritone.

Conditional actions.

Parenthesis: (action1, action2) or (condition1, condition2)

if either condition1 or condition 2 are hit, do the following action following the completion of action1, the bot will start action2.

store, and necessary components to get it working

components:

Farming

lets be honest, #farm lacks a lot of capability What does it need?

Application of suggestions

#on (damage, complete) (ding, home, store ores oreChest, store mats matChest) #mine (iron 64, diamond 16) This will set off the bot to mine, then go home and store collected resources, without having it die idling in a cave after mining.

#farmpref wait #on (damage, complete) (ding, home, store (seeds, pumpkin_seeds) seedchest, store crops foodchest) #farm (wheat 30, pumpkin 6, carrot 128)

MajsterTynek commented 5 years ago

done.wav, I suggest this as ding sound. I made that for my log follower which searches for "Building done" phrase. I wanted it to be as vibrant as possible, so we can hear it whatever we do in background.

Storing items should suport arrays of chest. There should be event (action?) for running out of storage space. Looks like this "enhancement" goes towards some kind of scripting language.

CodeF53 commented 5 years ago

If this could be integrated into some sort of scripting language that would Hella cool

JadedBlueEyes commented 5 years ago

I’m gonna take the opportunity to point out that if you want to do this now, and a whole lot more, you should try the advanced macros mod. The mod uses Lua as a scripting language, and an event based trigger system. It is extremely powerful and one member of our community has even created an A* pathfinding script with it.

5HT2 commented 4 years ago

Most of these have already been suggested in other issues, make a new issue with just the farming stuff if you want that added.