Bots and Simulations > DNA - General

strbody and fdbody units

(1/1)

Tj3:
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: ---100 .strbody store 'Nrg
OR
10 .strbody store 'Body

--- End code ---

Numsgil:
I believe the units are in body.  But it's been a while so I'm not totally sure.

bacillus:
It's actually nrg-if  you store the maximum of 100nrg, you will get 10 body a cycle.

Numsgil:
Ah, I fail.

bacillus:
Hey, nobody's perfect  

Navigation

[0] Message Index

Go to full version