The bot can only be controlled by signs that are placed in its path.
After starting, the bot runs in the default direction until it encounters a sign. There, the commands on the sign are processed.
Signs are available for many standard tasks.
There is also a sign that can be programmed by the player, which then is processed by the bot.
But there are not programming skills needed, Bot commands are similar to chat commands.
Videos Tutorials (in German language):
https://youtu.be/odqUJhSBxYY
https://youtu.be/B9-CFvx9X3I
https://youtu.be/_nsvjcQhb6U
Further blocks:
- Sensors: These can send a signal to an actuator if they are connected to the actuator.
- Actuators: These perform an action when they receive a signal from a sensor.
When pairing, the current state of the actuator is important.
The state of the actuator is saved with the pairing and restored by the received signal. For example, the robot can be switched on or off via a node sensor.
An actuator can receive signals from many sensors. A sensor can only be connected to an actuator. However, if several actuators are to be controlled by one sensor, a signal extender block can be used. This connects to a sensor when it is placed next to the sensor. This extender can then be paired with another actuator.
Sensors are:
- Bot Sensor: sends a signal when the robot passes by
- Node Sensor: sends a signal when it detects a block (tree, cactus, flower, etc.)
- Crop Sendor: Sends a signal when, for example, the wheat is fully grown
- Control Unit: Can place up to 4 signs and steer the bot e.g. in different directions.
- Signs Bot Box: Can be turned off and on
- Bot Chest: Sends a signal depending on the chest state. Possible states are "empty", "not empty", "almost full". The state to be sent is defined while pairing.
In addition, there are currently the following blocks:
- The duplicator is used to copy Command Signs, i.e. the signs with their own commands.
- Bot Flap: The "cat flap" is a door for the bot, which he opens automatically and closes behind him.
- Sensor Extender for controlling additional actuators from one sensor signal
The code is on GitHub.
License
Copyright (C) 2019 Joachim Stolberg
Code: Licensed under the GNU GPL version 3 or later. See LICENSE.txt
Dependencies
default, farming, basic_materials, tubelib2
optional: farming redo, node_io