DarwinBotsManual
Open the app EspañolES

.sharechlr

In a multicellular organism, shares chloroplasts with each tied bot: the number is the percentage of the total that this bot keeps.

Facts

Address
924
Name
.sharechlr
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 movement phase of the same cycle, only in a multicellular organism: shares through every tie this bot created.
Cleared
The engine, every cycle in the movement phase, in all bots.
Range
−32000 to 32000; only 1 to 99 count (more than 99 counts as 99).
Mutations
picked as a store target

It only works in a multicellular organism, that is, a bot that has already stiffened at least one tie (see Ties and multicellular bots). For each tie this bot created, the engine adds up its chloroplasts and the other bot's and splits them again: the value of .sharechlr is the percentage of the total that this bot keeps, and the rest goes to the other. 50 .sharechlr store evens them out; 20 .sharechlr store hands the other bot most of them.

Details worth knowing:

' Splits chloroplasts evenly with the neighboring cells
cond
 *.chlr 0 >
start
 50 .sharechlr store
stop

The other sharing orders work in a similar way: .sharenrg, .sharewaste, .shareshell and .shareslime.