Darwinbots Forum

Bots and Simulations => DNA - General => Topic started by: Tj3 on March 19, 2010, 04:58:34 PM

Title: strbody and fdbody units
Post by: Tj3 on March 19, 2010, 04:58:34 PM
Okay, so I am making a bot that stores to/feeds from its body, but I wasn't sure what units the .strbody and .fdbody sysvars used(body or nrg).
Are they body or energy units, or different for each one?
Example: To store 100 nrg, do I say
Code: [Select]
100 .strbody store 'Nrg
OR
10 .strbody store 'Body
Title: strbody and fdbody units
Post by: Numsgil on March 19, 2010, 07:11:50 PM
I believe the units are in body.  But it's been a while so I'm not totally sure.
Title: strbody and fdbody units
Post by: bacillus on March 19, 2010, 08:57:07 PM
It's actually nrg-if  you store the maximum of 100nrg, you will get 10 body a cycle.
Title: strbody and fdbody units
Post by: Numsgil on March 20, 2010, 06:01:37 PM
Ah, I fail.
Title: strbody and fdbody units
Post by: bacillus on March 20, 2010, 08:50:18 PM
Hey, nobody's perfect