Commit Graph

60 Commits

Author SHA1 Message Date
Guillaume ARM
1b0b172e9a fix(inferium-harvester): several crashes on retrieveFertilizedEssences function 2024-06-01 17:05:45 +02:00
Guillaume ARM
c2e63d427a feat: implement first version of tunnels-miner 2024-05-26 03:34:10 +02:00
Guillaume ARM
83a819c038 feat(inferium-harvester): add 3s delay at start 2024-05-25 23:58:37 +02:00
Guillaume ARM
626a195bb4 fix(inferium-harvester): dropAllProcedure 2024-05-24 19:05:44 +02:00
Guillaume ARM
43d931994a refactor: introduce new shared inferium lib 2024-05-24 17:27:46 +02:00
Guillaume ARM
58bb9d6d24 refactor(inferium-harvester): add turtleUtils.isSeedInSlot 2024-05-24 17:15:39 +02:00
Guillaume ARM
6b36dd3c92 perf(inferium-harvester): do not continue when all needed seeds are removed 2024-05-24 16:35:26 +02:00
Guillaume ARM
4502db1ba1 perf(inferium-harvester): do not continue replant when inventory is empty 2024-05-24 16:33:56 +02:00
Guillaume ARM
88d7b6dcc8 refactor(inferium)!: replace get-config by register-and-get-config 2024-05-24 02:24:39 +02:00
Guillaume ARM
b88bc8a023 fix(inferium)!: rename getconfig in get-config 2024-05-22 21:07:13 +02:00
Guillaume ARM
77210784ff fix(inferium-harvester): handle when a turtle is blocked during forward 2024-05-22 19:31:17 +02:00
Guillaume ARM
f38f3dc7bf fix(inferium-harvester): forget to pass config 2024-05-22 18:54:21 +02:00
Guillaume ARM
90a3ac864e feat(inferium): replace getplan by getconfig 2024-05-22 18:40:00 +02:00
Guillaume ARM
38b9c24bd6 refactor(inferium-harvester): dynamic config (but still local) 2024-05-22 18:24:33 +02:00
Guillaume ARM
467378f0c9 feat(inferium-harvester): add config.fertilizedBoost 2024-05-22 01:15:20 +02:00
Guillaume ARM
a29f8ac5cb fix(inferium-harvester): display of the harvest state 2024-05-22 00:17:49 +02:00
Guillaume ARM
0a9294310a feat(inferium-harvester): better logs on refuel, harvest and remove seeds 2024-05-22 00:15:29 +02:00
Guillaume ARM
b8fb2390f2 fix(inferium-harvester): better error handling for fetchRemotePlan 2024-05-21 23:52:09 +02:00
Guillaume ARM
7233ed7eb5 fix(inferium-harvester): avoid printing the same error message each time 2024-05-21 23:45:44 +02:00
Guillaume ARM
97bb32b544 chore(inferium-harvester): better debug messages 2024-05-21 23:41:43 +02:00
Guillaume ARM
6071fdb6b4 feat(inferium-harvester): fetch the remote plan before getting the local plan 2024-05-21 23:39:12 +02:00
Guillaume ARM
11b6f140e1 chore: add some debug messages 2024-05-21 23:37:35 +02:00
Guillaume ARM
a4a33d1eef feat(inferium-harvester): improve printed messages + fuel management at start 2024-05-21 23:27:57 +02:00
Guillaume ARM
9dd106763e feat! migrate inferium-harvester and inferium-server to rednet 2024-05-21 23:08:12 +02:00
Guillaume ARM
cdad0204ba fix(inferium-harvester): replant only when needed 2024-05-21 20:08:07 +02:00
Guillaume ARM
b075b953ab feat(inferium-harvester): crash the process when no response from the inferium server 2024-05-21 18:51:02 +02:00
Guillaume ARM
d4cbe6e808 feat(inferium-harvester): do not block harvest procedure when no crop 2024-05-21 18:02:27 +02:00
Guillaume ARM
4af7ae8cfe feat(inferium-harvester): do not wait for crops 2024-05-21 17:56:27 +02:00
Guillaume ARM
d16a9b2587 feat(inferium-harvester): update the local plan on the go 2024-05-21 17:48:59 +02:00
Guillaume ARM
be9c2c10a1 fix(inferium-harvester): shallow clone of the local plan to avoid errors 2024-05-21 17:43:22 +02:00
Guillaume ARM
f483c41c88 chore: remove energySaving mode 2024-05-21 17:42:58 +02:00
Guillaume ARM
e883deba5a feat(inferium-harvester): implement fetchRemotePlan 2024-05-20 22:26:53 +02:00
Guillaume ARM
5e2234da78 feat(inferium-harvester): add defaultRemotePlan to the static config 2024-05-20 21:08:10 +02:00
Guillaume ARM
340d5f4cff chore(inferium-harvester): remove print messages 2024-05-20 21:05:10 +02:00
Guillaume ARM
930b104522 fix: replace utils.difference by utils.shallowDiff 2024-05-20 20:51:37 +02:00
Guillaume ARM
e9ebf63c55 feat: create utils lib 2024-05-20 20:26:43 +02:00
Guillaume ARM
b1c3eac1b9 chore: retry with old implementation of difference 2024-05-20 20:21:09 +02:00
Guillaume ARM
a8788ca3b1 fix(inferium-harvester): set local plan to remote plan at the end of the replant procedure 2024-05-20 20:08:13 +02:00
Guillaume ARM
86baeb83f0 chore: try with a new implementation of difference 2024-05-20 19:58:11 +02:00
Guillaume ARM
997fe76fd1 fix(inferium-harvester): add sizeof util to compute the size of a table 2024-05-20 19:54:31 +02:00
Guillaume ARM
586b656fd7 chore: debug 2024-05-20 19:49:00 +02:00
Guillaume ARM
0f78c1c994 chore(inferium-harvester): add some print debug messages 2024-05-20 19:47:45 +02:00
Guillaume ARM
6c38ea6845 fix(inferium-harvester): isSeed 2024-05-20 19:43:23 +02:00
Guillaume ARM
c42b8472dc fix: fakeRemotePlan 2024-05-20 19:41:40 +02:00
Guillaume ARM
865d6b4f5b fix(inferium-harvester): removeFirst util 2024-05-20 19:33:14 +02:00
Guillaume ARM
f7a83ef911 fix(inferium-harvester): retrieveHomePositionProcedure 2024-05-20 19:32:04 +02:00
Guillaume ARM
6b4e4f248d fix(inferium-harvester): replant procedure 2024-05-20 19:26:32 +02:00
Guillaume ARM
daa36c82de fix(inferium-harvester): syntax errors 2024-05-20 19:15:57 +02:00
Guillaume ARM
0b724c7334 feat(inferium-harvester)!: add replant procedure 2024-05-20 19:03:34 +02:00
Guillaume ARM
e5e63f4223 fix(inferium-harvester): wait for bottom inventory before dropping items 2024-05-20 00:07:06 +02:00