Difference between revisions of "Sysvar"
From WikiManual
m |
m (almost done) |
||
Line 4: | Line 4: | ||
{{Movement}} | {{Movement}} | ||
{{Shooting}} | {{Shooting}} | ||
− | + | {{Position}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Gain and loss}} | {{Gain and loss}} | ||
{{Hit}} | {{Hit}} | ||
{{Shot}} | {{Shot}} | ||
+ | {{Reproduction}} | ||
+ | {{Body}} | ||
+ | {{Virus}} | ||
+ | {{Tie}} | ||
+ | {{Sharing}} | ||
+ | {{Defense}} | ||
+ | {{eye}} | ||
+ | {{in and out}} | ||
+ | {{Memloc and Memval}} | ||
+ | {{RefVar}} | ||
+ | {{Myvar}} | ||
+ | {{TrefVar}} | ||
− | + | *robage/9 - returns how many cycles old a bot is, with a maximum value of 32000 | |
− | + | *mass/10 - returns how massive a bot is. Mass is primarily based on body levels | |
− | |||
− | * | ||
− | |||
− | |||
− | |||
− | * | ||
*daytime/218 - Why have a day / night cycle if the robots can't tell when they change. Reads back 1 for day and 0 for night. | *daytime/218 - Why have a day / night cycle if the robots can't tell when they change. Reads back 1 for day and 0 for night. | ||
*kills/220 - Returns the number of bots your bot has killed. | *kills/220 - Returns the number of bots your bot has killed. | ||
− | + | ===Energy and Waste=== | |
− | |||
− | ===Energy | ||
*[[Energy|nrg/310]] | *[[Energy|nrg/310]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*[[Waste]] | *[[Waste]] | ||
**waste/828 | **waste/828 | ||
**pwaste/829 | **pwaste/829 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Algorithms are listed as [[Operators]]. | Algorithms are listed as [[Operators]]. |
Revision as of 05:41, 30 January 2006
System variables you're likely to see in Robot DNA:
Contents
Sysvars
Movement:
Forwards compatibility note: aimdx is the old name for aimright aimsx is the old name for aimleft |
Shooting:
|
Position:
|
Gains & Losses:
|
Shot:
|
Reproducing:
|
Body & Waste:
|
Viruses:
|
Ties:
|
MB Sharing:
|
Defense:
Forwards compatibility note: strvenom is the old name for mkvenom strpoison is the old name for mkpoison |
Eyes:
|
In and Out:
|
Memloc & Memval:
|
RefVars:
|
MyVar:
|
TrefVars:
|
- robage/9 - returns how many cycles old a bot is, with a maximum value of 32000
- mass/10 - returns how massive a bot is. Mass is primarily based on body levels
- daytime/218 - Why have a day / night cycle if the robots can't tell when they change. Reads back 1 for day and 0 for night.
- kills/220 - Returns the number of bots your bot has killed.
Energy and Waste
Algorithms are listed as Operators.