I'm looking to make hi meins automatically, and I've come across a problem when making scrumdiddlyumptious solutions. I get an "Aborting, no results detected" error, although mafia still shows the new items in my session results and they show up in inventory.
How do I get keep mafia from aborting on me?
I'm not looking for anything fancy or a critique on my code, I know it's messy, but that will improve with time. For now I just want something that works, and I want to know why it's not working in the first place so I don't make the same mistake again. Snippet of code below:
Thanks.
How do I get keep mafia from aborting on me?
I'm not looking for anything fancy or a critique on my code, I know it's messy, but that will improve with time. For now I just want something that works, and I want to know why it's not working in the first place so I don't make the same mistake again. Snippet of code below:
Code:
if (hi_meins < 3){
buy(3-hi_meins-item_amount($item[delectable catalyst])-item_amount($item[scrumdiddlyumptious solution]), $item[delectable catalyst]);
buy(3-hi_meins-item_amount($item[scrumptious reagent])-item_amount($item[scrumdiddlyumptious solution]), $item[scrumptious reagent]);
use(item_amount($item[scrumptious reagent]), $item[delectable catalyst]);
Thanks.