DarwinBotsManual
Open the app EspañolES

.sharenrg

In a multicellular organism, the percentage of the energy pooled with each partner that you want to keep; the engine splits it in the same cycle.

Facts

Address
830
Name
.sharenrg
Kind
Command: the bot writes it and the engine reads it and usually consumes it
Group
Ties
Written by
Your DNA.
Read by
The engine, in the movement phase: for every tie you created, it leaves you that percentage of the energy pooled with the partner. Only if you are multicellular.
Cleared
The engine, every cycle, whether you use it or not.
Range
−32000 to 32000; counts from 1 to 100 (the remainder of dividing by 100; a multiple of 100 counts as 100); 0 or negative does nothing
Mutations
picked as a store target

Write a percentage from 1 to 100. For each tie, the engine adds your energy and your partner's and leaves you that percentage of the total; the rest stays with the partner. With 50 both end up even, with 90 you keep almost everything, with 10 you give it away.

Conditions and limits:

The engine clears the order every cycle, so you always have to write it. It is one of the most used cells in the Bestiary: many multicellular bots write 99 or 50 every cycle.

' newborn: tie to the parent and, once multicellular, share evenly
cond
*.robage 1 =
start
7 .tie store
stop

cond
*.multi 1 =
start
50 .sharenrg store
stop

.sharewaste, .shareshell, .shareslime and .sharechlr do the same for waste, shell, slime and chloroplasts, respectively.