Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception for Small path when checking if we can use free rests when restoring cinch. #1359

Merged
merged 2 commits into from
Sep 14, 2023
Merged
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
3 changes: 2 additions & 1 deletion RELEASE/scripts/autoscend/iotms/mr2023.ash
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,11 @@ boolean auto_getCinch(int goal)
// don't have enough cinch and don't have any free rests left
return false;
}
if(!haveAnyIotmAlternativeRestSiteAvailable() && get_dwelling() == $item[big rock])
if(!haveAnyIotmAlternativeRestSiteAvailable() && (get_dwelling() == $item[big rock] && !in_small()))
{
// don't have anywhere to rest
// get dwelling returns big rock when no place to rest in campsite
// exception for Small path as you can't use housing in-run so you will always have a big rock.
return false;
}
// use free rests until have enough cinch or out of rests
Expand Down
Loading