Posted 03 December 2012 - 10:33 AM
So firstly, let's get the basic idea out of the way (this part has probably been suggested a hundred times before);
Turtles should be able to have bows and fire arrows, that's pretty simple.
just selecting a slot with arrows in it and doing turtle.attack() will fire an arrow.
However, the more complex part comes in the tracking, the arrows should be crafted by using 1 arrow + 1 wireless modem (or more arrows) and getting like 16 tracking arrows.
These tracking arrows can then be fired and will transmit their final location, or nil if they don't have a final location after a certain amount of time, to the turtle which fired it. The turtle then gets a new event (like "tracker_pos") which has the paramters:
event, {x,y,z}, arrow_id
on attack when firing an arrow should have a second return, true/false depending on whether it fired and the id of the tracking arrow if relevant.
This could help add basic vision to turtles at a significant cost, but it could mean that they could fire arrows on delay until something like a tree has spawned and interrupts it, it then goes and sucks up the arrow(s) and chops down the tree.
Is this a good or bad idea?
Turtles should be able to have bows and fire arrows, that's pretty simple.
just selecting a slot with arrows in it and doing turtle.attack() will fire an arrow.
However, the more complex part comes in the tracking, the arrows should be crafted by using 1 arrow + 1 wireless modem (or more arrows) and getting like 16 tracking arrows.
These tracking arrows can then be fired and will transmit their final location, or nil if they don't have a final location after a certain amount of time, to the turtle which fired it. The turtle then gets a new event (like "tracker_pos") which has the paramters:
event, {x,y,z}, arrow_id
on attack when firing an arrow should have a second return, true/false depending on whether it fired and the id of the tracking arrow if relevant.
This could help add basic vision to turtles at a significant cost, but it could mean that they could fire arrows on delay until something like a tree has spawned and interrupts it, it then goes and sucks up the arrow(s) and chops down the tree.
Is this a good or bad idea?