Use with care.
This will find any planets with waste over a certain threshold and positive waste generation, and automatically recycle a certain amount of their waste. One day I'll make it a daemon, but for now you can cron it.
By default the threshold is 50% of waste capacity, and it will recycle 50% of the waste. It'll split them among the recyclers it finds on the planet, and it'll weight the recycle according to your storage. So if you're full on ore, but low on energy, it will make more energy than ore.
Negative waste planets will still be recycled, but at a much higher threshold (90%), and it'll only recycle 10%, just to keep a bit of room for building/ emergencies/I dunno.
Now you can delete the didyoureadthedocumentation flag ....
Jai Cornes, <solitaire@tygger.net>
Copyright (C) 2010 by Jai Cornes
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Games::Lacuna::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Lacuna::Client
CPAN shell
perl -MCPAN -e shell install Games::Lacuna::Client
For more information on module installation, please visit the detailed CPAN module installation guide.