Permalink
Browse files

Added Sweeper attack ship.

  • Loading branch information...
1 parent 9d5ea44 commit 357a0885eb0ca53b3c8859e71110b91cf8336570 JT Smith committed Dec 19, 2010
View
@@ -1,8 +1,8 @@
create ship class
update Lacuna::DB::Result::Ships to add new ship type
-create a ship image and upload it
-create a ship medal and upload it
update Lacuna::DB::Result::Medals
+update Lacuna::Constant SHIP_TYPES
update var/www/public/resources.json with new ship info
add ship to wiki
-update Lacuna::Constant SHIP_TYPES
+create a ship image and upload it
+create a ship medal and upload it
@@ -61,6 +61,7 @@ __PACKAGE__->typecast_map(type => {
'spy_shuttle' => 'Lacuna::DB::Result::Ships::SpyShuttle',
'drone' => 'Lacuna::DB::Result::Ships::Drone',
'fighter' => 'Lacuna::DB::Result::Ships::Fighter',
+ 'sweeper' => 'Lacuna::DB::Result::Ships::Sweeper',
'bleeder' => 'Lacuna::DB::Result::Ships::Bleeder',
'observatory_seeker' => 'Lacuna::DB::Result::Ships::ObservatorySeeker',
'spaceport_seeker' => 'Lacuna::DB::Result::Ships::SpacePortSeeker',
@@ -10,7 +10,7 @@ use constant base_food_cost => 1000;
use constant base_water_cost => 2600;
use constant base_energy_cost => 16200;
use constant base_ore_cost => 14200;
-use constant base_time_cost => 14600;
+use constant base_time_cost => 60 * 60 * 4;
use constant base_waste_cost => 4200;
use constant base_combat => 4000;
use constant base_speed => 2000;
@@ -10,7 +10,7 @@ use constant base_food_cost => 18000;
use constant base_water_cost => 46800;
use constant base_energy_cost => 145000;
use constant base_ore_cost => 195030;
-use constant base_time_cost => 58400;
+use constant base_time_cost => 60 * 60 * 16;
use constant base_waste_cost => 39600;
use constant base_speed => 1000;
use constant base_stealth => 2400;
@@ -0,0 +1,28 @@
+package Lacuna::DB::Result::Ships::Sweeper;
+
+use Moose;
+use utf8;
+no warnings qw(uninitialized);
+extends 'Lacuna::DB::Result::Ships';
+
+use constant prereq => { class=> 'Lacuna::DB::Result::Building::MunitionsLab', level => 16 };
+use constant base_food_cost => 5000;
+use constant base_water_cost => 12000;
+use constant base_energy_cost => 70000;
+use constant base_ore_cost => 75000;
+use constant base_time_cost => 60 * 60 * 7;
+use constant base_waste_cost => 20000;
+use constant base_combat => 8500;
+use constant base_speed => 3000;
+use constant base_stealth => 2800;
+use constant pilotable => 1;
+use constant build_tags => ['War'];
+
+with "Lacuna::Role::Ship::Send::Planet";
+with "Lacuna::Role::Ship::Send::Inhabited";
+with "Lacuna::Role::Ship::Send::NotIsolationist";
+with "Lacuna::Role::Ship::Arrive::TriggerDefense";
+
+
+no Moose;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
@@ -31,6 +31,7 @@
- Added Placebo 1 thru 6, which are used to fake an attack.
- Added Bleeder attack ship.
- Added Surveyor reconnaissance ship.
+ - Added Sweeper attack ship.
2.3902
- Halls of Vrbansk now also returns building URL.
@@ -119,7 +119,7 @@
"/wheat" : { "description" : "Allows you to grow wheat on your planet. You can only grow wheat on planets that are in orbits 2, 3 or 4 (the goldilox zone). The Farm will produce more wheat for each level it is increased. All plants need a source of phosphorus to photosynthesize their food. Therefore you need a good source of gypsum, sulfur, or monazite for plants to thrive.", "wiki" : "http://community.lacunaexpanse.com/wiki/wheat-farm" }
},
"ships" : {
- "placebo" : { "description" : "Use to fake an attack on another player. When it arrives it just harmlessly falls dead.", "wiki" : "http://community.lacunaexpanse.com/wiki/placebo" },
+ "placebo" : { "description" : "Use to fake an attack on another player.", "wiki" : "http://community.lacunaexpanse.com/wiki/placebo" },
"placebo2" : { "description" : "A faster and more stealthed version of the Placebo.", "wiki" : "http://community.lacunaexpanse.com/wiki/placebo" },
"placebo3" : { "description" : "A faster and more stealthed version of the Placebo II.", "wiki" : "http://community.lacunaexpanse.com/wiki/placebo" },
"placebo4" : { "description" : "A faster and more stealthed version of the Placebo III.", "wiki" : "http://community.lacunaexpanse.com/wiki/placebo" },

0 comments on commit 357a088

Please sign in to comment.