예제 #1
0
 public static ShipSchema LargeShip(string name)
 {
     return(new ShipSchema()
     {
         Name = name,
         Reactors = new List <ReactorSchema> {
             Reactors.BigReactor(), Reactors.BigReactor()
         },
         Shields = Shields.SurroundWithBigShields(4),
         Weapons = new List <WeaponSchema>()
         {
             new WeaponSchema()
             {
                 WeaponType = WeaponType.PHASER,
                 Name = "Ph1",
                 MaxHealth = 150,
                 Mass = 1,
                 UpkeepCost = 10,
                 Power = 200,
                 Range = 500
             },
             new WeaponSchema()
             {
                 WeaponType = WeaponType.PHASER,
                 Name = "Ph2",
                 MaxHealth = 150,
                 Mass = 1,
                 UpkeepCost = 10,
                 Power = 200,
                 Range = 500
             },
             new WeaponSchema()
             {
                 WeaponType = WeaponType.PHASER,
                 Name = "Ph3",
                 MaxHealth = 150,
                 Mass = 1,
                 UpkeepCost = 10,
                 Power = 200,
                 Range = 500
             }
         },
         Engines = new List <EngineSchema>()
         {
             Engines.MainSail()
         },
         CrewDecks = new List <CrewDeckSchema>()
         {
             CrewDecks.Bridge(),
             CrewDecks.EngineeringDeck(),
             CrewDecks.MilitaryDeck(10),
         }
     });
 }