Difference between revisions of "Body"
m (Reverted edit of Retard, changed back to last version by Numsgil) |
m (gen edit) |
||
Line 1: | Line 1: | ||
==Darwinbot's Body== | ==Darwinbot's Body== | ||
− | Body represents a stored version of energy. It is similar to real organisms' fat and muscle combined into one. It helps to increase feeding capabilities while decreasing speed. | + | Body represents a stored version of [[energy]]. It is similar to real organisms' fat and muscle combined into one. It helps to increase feeding capabilities while decreasing speed. |
− | |||
---- | ---- | ||
− | ''' | + | '''Obtaining Body''' |
There are 2 ways of gaining energy from body | There are 2 ways of gaining energy from body | ||
− | 1: Hunting using body shots, ie: -6 shots. DNA command: "-6 .shoot store" results in a particle being shot in the direction the bot is facing. If the particle hits another bot, that bot will shoot back a particle containing a portion of its own body | + | 1: Hunting using body shots, ie: -6 shots. DNA command: "-6 .shoot store" results in a particle being shot in the direction the bot is facing. If the particle hits another bot, that bot will shoot back a particle containing a portion of its own body. -1 or energy shots also return a small fraction of another bot's body, but mostly just return nrg from the other bot's nrg reserves. |
2: Storing and Retrieving energy to/from body. | 2: Storing and Retrieving energy to/from body. |
Revision as of 19:25, 26 December 2005
Darwinbot's Body
Body represents a stored version of energy. It is similar to real organisms' fat and muscle combined into one. It helps to increase feeding capabilities while decreasing speed.
Obtaining Body
There are 2 ways of gaining energy from body
1: Hunting using body shots, ie: -6 shots. DNA command: "-6 .shoot store" results in a particle being shot in the direction the bot is facing. If the particle hits another bot, that bot will shoot back a particle containing a portion of its own body. -1 or energy shots also return a small fraction of another bot's body, but mostly just return nrg from the other bot's nrg reserves.
2: Storing and Retrieving energy to/from body.
For 2.37 and before: Bots can store energy as body points with the .strbody command. The value stored into strbody is the amount of nrg to be saved into body. The conversion rate is 10 energy points per 1 body point. To retreive energy back from body, bots can use the .fdbody command. .fdbody represents how much nrg you want to retrieve from body.
There is a limit of 100 energy points per cycle for both storage and retrieval of body points.
Children recieve the same proportion of body points of the parent as nrg it recieves. Thus 10 .repro store will create a child with both 10% of the parent's body points, and 10% of its energy.
Body is important in calculating the power and range of shots. The power of a shot increases linearly with body, while the range increases logarithmically.
Future Energy Stuff
Lots of work is being done in the area of metabolism and digestion. Relatively soon you should see some major changes in this area. These changes will be backward compatible, though, so don't worry about your current bots not working. This stuff isn't in the program yet, but is gonna be added. Such a metabolism and digestion system will result in finer distinction between energy than just 'nrg' and 'body', allowing for specialization.