Skip to content

Commit a5f3a10

Browse files
committed
AI: Fix Ai putting soil up and down constantly (Not tested)
1 parent fef6422 commit a5f3a10

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

openlife/auto/AiBase.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,8 @@ abstract class AiBase {
21652165

21662166
// Hardened Row 848
21672167
var countHardRows = AiHelper.CountCloseObjects(myPlayer, home.tx, home.ty, 848, 30);
2168-
if (countHardRows > 0 && countBowls > 0) {
2168+
// if (countHardRows > 0 && countBowls > 0) { // Arcurus: If one fills a bowl, it might top
2169+
if (countHardRows > 0) {
21692170
// consider putting soil on hard row
21702171
this.taskState['RowMaker'] = 1;
21712172
if (shortCraft(1137, 848, 30)) return true;

server.hl

17 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)