Codecube allows to use lua
code in Minetest to build anything you want
This game is mainly based on the CodeBlock mod for the programming interface. This game provides a flat world and a few other settings and limitations for a better programming experience.
License: AGPLv3
Credits: inspired by Gnancraft, ComputerCraft, Visual Bots, TurtleMiner, basic_robot
- Install the game and create a new world
- Right click with tool on a block to place the drone, choose
stairs.lua
then left click with to start the drone
- Right click with tool to open the
lua
editor - Create a new file with the
new file
field and write some code on the main window - Click
load and exit
to load your code in the drone - Right click with tool on a block and run the code with a left click on
- Read the Lua API in
doc/api.md
to know which commands and blocks you can use
- More built-in examples are available, just open the editor and choose an example to run
- User
codelevel
can be adjusted to tweak drone performance and capacities, see permisisons and chat commands