Automatically use food/potion during crafting?

Forum Forums Discussion Automatically use food/potion during crafting?

This topic contains 5 replies, has 5 voices, and was last updated by  Uxhak 3 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9133

    jayhan126
    Participant
    0

    Is there anyway the Miqobot can do that? I need to craft hundreds of endgame food and need CP food/potion while crafting. Any way to achiever that?

    #9136
    Lyfox
    Lyfox
    Participant
    0

    Put your food on hotbar. Lets say its on hotbar 7 slot 3 and you need to wait 5 seconds after that for animation. Then make a scenario like this.

    icon(7, 3, 5.0)
    craft(30)
    repeatChapter(10)

    You can drink potions the same way.

    #9210

    khovel
    Participant
    0

    Hitchhiking off this. What about using an item once every 2 hours? Like a bonus xp manual?

    #9212
    Lyfox
    Lyfox
    Participant
    0

    Assuming you have all mats in your inventory to craft for 2 hours non stop? Easy.

    Chapter 1:

    repeatAll(10)
    icon(7, 4, 5.0) //manual
    

    Chapter 2:

    repeatChapterFor(2:00)
    icon(7, 3, 5.0) //food
    craft(30)
    

    If you only need manual without food you can do it as a single chapter:

    repeatAll(10)
    icon(7, 4, 5.0) //manual
    workFor(2:00)
    craft(max)
    
    #29474

    Serph
    Participant
    0

    what does repeatall(10) and repeatChapter(10) do ? i’m new to the script thingy

    for first chapter you put repeatall(10) first why?

    • This reply was modified 3 years, 7 months ago by  Serph.
    #29480

    Uxhak
    Participant
    0

    repeatall repeats everything that came before the line. repeatchapter only repeats the chapter the line is in. Im not sure putting repeat all first works but I’m also relatively new to scripting scenarios so idk what that would do

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.