<?
/////// fichier de définition des variables défense/composants de l'univers
$univers = 3;

if( !defined('CONFIG_UNIVERS') ) {

define( 'CONFIG_UNIVERS', true );

switch($univers) {

	case 1:
	case 2:

	$DEF_COMBAT_NOM		=		"Tourelle de combat";
	$DEF_COMBAT_ARME		=		3;
	$DEF_COMBAT_BOUCLIER		=		0;
	$DEF_COMBAT_COQUE		=		4;
	$DEF_COMBAT_FER         =       2500;
	$DEF_COMBAT_OR          =       0;
	$DEF_COMBAT_CRYSTAL    =       0;

	$DEF_LASERSIM_NOM		=		"Tourelle laser simple";
	$DEF_LASERSIM_ARME		=		8;
	$DEF_LASERSIM_BOUCLIER	=		0;
	$DEF_LASERSIM_COQUE		=		8;
	$DEF_LASERSIM_FER       =       2500;
	$DEF_LASERSIM_OR        =       500;
	$DEF_LASERSIM_CRYSTAL  =       0;

	$DEF_LASERDOU_NOM		=		"Tourelle laser double";
	$DEF_LASERDOU_ARME		=		15;
	$DEF_LASERDOU_BOUCLIER	=		0;
	$DEF_LASERDOU_COQUE		=		10;
	$DEF_LASERDOU_FER       =       3000;
	$DEF_LASERDOU_OR        =       300;
	$DEF_LASERDOU_CRYSTAL  =       0;

	$DEF_ELEC_NOM			=		"Rayon tracteur";
	$DEF_ELEC_ARME		=		25;
	$DEF_ELEC_BOUCLIER		=		0;
	$DEF_ELEC_COQUE		=		20;
	$DEF_ELEC_FER         =       20000;
	$DEF_ELEC_OR          =       2000;
	$DEF_ELEC_CRYSTAL    =       1000;

	$DEF_IONS_NOM			=		"Mini satellite à ions";
	$DEF_IONS_ARME		=		35;
	$DEF_IONS_BOUCLIER		=		0;
	$DEF_IONS_COQUE		=		30;
	$DEF_IONS_FER         =       30000;
	$DEF_IONS_OR          =       10000;
	$DEF_IONS_CRYSTAL    =       2000;

	$DEF_PLASMA_NOM		=		"Tour à plasma";
	$DEF_PLASMA_ARME		=		60;
	$DEF_PLASMA_BOUCLIER		=		0;
	$DEF_PLASMA_COQUE		=		45;
	$DEF_PLASMA_FER         =       50000;
	$DEF_PLASMA_OR          =       20000;
	$DEF_PLASMA_CRYSTAL    =       10;

	$DEF_NAQUA_NOM		=		"Tourelle de Naquadah";
	$DEF_NAQUA_ARME		=		100;
	$DEF_NAQUA_BOUCLIER		=		0;
	$DEF_NAQUA_COQUE		=		70;
	$DEF_NAQUA_FER         =       100000;
	$DEF_NAQUA_OR          =       50000;
	$DEF_NAQUA_CRYSTAL    =       25000;

	$DEF_ANCIENS_NOM		=		"Satellite des Anciens";
	$DEF_ANCIENS_ARME		=		200;
	$DEF_ANCIENS_BOUCLIER	=		0;
	$DEF_ANCIENS_COQUE		=		200;
	$DEF_ANCIENS_FER         =       250000;
	$DEF_ANCIENS_OR          =       200000;
	$DEF_ANCIENS_CRYSTAL    =       100000;

	define( 'LISTE_DEF'				,		serialize(array(
		'DEF_COMBAT',
		'DEF_LASERSIM',
		'DEF_LASERDOU',
		'DEF_ELEC',
		'DEF_IONS',
		'DEF_PLASMA',
		'DEF_NAQUA',
		'DEF_ANCIENS'
	)) );
	define( 'LISTE_DEF_SQL'			,		serialize(array(
		'defcombat',
		'deflasersimple',
		'deflaserdouble',
		'defelec',
		'defions',
		'defplasma',
		'defnaqua',
		'defanciens'
	)) );


	$INFRA_X301_PREREQ				=		serialize(array(
		'chantier_lvl',
		false,
		1,
		'techinfra_lvl',
		true,
		1
	));
	$INFRA_TELTAK_PREREQ			=		serialize(array(
		'chantier_lvl',
		false,
		2,
		'techinfra_lvl',
		true,
		2
	));
	$INFRA_BEDRO_PREREQ				=		serialize(array(
		'chantier_lvl',
		false,
		4,
		'techinfra_lvl',
		true,
		4
	));
	$INFRA_PROMETHE_PREREQ			=		serialize(array(
		'chantier_lvl',
		false,
		5,
		'techinfra_lvl',
		true,
		5
	));
	$INFRA_AMIRAL_PREREQ			=		serialize(array(
		'chantier_lvl',
		false,
		7,
		'techinfra_lvl',
		true,
		7
	));
	$INFRA_MERE_PREREQ				=		serialize(array(
		'chantier_lvl',
		false,
		10,
		'techinfra_lvl',
		true,
		10
	));


	$INFRA_X301_PLACE				=		200;
	$INFRA_TELTAK_PLACE				=		500;
	$INFRA_BEDRO_PLACE				=		1000;
	$INFRA_PROMETHE_PLACE			=		5000;
	$INFRA_AMIRAL_PLACE				=		15000;
	$INFRA_MERE_PLACE				=		50000;

	$INFRA_X301_EQUIPAGE			=		2;
	$INFRA_TELTAK_EQUIPAGE			=		50;
	$INFRA_BEDRO_EQUIPAGE			=		100;
	$INFRA_PROMETHE_EQUIPAGE		=		500;
	$INFRA_AMIRAL_EQUIPAGE			=		1000;
	$INFRA_MERE_EQUIPAGE			=		2500;

	$INFRA_X301_NOM					=		"X-301";
	$INFRA_TELTAK_NOM				=		"Cargo Teltak";
	$INFRA_BEDRO_NOM				=		"Navette Bedrosienne";
	$INFRA_PROMETHE_NOM				=		"Prométhé";
	$INFRA_AMIRAL_NOM				=		"Vaisseau Amiral Goa'uld";
	$INFRA_MERE_NOM					=		"Vaisseau mère Asgaard";

	$INFRA_X301_AD					=		"du";
	$INFRA_TELTAK_AD				=		"du";
	$INFRA_BEDRO_AD					=		"de";
	$INFRA_PROMETHE_AD				=		"du";
	$INFRA_AMIRAL_AD				=		"du";
	$INFRA_MERE_AD					=		"du";


	$LISTE_INFRA					=		serialize(array(
		'X301',
		'TELTAK',
		'BEDRO',
		'PROMETHE',
		'AMIRAL',
		'MERE'
	));
	$LISTE_INFRA_LVL				=		serialize(array(
		'',
		'X301',
		'TELTAK',
		'',
		'BEDRO',
		'PROMETHE',
		'',
		'AMIRAL',
		'',
		'',
		'MERE'
	));


	break;
	case 3:
	case 4:
	case 5:

	$DEF_COMBAT_NOM		=		"Tourelle de combat";
	$DEF_COMBAT_ARME		=		4;
	$DEF_COMBAT_BOUCLIER		=		0;
	$DEF_COMBAT_COQUE		=		3;
	$DEF_COMBAT_FER         =       500;
	$DEF_COMBAT_OR          =       0;
	$DEF_COMBAT_CRYSTAL    =       0;

	$DEF_LASERSIM_NOM		=		"Tourelle laser simple";
	$DEF_LASERSIM_ARME		=		10;
	$DEF_LASERSIM_BOUCLIER	=		0;
	$DEF_LASERSIM_COQUE		=		5;
	$DEF_LASERSIM_FER       =       1200;
	$DEF_LASERSIM_OR        =       500;
	$DEF_LASERSIM_CRYSTAL  =       80;

	$DEF_LASERDOU_NOM		=		"Tourelle laser double";
	$DEF_LASERDOU_ARME		=		30;
	$DEF_LASERDOU_BOUCLIER	=		0;
	$DEF_LASERDOU_COQUE		=		20;
	$DEF_LASERDOU_FER       =       3000;
	$DEF_LASERDOU_OR        =       1500;
	$DEF_LASERDOU_CRYSTAL  =       240;

	$DEF_ELEC_NOM			=		"Rayon tracteur";
	$DEF_ELEC_ARME		=		1000;
	$DEF_ELEC_BOUCLIER		=		0;
	$DEF_ELEC_COQUE		=		100;
	$DEF_ELEC_FER         =       5000;
	$DEF_ELEC_OR          =       2500;
	$DEF_ELEC_CRYSTAL    =       3000;

	$DEF_IONS_NOM			=		"Mini satellite à ions";
	$DEF_IONS_ARME		=		30000;
	$DEF_IONS_BOUCLIER		=		0;
	$DEF_IONS_COQUE		=		10000;
	$DEF_IONS_FER         =       500000;
	$DEF_IONS_OR          =       2000000;
	$DEF_IONS_CRYSTAL    =       1000000;

	$DEF_PLASMA_NOM		=		"Tour à plasma";
	$DEF_PLASMA_ARME		=		55000;
	$DEF_PLASMA_BOUCLIER		=		0;
	$DEF_PLASMA_COQUE		=		55000;
	$DEF_PLASMA_FER         =       3000000;
	$DEF_PLASMA_OR          =       2000000;
	$DEF_PLASMA_CRYSTAL    =       4000000;

	$DEF_NAQUA_NOM		=		"Tourelle de Naquadah";
	$DEF_NAQUA_ARME		=		75000;
	$DEF_NAQUA_BOUCLIER		=		0;
	$DEF_NAQUA_COQUE		=		60000;
	$DEF_NAQUA_FER         =       1500000;
	$DEF_NAQUA_OR          =       10000000;
	$DEF_NAQUA_CRYSTAL    =       2500000;

	$DEF_ANCIENS_NOM		=		"Satellite des Anciens";
	$DEF_ANCIENS_ARME		=		110000;
	$DEF_ANCIENS_BOUCLIER	=		0;
	$DEF_ANCIENS_COQUE		=		100000;
	$DEF_ANCIENS_FER         =       6000000;
	$DEF_ANCIENS_OR          =       6500000;
	$DEF_ANCIENS_CRYSTAL    =       4000000;

	define( 'LISTE_DEF'				,		serialize(array(
		'DEF_COMBAT',
		'DEF_LASERSIM',
		'DEF_LASERDOU',
		'DEF_ELEC',
		'DEF_IONS',
		'DEF_PLASMA',
		'DEF_NAQUA',
		'DEF_ANCIENS'
	)) );
	define( 'LISTE_DEF_SQL'			,		serialize(array(
		'defcombat',
		'deflasersimple',
		'deflaserdouble',
		'defelec',
		'defions',
		'defplasma',
		'defnaqua',
		'defanciens'
	)) );


	$INFRA_X301_PREREQ				=		serialize(array(
		'chantier_lvl',
		false,
		1,
		'techinfra_lvl',
		true,
		1
	));
	$INFRA_TELTAK_PREREQ			=		serialize(array(
		'chantier_lvl',
		false,
		2,
		'techinfra_lvl',
		true,
		2
	));
	$INFRA_BEDRO_PREREQ				=		serialize(array(
		'chantier_lvl',
		false,
		4,
		'techinfra_lvl',
		true,
		4
	));
	$INFRA_PROMETHE_PREREQ			=		serialize(array(
		'chantier_lvl',
		false,
		5,
		'techinfra_lvl',
		true,
		5
	));
	$INFRA_AMIRAL_PREREQ			=		serialize(array(
		'chantier_lvl',
		false,
		7,
		'techinfra_lvl',
		true,
		7
	));
	$INFRA_MERE_PREREQ				=		serialize(array(
		'chantier_lvl',
		false,
		10,
		'techinfra_lvl',
		true,
		10
	));


	$INFRA_X301_PLACE				=		400;
	$INFRA_TELTAK_PLACE				=		9000;
	$INFRA_BEDRO_PLACE				=		15000;
	$INFRA_PROMETHE_PLACE			=		25000;
	$INFRA_AMIRAL_PLACE				=		75000;
	$INFRA_MERE_PLACE				=		150000;

	$INFRA_X301_EQUIPAGE			=		2;
	$INFRA_TELTAK_EQUIPAGE			=		50;
	$INFRA_BEDRO_EQUIPAGE			=		100;
	$INFRA_PROMETHE_EQUIPAGE		=		500;
	$INFRA_AMIRAL_EQUIPAGE			=		1000;
	$INFRA_MERE_EQUIPAGE			=		2500;

	$INFRA_X301_NOM					=		"X-301";
	$INFRA_TELTAK_NOM				=		"Cargo Teltak";
	$INFRA_BEDRO_NOM				=		"Navette Bedrosienne";
	$INFRA_PROMETHE_NOM				=		"Prométhé";
	$INFRA_AMIRAL_NOM				=		"Vaisseau Amiral Goa'uld";
	$INFRA_MERE_NOM					=		"Vaisseau mère Asgaard";

	$INFRA_X301_AD					=		"du";
	$INFRA_TELTAK_AD				=		"du";
	$INFRA_BEDRO_AD					=		"de";
	$INFRA_PROMETHE_AD				=		"du";
	$INFRA_AMIRAL_AD				=		"du";
	$INFRA_MERE_AD					=		"du";


	$LISTE_INFRA					=		serialize(array(
		'X301',
		'TELTAK',
		'BEDRO',
		'PROMETHE',
		'AMIRAL',
		'MERE'
	));

	$LISTE_INFRA_LVL				=		serialize(array(
		'',
		'X301',
		'TELTAK',
		'',
		'BEDRO',
		'PROMETHE',
		'',
		'AMIRAL',
		'',
		'',
		'MERE'
	));

	break;

}

}


?>