Defenses
The four substances a bot makes with its energy (shell, slime, venom and poison) and the cells that decide what they do to whoever attacks you.
| Address | Sysvar | Kind | Summary |
|---|---|---|---|
| 820 | .mkslime | Command | Command to make slime: each 1 of energy gives 10 of slime, up to 200 per cycle. |
| 821 | .slime | Sense | How much slime the bot has: it prevents the bot from being tied and stops viruses; it evaporates 2% per cycle. |
| 822 | .mkshell | Command | Command to make shell: each 1 of energy gives 10 of shell, up to 100 per cycle. |
| 823 | .shell | Sense | How much shell the bot has: it stops the shots that steal body and the venom ones, and it doesn't wear off on its own. |
| 824 | .strvenom .mkvenom | Command | Order to make venom: every 1 energy gives 1 venom, up to 100 per cycle. Also called .mkvenom. |
| 825 | .venom | Sense | How much venom the bot has: the ammunition for -3 shots, which paralyze the victim and overwrite one of its memory cells. |
| 826 | .strpoison .mkpoison | Command | Order to make poison: every 1 energy gives 4 poison, up to 100 per cycle. Also called .mkpoison. |
| 827 | .poison | Sense | How much poison the bot has: it punishes whoever bites it with an energy shot or steals from it through a tie; it evaporates 2% per cycle. |
| 834 | .ploc | Command | The memory cell that your poison will overwrite, every cycle, in whoever gets poisoned by attacking you. |
| 835 | .vloc | Command | The memory cell that your venom will overwrite in the victim on every cycle of the paralysis. |
| 836 | .venval | Command | The value that your venom writes into the victim's .vloc cell on every cycle of the paralysis. |
| 837 | .paralyzed | Sense | How many cycles of venom paralysis the bot has left; 0 if it isn't paralyzed. |
| 838 | .poisoned | Sense | How many cycles of poisoning the bot has left; 0 if it isn't poisoned. |
| 839 | .pval | Command | The value your poison writes into the .ploc cell of whoever gets poisoned by attacking you. |
A bot can spend energy to make four substances. Each one has a command to make it and a cell where the engine publishes how much you have:
| Substance | Made with | Read in | Per 1 of energy | Cap per cycle | Decays on its own |
|---|---|---|---|---|---|
| Shell | .mkshell | .shell | 10 | 100 | no |
| Slime | .mkslime | .slime | 10 | 200 | 2% per cycle |
| Venom | .strvenom | .venom | 1 | 100 | no |
| Poison | .strpoison | .poison | 4 | 100 | 2% per cycle |
The four serve different purposes. Shell stops the shots that steal body and the venom ones, but makes the bot heavier. Slime keeps other bots from tying to you, and it stops viruses. Venom is ammunition: it is shot with -3 in .shoot and paralyzes. Poison is a passive defense: whoever hits you with an energy shot receives poison instead of food.
What venom and poison do to the victim is up to you, through four configuration cells: .vloc and .venval (which cell of the victim of your venom gets overwritten and with what value) and .ploc and .pval (the same for whoever is poisoned by your poison). The victim sees in .paralyzed and .poisoned how many cycles it has left.
Making a substance costs the energy in the table plus a transaction cost set by the simulation, which ends up converted into waste (.waste). A negative value in the command dismantles the substance, but returns no energy: it is charged too.
A common recipe in the Bestiary, for example in Alga Toxicus: at birth, set .vloc, .venval and .ploc; then, load venom and poison when there is energy to spare and shoot venom every cycle while turning at random. The complete mechanism is covered in Defenses.