joe7575 / signs_bot

A Minetest robot controlled by signs
GNU General Public License v3.0
5 stars 7 forks source link

supports multiple harvesting stages (for farming:pepper) #18

Closed nixnoxus closed 2 years ago

nixnoxus commented 2 years ago

farming:pepper has 3 harvesting stages:

See also: https://notabug.org/TenPlus1/farming/src/master/crops/pepper.lua#L114-L155

The bot only knows level 5 so far. With this PR stage 6 and 7 are also detected by the sensor and also harvested by the bot.

This change are successfully tested with Minetest 5.4.1 (and minetest_game) and 3x3 field with sensor. Each for:

and this a sign_cmnd:

turn_right
harvest
sow_seed 1
move 3
exit
nixnoxus commented 2 years ago

thank you!