Difference between revisions of "MB Sharing"
Line 6: | Line 6: | ||
Share commands Command Effect | Share commands Command Effect | ||
− | *sharenrg - This lets bot share energy. There is no need to address a specific tie reference number. The number stored in here becomes the percentage of total energy that I receive. | + | *sharenrg - This lets bot share [[energy]]. There is no need to address a specific tie reference number. The number stored in here becomes the percentage of total energy that I receive. |
− | *sharewaste - This lets bot share | + | *sharewaste - This lets bot share [[Waste]]. |
*shareshell - This lets bot share shell. Individual bots within multibots are allowed to have twice as much shell as singlebots. | *shareshell - This lets bot share shell. Individual bots within multibots are allowed to have twice as much shell as singlebots. | ||
*shareslime - This lets bot share slime. Individual bots within multibots are allowed to have twice as much shell as singlebots. | *shareslime - This lets bot share slime. Individual bots within multibots are allowed to have twice as much shell as singlebots. | ||
Line 16: | Line 16: | ||
Suppose there are two bots connected by a tie. First bot has 40 waste (or any other shared material) and the second one has 60. If first bot executes command | Suppose there are two bots connected by a tie. First bot has 40 waste (or any other shared material) and the second one has 60. If first bot executes command | ||
− | 10 .sharewaste store | + | *10 .sharewaste store |
− | + | ||
+ | Then the total amount of waste (100) will be redistributed so that the first bot receives 10% of that total. The final outcome is that the first bot will have 10 waste and the second bot will have 90 waste. | ||
Uses | Uses | ||
A useful way to use these with combat bots is shown below. | A useful way to use these with combat bots is shown below. | ||
− | cond | + | cond |
− | + | <nowiki>*</nowiki>.multi 1 = | |
− | <nowiki>*</nowiki>.multi 1 = | + | start |
− | + | 99 .sharenrg store | |
− | start | + | .sharewaste inc |
− | + | stop | |
− | 99 .sharenrg store | ||
− | |||
− | .sharewaste inc | ||
− | |||
− | stop | ||
In this gene 99% of the total energy is taken by a bot. This is useful to feed in case a bot accidently becomes a MB while tie feeding. | In this gene 99% of the total energy is taken by a bot. This is useful to feed in case a bot accidently becomes a MB while tie feeding. | ||
The code ".sharewaste inc" forces the enemy to take 99% of the attacker's [[waste]]. Useful to dump waste without having to shoot it away, also plants will convert this waste to energy allowing the bot to recoup some energy. | The code ".sharewaste inc" forces the enemy to take 99% of the attacker's [[waste]]. Useful to dump waste without having to shoot it away, also plants will convert this waste to energy allowing the bot to recoup some energy. |
Revision as of 19:07, 20 September 2005
Share commands
A bot can share things with another bot if they are connected through tie. There are DNA commands that allow sharing of energy, slime, shell, and waste.
Share commands Command Effect
- sharenrg - This lets bot share energy. There is no need to address a specific tie reference number. The number stored in here becomes the percentage of total energy that I receive.
- sharewaste - This lets bot share Waste.
- shareshell - This lets bot share shell. Individual bots within multibots are allowed to have twice as much shell as singlebots.
- shareslime - This lets bot share slime. Individual bots within multibots are allowed to have twice as much shell as singlebots.
Example
Suppose there are two bots connected by a tie. First bot has 40 waste (or any other shared material) and the second one has 60. If first bot executes command
- 10 .sharewaste store
Then the total amount of waste (100) will be redistributed so that the first bot receives 10% of that total. The final outcome is that the first bot will have 10 waste and the second bot will have 90 waste. Uses
A useful way to use these with combat bots is shown below.
cond *.multi 1 = start 99 .sharenrg store .sharewaste inc stop
In this gene 99% of the total energy is taken by a bot. This is useful to feed in case a bot accidently becomes a MB while tie feeding.
The code ".sharewaste inc" forces the enemy to take 99% of the attacker's waste. Useful to dump waste without having to shoot it away, also plants will convert this waste to energy allowing the bot to recoup some energy.