DarwinBotsManual
Open the app EspañolES

.pwaste

Permanent waste: a remainder left every time the bot dumps waste, which can no longer be eliminated.

Facts

Address
829
Name
.pwaste
Kind
Sense: the engine writes it for the DNA to read
Group
Body, energy and state
Written by
The engine, in the actions phase. You read it in the next cycle.
Cleared
No: the engine rewrites it every cycle, and it never goes down except on reproduction.
Range
0 to 32000.
Mutations
picked as a read (*)

Every time the bot gets rid of its waste (.waste), a small part doesn't leave and stays as permanent waste: 1% of what it dumps with a −4 shot, a fraction of what it expels on its own when it goes past 32000, and a little more of what passes through ties. That remainder accumulates in .pwaste, capped at 32000.

There is no way to lower it: neither shots nor chloroplasts touch it. The only thing that splits it up is reproduction, because the child takes its percentage (see .repro).

The problem is that it counts toward toxicity: the bot starts suffering random writes to its memory when .waste plus .pwaste go past the limit set by the option Waste is toxic from (400 if you haven't changed it). A long-lived bot that dumps a lot of waste ends up near the threshold just from this remainder, and then any new waste pushes it over. It is a form of aging: reproducing in time dilutes it.

' If permanent waste is already high, reproduce to split it up
cond
 *.pwaste 200 >
start
 50 .repro store
stop