DarwinBotsManual
Open the app EspañolES

.rmchlr

Sheds that amount of chloroplasts in the same cycle, at no cost and recovering nothing.

Facts

Address
922
Name
.rmchlr
Kind
Command: the bot writes it and the engine reads it and usually consumes it
Group
Chloroplasts and light
Written by
Your DNA.
Read by
The engine, in the actions phase of the same cycle: removes those chloroplasts, without charging or refunding any energy.
Cleared
The engine, after using it. A negative value does nothing and stays written, unless .mkchlr is used that cycle.
Range
−32000 to 32000; only positive values count.
Mutations
picked as a store target

Write how many chloroplasts you want to remove and the engine removes them in the same cycle. It costs no energy, but it doesn't give any back either: what you paid with .mkchlr is lost. If you ask to remove more than there are, they drop to 0. The order is cleared after it is used. A negative value does nothing and stays written in the cell.

It is useful for lightening the bot (chloroplasts are heavy, see .mass) or for ceasing to be a vegetable, for example before making a virus, which requires having none:

' It removes all its chloroplasts
cond
 *.chlr 0 >
start
 *.chlr .rmchlr store
stop

If in the same cycle you also buy with .mkchlr, both apply and only the net increase is charged.