Commit Graph

47 Commits

Author SHA1 Message Date
Guillaume ARM
9770321c20 fix(inferium-harvester): bug on harvest procedure 2024-05-19 17:20:44 +02:00
Guillaume ARM
467a1c9168 fix(inferium-harvester): use placeDown from turtle api 2024-05-19 17:15:35 +02:00
Guillaume ARM
e20c7fd073 fix(turtle-utils): getMatureCrop implementation 2024-05-19 17:14:07 +02:00
Guillaume ARM
1438db9973 fix(inferium-harvester): get seedName from cropName 2024-05-19 17:10:21 +02:00
Guillaume ARM
88d8fae296 fix(turtle-utils): waitForMatureCrop 2024-05-19 17:04:37 +02:00
Guillaume ARM
1e9536b089 fix(inferium-harvester): crash with waitFor util + better refuel procedure 2024-05-19 17:00:59 +02:00
Guillaume ARM
f811031db5 feat: first version of inferium harvester 2024-05-19 16:42:52 +02:00
Guillaume ARM
0c2b64beb8 fix: move simple-harvester.lua in old directory 2024-05-19 14:19:06 +02:00
Guillaume ARM
0338aeae67 fix: config/mining.lua 2024-05-19 13:24:24 +02:00
Guillaume ARM
8a3e422c9d fix: install script 2024-05-19 13:23:32 +02:00
Guillaume ARM
27afb3eade refactor: better install script 2024-05-19 13:22:34 +02:00
Guillaume ARM
7dc979f8c4 feat: add inferium-upgrader 2024-05-19 13:22:24 +02:00
Guillaume ARM
6b8cec89e8 feat: add simple-harvester 2024-05-19 13:18:55 +02:00
Guillaume ARM
e8ce29bad6 refactor: create libs and config folders 2024-05-19 13:15:54 +02:00
Guillaume ARM
7a7542e851 feat: add startup.lua to automatically start the mining process 2024-05-11 22:42:57 +02:00
Guillaume ARM
84e497300e fix: change user confirmation "MINE" to "yes" 2024-05-11 16:54:16 +02:00
Guillaume ARM
809f2a78c0 fix: miner serialize/unserialize 2024-05-11 16:49:25 +02:00
Guillaume ARM
9e3a356eca feat: add confirmation by the user + persist started state 2024-05-11 15:31:51 +02:00
Guillaume ARM
bedd5adbcb feat!: persist miner state 2024-05-11 15:12:18 +02:00
Guillaume ARM
3d9a1b9b94 fix: change the min fuel detection process during refuel 2024-05-11 13:20:39 +02:00
Guillaume ARM
1e6b431e1e chore: update comment 2024-05-11 00:19:03 +02:00
Guillaume ARM
0b5275ae13 feat: robot instances can be created with a given initial state 2024-05-09 12:07:18 +02:00
Guillaume ARM
db5071c4a3 chore: bump MIN_FUEL_NEEDED 2024-05-09 11:59:04 +02:00
Guillaume ARM
09d15d0db7 fix: better handling of the minimum fuel limit 2024-05-09 03:05:54 +02:00
Guillaume ARM
4c84f48207 fix: robot force forward 2024-05-09 03:03:54 +02:00
Guillaume ARM
1e30be3223 refactor: add config-miner file 2024-05-09 02:58:21 +02:00
Guillaume ARM
772d94693d refactor: rename LOWER_LIMIT and HIGHER_LIMIT 2024-05-09 02:25:20 +02:00
Guillaume ARM
51eff0fa63 chore: change default config 2024-05-09 02:23:35 +02:00
Guillaume ARM
aaa6ff8b80 fix: multiply minimum needed fuel 2024-05-09 02:22:22 +02:00
Guillaume ARM
dffc2ffac9 chore: typo 2024-05-08 23:25:01 +02:00
Guillaume ARM
8041a7304d chore: add comment 2024-05-08 23:02:16 +02:00
Guillaume ARM
09fc50d55e fix: keep track of current miner targetY 2024-05-08 22:57:37 +02:00
Guillaume ARM
7fa1fb7cea fix: typo 2024-05-08 22:52:19 +02:00
Guillaume ARM
8351bf16aa fix: orient the robot in the correct direction when returning to home 2024-05-08 22:43:36 +02:00
Guillaume ARM
a923fe846d fix: last bug with robotState.z 2024-05-08 22:34:26 +02:00
Guillaume ARM
defb4e3e3f fix: bad check on robotState.z 2024-05-08 22:31:18 +02:00
Guillaume ARM
4cfee8d445 fix: miner.finished condition 2024-05-08 22:29:52 +02:00
Guillaume ARM
86caa737e9 chore: change default config.startY 2024-05-08 22:14:55 +02:00
Guillaume ARM
f75f280193 fix(robot-api): mutateRobotPosition 2024-05-08 22:13:53 +02:00
Guillaume ARM
1b3a46e608 chore: add a print debug line 2024-05-08 22:07:51 +02:00
Guillaume ARM
744078bab3 chore: change targetY and startY checks 2024-05-08 21:54:10 +02:00
Guillaume ARM
988bf73955 fix: crash the miner when cannot dig down 2024-05-08 21:49:34 +02:00
Guillaume ARM
7d6825f59d fix: better debug messages + debug refuel 2024-05-08 21:43:30 +02:00
Guillaume ARM
3e9222dd8d fix: turtleUtils.tryDrop should return when no item to drop 2024-05-08 21:31:17 +02:00
Guillaume ARM
31298f5735 fix: syntax errors 2024-05-08 21:26:34 +02:00
Guillaume ARM
c8a01d279c feat: add install script + readme 2024-05-08 21:04:49 +02:00
Guillaume ARM
fd40a52ddc chore: save 2024-05-08 20:45:08 +02:00