For a tower defense level (see
https://sourceforge.net/apps/phpbb/freedroid/viewtopic.php?f=5&t=154 ), it would
be really nice to have some way of placing the "towers". I had several ideas for
what the "towers" should be. The simplest implementation is a bot with 0
movement. I also had several ideas about how to place and move them (including
using the create_bot() code), but I think that it would be the most flexible if
they were movable like items are. Then I thought, why not make all bots
theoretically pick-upable.
Basically:
Out of inventory, bots are bots. In inventory, a bot is a (bulky) item.
Two obvious restrictions:
1) Tux can only pick up bots that are *friendly*
2) Tux can only pick up bots that would fit in his inventory (and we'd make most
bots would be too large for tux to pick up)
As an item we would need to do:
1) track all of the bot states, and probably freeze them (we don't want the bot
to auto-repair on us)
2) figure out some credit value? Or make it 0?
3) figure out how to deal with the repair skill, or the shopkeeper repair option.
Gameplay Advantages:
1) We can make bots which would act like "mines" using the bomber bot code (
http://rb.freedroid.org/r/561/ )
2) We can make a tower defense level
3) Possibly allow the mini-factory to manufacture bots, if we bring it bot designs?
(Temporarily assigning to ahuillet, as this idea needs his buy in *before* I
start trying to code it.)
|