Something went wrong. Try again.
Perl game server for TLE Community
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334package Lacuna::DB::Result::Building::Permanent::NaturalSpring;
use Moose;use utf8;no warnings qw(uninitialized);extends 'Lacuna::DB::Result::Building::Permanent';
with "Lacuna::Role::Building::UpgradeWithHalls";with "Lacuna::Role::Building::CantBuildWithoutPlan";
use constant controller_class => 'Lacuna::RPC::Building::NaturalSpring';
use constant image => 'naturalspring';
sub image_level { my ($self) = @_; return $self->image.'1';}
after finish_upgrade => sub { my $self = shift; $self->body->add_news(30, 'Worries of drought ended today as a natural spring bubbled to the surface of %s today.', $self->body->name);};
use constant name => 'Natural Spring';use constant water_production => 4000;
use constant time_to_build => 0;use constant max_instances_per_planet => 1;
no Moose;__PACKAGE__->meta->make_immutable(inline_constructor => 0);