// Carrie Hazelton
// Lab #6, CS371

// This file is used to initialize the Galactic game scenario

public class GScenario extends scenario {

static int GetLoyalty(String S)
{
return 0;
}

static int GetRandomMarkers(int i)
{
return 0;
}

public GScenario()
{
String S;

// The first segment is for declaring the game type and its conditions

//       GameType(G = galaxy)  Scenario(R = start rebellion)  Game Turns  VPs
GameType = 'G';
ScenarioType = 'R';
MaxGameTurns = 20;
VictoryPointsNeeded = 26;


// The second segment is Planets.  Galactic game uses all of the Planets

//  NumPlanetsUsed  Allegiance(I = Imperial)  Loyalty  PDB  

//  PDBState('+': up, '-': down)  PlanetSecretMarkers

// fix/rethink this:
// new Planets(51, 'I', GetLoyalty(S), 0, '-', GetRandomMarkers(16));




// The third segment is Characters. One character is entered per line.
// otherwise the character starts from space. The syntax is

// Rebel characters, R denotes rebel, I denotes imperial

// Allegiance  Name  EnvironName  EnvironNumber  RebelCharacters  Possessions 

new character('R', "Boccanegra", "", 0, "Planetary Privateer");
new character('R', "Ly Mantok", "", 0, "The Explorer");
new character('R', "Kogus", "", 0, "Star Cruiser");              
new character('R', "Zina Adora",  "Star Cruiser");           
new character('R', "Rayner Derban", "", 0, "Star Cruiser");
new character('R', "Tourag", "", 0, "Solar Merchant");

new character('I', "Emperor Coreguya", "Orlog", 162, "");
new character('I', "Thysa Kymbo", "Orlog", 162, "");
new character('I', "Senator Dermond", "Diomas", 152, "");
new character('I', "Jon Kidu", "Chim", 311, "");
new character('I', "Gelba", "Trov", 542, "");
new character('I', "Barca", "", 0, "");              // "" and 0 denote unknown/none
new character('I', "Redjac", "", 0, "SpaceShip");
new character('I', "Jin Voles", "", 0, "SpaceShip");
new character('I', "Vans Ka-tie-a", "", 0, "SpaceShip");
new character('I', "Els Taroff", "", 0, "SpaceShip");




// The fourth segment is used to place units.
// Enter one unit per line as follows.
// Allegiance, UnitType, EnvironCombatStrength,
// SpaceCombatStrength,Mobil = 1 or Not Mobil = 0,
// numbers instead of unit types indicate #'s of force points to allocate

// Units (I = Imperial)

new Unit('I', "Line", 3, 2, 1);
new Unit('I', "Patrol", 1, 2, 1);
new Unit('I', "Patrol", 1, 2, 1);
new Unit('I', "Militia", 1, 0, 0);
new Unit('I', "Militia", 1, 0, 0);

}
}
