Posted 29 August 2015 - 04:39 PM
I would like to recommend that the turtle be able to turn internal lights on and off. Perhaps it would be best to reserve the feature for Advanced turtles or Diamond turtles (suggested in another thread on this forum).
Here's my suggested use-case: I would program a quarry program to have the turtle emit light when it runs in to an error, like running out of fuel and must stop. I would be able to find the turtle in a massive empty dark quarry cavern quite easily.
Perhaps, to prevent lighting bugs, the turtle should only emit light when stationary. The help file/wiki should warn programmers to use caution when using this command to avoid creating too much lag.
The API should allow the following functions:
EDIT: "glowstone lamp" -> redstone lamp
Here's my suggested use-case: I would program a quarry program to have the turtle emit light when it runs in to an error, like running out of fuel and must stop. I would be able to find the turtle in a massive empty dark quarry cavern quite easily.
Perhaps, to prevent lighting bugs, the turtle should only emit light when stationary. The help file/wiki should warn programmers to use caution when using this command to avoid creating too much lag.
The API should allow the following functions:
- Set light level: define how much light the turtle is emitting.
- Blink (min level, max level, rate): API function to blink the turtle with a default of full brightness and a default rate. Setting the rate or pulse variables would change from default. Perhaps limit this to a maximum rate to reduce lag (editable in a config file?). Min level and max level would set the "on" level and "off" level (default minLevel is 0, default maxLevel is 15)
- Pulse (min level, max level, steps, rate): similar to Blink but increments/decrements emitted light level in steps of 1 (default) to get from minLevel to maxLevel or vice versa.
- anything else?
- Block light emission, completely,
- Set minimum time between lighting updates,
- Light level requires redstone lamp peripheral or is built in to turtle.
- anything else?
EDIT: "glowstone lamp" -> redstone lamp
Edited on 29 August 2015 - 03:46 PM