CC: Drones
Drones for CC: Tweaked
currently drones can:
- Go forward (using
drone.engineOn(true)
) - Turn (using
drone.left(number)
anddrone.right(number)
) - Go up and down (using
drone.up(number)
anddrone.down(number)
) - Look forward and back (
drone.lookForward()
drone.lookBack()
) - Mine forward (
drone.breakForward()
) - see the Drones rotation (
drone.rotation()
) - see if the drone is colliding (
drone.isColliding()
) - turn the drones hover function on (
drone.hoverOn(true)
) - pick up blocks (and keep there data) below (
drone.pickupBlock()
) - drop the block (
drone.dropBlock()
) - pick up entities below (
drone.pickUpEntity()
) - drop the entity below (
drone.dropEntity()
)
Programming
using the Drone Workbench as a peripheral you can use two commands
(let a
be the wrap e.g a = peripheral.wrap("left")
)
a.api()
will reboot the computer after installing the drone api for ease of programminga.export(path)
will take the lua program atpath
and send it to the first drone within 2 blocks of the workbench, this will then reboot the drone and start it executing
you can probably just use your favorite item mod to find the recipes but here they are anyway
Further development
There are a few things I want to add, but I don't know when I'll add them:
- drones survey environments, this data can be reviewed in a holographic display
- drone cameras (like spectator mode)
- drone chunk loaders
Note
This is certainly an early development build but I thought it was pretty cool so here it is, in all its alpha glory
External resources
Project members
Acrogenous
Member
Technical information
License
MIT
Client side
required
Server side
required
Project ID