.shareshell
In a multicellular organism, the percentage of the shell pooled with each partner that you want to keep (1 to 99).
Facts
- Address
- 832
- Name
.shareshell- 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 shell 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 99 (100 or more counts as 99); 0 or negative does nothing
- Mutations
- picked as a store target
It works like .sharenrg, but with the shell (.shell): for each tie, the engine adds your shell and your partner's and leaves you the percentage you asked for. That way an organism can make shell in a single cell and share it out, or concentrate it in the cells on the edge.
The conditions are the same: only if you are multicellular (.multi), only through the ties you created yourself with .tie, and the engine clears the order every cycle. The value is clipped to 0…99 (100 counts as 99) and a 0 does nothing. There is no cap per cycle and no fee. The new .shell of both bots is published right away.
' share the shell evenly with the partners
cond
*.multi 1 =
start
50 .shareshell store
stop