Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions RELEASE/scripts/autoscend/auto_util.ash
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,11 @@ boolean ovenHandle()
if(!get_property("auto_haveoven").to_boolean() && (my_meat() >= (npc_price($item[Dramatic™ range]) + 1000)) && isGeneralStoreAvailable())
{
auto_buyUpTo(1, $item[Dramatic™ range]);
if(storage_amount($item[Dramatic™ range]) > 0)
{
//pull it from storage if we didn't get 1 when we tried to buy it
pullXWhenHaveY($item[Dramatic™ range], 1, 0);
}
use(1, $item[Dramatic™ range]);
set_property("auto_haveoven", true);
}
Expand Down