Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cooking

Featured Replies

I'm building a cooking script and I have a few questions to get myself setup.
Firstly, I need to combine ingredients on a range. That's done with widgets right?
Second, I want to make sure I don't do anything while I'm cooking on the range, whats the easiest way of making sure I don't do anything while I'm cooking? I am only familiar with the isAnimating() method. Is that it?

cheers

@hexx Assuming you're the same person in the discord who asked the same thing.

https://osbot.org/api/org/osbot/rs07/api/Inventory.html
In the inventory API ^ there's 2 methods

getInventory().isItemSelected();
getInventory().getSelectedItemName();

And the person in the discord needed to make pies and pizzas. You just make a conditions checking an the item is selected, and the name equals the said ingredient, for the other said ingredient you want to combine. Doing more than 2 item combinations can get confusing. Widget may pop up for this I don't remember.


https://osbot.org/api/org/osbot/rs07/api/Widgets.html
Interacting with the Range should bring up some widgets what you wanna cook and etc. Then you interact with that widget whether you press space or clicking. Then for sleeping you could use an animation timer, or wait till you're out of the ingredients || a level up.

  • Author
21 hours ago, Gunman said:

@hexx Assuming you're the same person in the discord who asked the same thing.

https://osbot.org/api/org/osbot/rs07/api/Inventory.html
In the inventory API ^ there's 2 methods


getInventory().isItemSelected();
getInventory().getSelectedItemName();

And the person in the discord needed to make pies and pizzas. You just make a conditions checking an the item is selected, and the name equals the said ingredient, for the other said ingredient you want to combine. Doing more than 2 item combinations can get confusing. Widget may pop up for this I don't remember.


https://osbot.org/api/org/osbot/rs07/api/Widgets.html
Interacting with the Range should bring up some widgets what you wanna cook and etc. Then you interact with that widget whether you press space or clicking. Then for sleeping you could use an animation timer, or wait till you're out of the ingredients || a level up.

Brilliant, thankyou so much. The widget stuff is just confusing to be honest. I just need to make pizza and I know there are a lot of ingredients involved that need combining. So I just need to interact with the range. I can figure out how to do that easily enough. Thats brilliant thankyou, might have to join the discord

1 hour ago, hexx said:

Brilliant, thankyou so much. The widget stuff is just confusing to be honest. I just need to make pizza and I know there are a lot of ingredients involved that need combining. So I just need to interact with the range. I can figure out how to do that easily enough. Thats brilliant thankyou, might have to join the discord

Better not be stealing my gnome restaurant bot farm, I have so much ingredients to add (I only have the batta's added to my script for now but it runs them to all gnomes in game) The making of the items is also what i'm struggling with :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.