Games::Lacuna::Task::Role::Waste - Waste helper methods
package Games::Lacuna::Task::Action::MyTask; use Moose; extends qw(Games::Lacuna::Task::Action); with qw(Games::Lacuna::Task::Role::Waste);
This role provides helper method to work with waste diposal
my $quantity = $self->disposeable_waste($planet_stats);
Returns the amout of waste that is available for disposal
$self->convert_waste($planet_stats,$quantity);
Produces the requested amout of waste by dumping resources from storage
To install Games::Lacuna::Task, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Lacuna::Task
CPAN shell
perl -MCPAN -e shell install Games::Lacuna::Task
For more information on module installation, please visit the detailed CPAN module installation guide.