Fixed minor bugs
Updated redesign Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
fa9fa5d3a5
commit
4b2167c133
67 changed files with 323 additions and 1044 deletions
|
|
@ -205,11 +205,10 @@ class Legacies_Empire_Model_Planet_Building_Shipyard_Builder
|
|||
$prices = Wootook_Empire_Helper_Config_Prices::getSingleton();
|
||||
|
||||
Math::setPrecision(50);
|
||||
$buildingTime = Math::mul($prices[$shipId][Legacies_Empire::BASE_BUILDING_TIME], $qty);
|
||||
|
||||
$speedFactor = Wootook::getGameConfig('game/speed/ships') / 1000;
|
||||
$baseTime = ($buildingTime / 5000) * 3600 / $speedFactor / $this->getSpeedEnhancement();
|
||||
$buildingTime = Math::mul($prices[$shipId][Legacies_Empire::BASE_BUILDING_TIME], intval($qty));
|
||||
|
||||
$speedFactor = Wootook::getGameConfig('game/speed/general') / 1000;
|
||||
$baseTime = Math::mul(Math::div($buildingTime, 5000), Math::mul($speedFactor, $this->getSpeedEnhancement()));
|
||||
Math::setPrecision();
|
||||
|
||||
$event = Wootook::dispatchEvent('planet.shipyard.building-time', array(
|
||||
|
|
|
|||
|
|
@ -344,6 +344,8 @@ CREATE TABLE IF NOT EXISTS {$this->getTableName('planets')} (
|
|||
`destructor` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`dearth_star` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`battleship` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`supernova` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`ore_miner` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`misil_launcher` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`small_laser` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
`big_laser` DECIMAL(65,0) NOT NULL DEFAULT 0,
|
||||
|
|
@ -479,6 +481,7 @@ CREATE TABLE IF NOT EXISTS {$this->getTableName('users')} (
|
|||
`intergalactic_tech` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`expedition_tech` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`graviton_tech` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`ore_mining_tech` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`ally_id` BIGINT UNSIGNED NOT NULL,
|
||||
`ally_name` VARCHAR(32) NULL, -- FIXME
|
||||
`ally_request` BOOL NOT NULL DEFAULT FALSE, -- FIXME
|
||||
|
|
@ -486,25 +489,9 @@ CREATE TABLE IF NOT EXISTS {$this->getTableName('users')} (
|
|||
`ally_register_time` TIMESTAMP NOT NULL, -- FIXME
|
||||
`ally_rank_id` BIGINT UNSIGNED NOT NULL, -- FIXME
|
||||
`current_luna` INT NOT NULL, -- FIXME
|
||||
`kolorminus` VARCHAR(11) NOT NULL DEFAULT 'red',
|
||||
`kolorplus` VARCHAR(11) NOT NULL DEFAULT '#00FF00',
|
||||
`kolorpoziom` VARCHAR(11) NOT NULL DEFAULT 'yellow',
|
||||
`rpg_geologue` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_amiral` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_ingenieur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_technocrate` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_espion` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_constructeur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_scientifique` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_commandant` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_points` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_stockeur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_defenseur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_destructeur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_general` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_bunker` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_raideur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`rpg_empereur` TINYINT UNSIGNED NOT NULL, -- FIXME
|
||||
`kolorminus` VARCHAR(11) NOT NULL DEFAULT 'red',
|
||||
`kolorplus` VARCHAR(11) NOT NULL DEFAULT '#00FF00',
|
||||
`kolorpoziom` VARCHAR(11) NOT NULL DEFAULT 'yellow',
|
||||
`lvl_minier` BIGINT UNSIGNED NOT NULL, -- FIXME
|
||||
`lvl_raid` BIGINT UNSIGNED NOT NULL, -- FIXME
|
||||
`xpraid` BIGINT UNSIGNED NOT NULL, -- FIXME
|
||||
|
|
|
|||
|
|
@ -1,70 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* This file is part of Wootook
|
||||
*
|
||||
* @license http://www.gnu.org/licenses/agpl-3.0.txt
|
||||
* @see http://wootook.org/
|
||||
*
|
||||
* Copyright (c) 2011-Present, Grégory PLANCHAT <g.planchat@gmail.com>
|
||||
* All rights reserved.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --> NOTICE <--
|
||||
* This file is part of the core development branch, changing its contents will
|
||||
* make you unable to use the automatic updates manager. Please refer to the
|
||||
* documentation for further information about customizing Wootook.
|
||||
*
|
||||
*/
|
||||
/**
|
||||
*
|
||||
* Enter description here ...
|
||||
* @author Greg
|
||||
*
|
||||
*/
|
||||
class Legacies_Officers_Model_Observer
|
||||
{
|
||||
public static function planetUpdateListener($eventData)
|
||||
{
|
||||
if (isset($eventData['planet'])) {
|
||||
$planet = $eventData['planet'];
|
||||
|
||||
$player = $planet->getPlayer();
|
||||
|
||||
$level = floor(sqrt($player->getData('xpminier') / 500));
|
||||
if ($player->getData('lvl_minier') < $level) {
|
||||
$difference = $level - $player->getData('lvl_minier');
|
||||
if ($difference == 1) {
|
||||
Wootook::getSession(Wootook_Player_Model_Entity::SESSION_KEY)
|
||||
->addInfo('You gained 1 miner level.');
|
||||
} else {
|
||||
Wootook::getSession(Wootook_Player_Model_Entity::SESSION_KEY)
|
||||
->addInfo('You gained %1$d miner level.', (int) $difference);
|
||||
}
|
||||
}
|
||||
|
||||
$level = floor(sqrt($player->getData('xpraid')));
|
||||
if ($player->getData('lvl_raid') < $level) {
|
||||
$difference = $level - $player->getData('lvl_raid');
|
||||
if ($difference == 1) {
|
||||
Wootook::getSession(Wootook_Player_Model_Entity::SESSION_KEY)
|
||||
->addInfo('You gained 1 raider level.');
|
||||
} else {
|
||||
Wootook::getSession(Wootook_Player_Model_Entity::SESSION_KEY)
|
||||
->addInfo('You gained %1$d raider level.', (int) $difference);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,5 +3,42 @@
|
|||
class Legacies_Stats_Block_View
|
||||
extends Wootook_Core_Block_Template
|
||||
{
|
||||
protected $_statData = array();
|
||||
|
||||
}
|
||||
public function getStatData($type)
|
||||
{
|
||||
if (empty($this->_statData)) {
|
||||
$readAdapter = Wootook_Core_Database_ConnectionManager::getSingleton()->getConnection('core_read');
|
||||
|
||||
$statement = $readAdapter->select()
|
||||
->from($readAdapter->getTable('statpoints'))
|
||||
->where('stat_type', $type)
|
||||
->prepare()
|
||||
;
|
||||
|
||||
$statement->execute();
|
||||
$this->_statData = $statement->fetchAll();
|
||||
}
|
||||
return $this->_statData;
|
||||
}
|
||||
|
||||
public function getPlayerStatData($type)
|
||||
{
|
||||
if (empty($this->_statData)) {
|
||||
$playerId = Wootook_Player_Model_Session::getSingleton()->getPlayerId();
|
||||
|
||||
$readAdapter = Wootook_Core_Database_ConnectionManager::getSingleton()->getConnection('core_read');
|
||||
|
||||
$statement = $readAdapter->select()
|
||||
->from($readAdapter->getTable('statpoints'))
|
||||
->where('stat_type', $type)
|
||||
->where('id_owner', $playerId)
|
||||
->prepare()
|
||||
;
|
||||
|
||||
$statement->execute();
|
||||
$this->_statData = $statement->fetchAll();
|
||||
}
|
||||
return $this->_statData;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -513,6 +513,9 @@ class Wootook_Core_Model_Layout
|
|||
|
||||
public function getPackage()
|
||||
{
|
||||
if ($this->_package === null) {
|
||||
$this->_package = self::DEFAULT_PACKAGE;
|
||||
}
|
||||
return $this->_package;
|
||||
}
|
||||
|
||||
|
|
@ -525,6 +528,9 @@ class Wootook_Core_Model_Layout
|
|||
|
||||
public function getTheme()
|
||||
{
|
||||
if ($this->_theme === null) {
|
||||
$this->_theme = self::DEFAULT_THEME;
|
||||
}
|
||||
return $this->_theme;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php return array(
|
||||
'admin' => array(
|
||||
'update' => '1column',
|
||||
'update' => array('1column'),
|
||||
'reference' => array(
|
||||
'header' => array(
|
||||
'children' => array(
|
||||
|
|
@ -241,7 +241,7 @@
|
|||
)
|
||||
),
|
||||
'admin.grid' => array(
|
||||
'update' => 'admin',
|
||||
'update' => array('admin'),
|
||||
'reference' => array(
|
||||
'content' => array(
|
||||
'children' => array(
|
||||
|
|
@ -264,7 +264,7 @@
|
|||
)
|
||||
),
|
||||
'admin.user.grid' => array(
|
||||
'update' => 'admin.grid',
|
||||
'update' => array('admin.grid'),
|
||||
'reference' => array(
|
||||
'grid' => array(
|
||||
'actions' => array(
|
||||
|
|
|
|||
|
|
@ -40,6 +40,12 @@
|
|||
<action method="addCss">
|
||||
<param name="stylesheet">css/base.css</param>
|
||||
</action>
|
||||
<action method="addCss">
|
||||
<param name="stylesheet">css/deprecated/default.css</param>
|
||||
</action>
|
||||
<action method="addCss">
|
||||
<param name="stylesheet">css/deprecated/formate.css</param>
|
||||
</action>
|
||||
<action method="addJs">
|
||||
<param name="script">scripts/jquery/jquery-1.6.4.js</param>
|
||||
</action>
|
||||
|
|
@ -74,4 +80,4 @@
|
|||
<block name="message" type="core/template" template="page/html/no-route.phtml" />
|
||||
</reference>
|
||||
</handle>
|
||||
</layout>
|
||||
</layout>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<br><br>
|
||||
<h2><?php echo $this->getData('adm_ov_title')?></h2>
|
||||
<h2><?php echo $this->__('Overview')?></h2>
|
||||
<table width="600">
|
||||
<tr>
|
||||
<td class="c" colspan="2"><?php echo $this->getData('adm_ov_infos')?></td>
|
||||
</tr><tr>
|
||||
<td class="b" style="color:#FFFFFF"><?php echo $this->getData('adm_ov_yourv')?>: <strong><?php echo $this->getData('adm_ov_data_yourv')?></strong></td>
|
||||
<td class="b" style="color:#FFFFFF"><?php echo $this->getData('adm_ov_lastv')?>: <b><a style="color:orange;" href="http://wootook.org/"><?php echo $this->getData('adm_ov_here')?></a></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="c" colspan="2"><?php echo $this->__('General information')?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="b"><?php echo $this->__('Your version:')?><span class="version"><?php echo $this->getData('version')?></span></td>
|
||||
<td class="b"><a class="downloads" href="http://wootook.org/downloads"><?php echo $this->__('Latest version avalaiable at Wootook.org')?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<table width="600">
|
||||
<tr>
|
||||
<td class="c" colspan="13"><?php echo $this->getData('adm_ov_onlin')?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><a href="?cmd=sort&type=id"><?php echo $this->getData('adm_ul_id')?></a></th>
|
||||
<th><a href="?cmd=sort&type=username"><?php echo $this->getData('adm_ul_name')?></a></th>
|
||||
<th><a href="?cmd=sort&type=user_lastip"><?php echo $this->getData('adm_ul_adip')?></a></th>
|
||||
<th><a href="?cmd=sort&type=ally_name"><?php echo $this->getData('adm_ov_ally')?></a></th>
|
||||
<th><?php echo $this->getData('adm_ov_point')?></th>
|
||||
<th><a href="?cmd=sort&type=onlinetime"><?php echo $this->getData('adm_ov_activ')?></a></th>
|
||||
<th><?php echo $this->getData('usr_email')?></th>
|
||||
<th><?php echo $this->getData('xp_raid')?></th>
|
||||
<th><?php echo $this->getData('xp_min')?></th>
|
||||
<th><?php echo $this->getData('lang_vacancy')?></th>
|
||||
<th><?php echo $this->getData('banned_lang')?></th>
|
||||
<th><?php echo $this->getData('usr_current_planet')?></th>
|
||||
<th><?php echo $this->getData('usr_current_page')?></th>
|
||||
</tr>
|
||||
<?php echo $this->getData('adm_ov_data_table')?>
|
||||
<tr>
|
||||
<th class="b" colspan="13"><?php echo $this->getData('adm_ov_count')?>: <?php echo $this->getData('adm_ov_data_count')?></th>
|
||||
</tr>
|
||||
</table>
|
||||
<tr>
|
||||
<td class="c" colspan="13"><?php echo $this->__('Online players')?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><a href="?cmd=sort&type=id"><?php echo $this->getData('adm_ul_id')?></a></th>
|
||||
<th><a href="?cmd=sort&type=username"><?php echo $this->getData('adm_ul_name')?></a></th>
|
||||
<th><a href="?cmd=sort&type=user_lastip"><?php echo $this->getData('adm_ul_adip')?></a></th>
|
||||
<th><a href="?cmd=sort&type=ally_name"><?php echo $this->getData('adm_ov_ally')?></a></th>
|
||||
<th><?php echo $this->getData('adm_ov_point')?></th>
|
||||
<th><a href="?cmd=sort&type=onlinetime"><?php echo $this->getData('adm_ov_activ')?></a></th>
|
||||
<th><?php echo $this->getData('usr_email')?></th>
|
||||
<th><?php echo $this->getData('xp_raid')?></th>
|
||||
<th><?php echo $this->getData('xp_min')?></th>
|
||||
<th><?php echo $this->getData('lang_vacancy')?></th>
|
||||
<th><?php echo $this->getData('banned_lang')?></th>
|
||||
<th><?php echo $this->getData('usr_current_planet')?></th>
|
||||
<th><?php echo $this->getData('usr_current_page')?></th>
|
||||
</tr>
|
||||
<?php echo $this->getData('adm_ov_data_table')?>
|
||||
<tr>
|
||||
<th class="b" colspan="13"><?php echo $this->getData('adm_ov_count')?>: <?php echo $this->getData('adm_ov_data_count')?></th>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -97,12 +97,6 @@
|
|||
<param name="title">Empire</param>
|
||||
<param name="uri">imperium.php</param>
|
||||
</action>
|
||||
<action method="addStaticLink">
|
||||
<param name="name">account/officers</param>
|
||||
<param name="label">Officers</param>
|
||||
<param name="title">Officers</param>
|
||||
<param name="uri">officier.php</param>
|
||||
</action>
|
||||
<action method="addStaticLink">
|
||||
<param name="name">account/alliance</param>
|
||||
<param name="label">My Alliance</param>
|
||||
|
|
@ -251,6 +245,14 @@
|
|||
<update name="empire" />
|
||||
|
||||
<reference name="content">
|
||||
<block name="queue" type="legacies-empire/planet.shipyard.queue" template="empire/planet/shipyard/queue.phtml">
|
||||
<action method="setItemTemplate">
|
||||
<param name="template">empire/planet/shipyard/queue/item.phtml</param>
|
||||
</action>
|
||||
<action method="setItemBlockType">
|
||||
<param name="blockType">legacies-empire/planet.shipyard.queue.item</param>
|
||||
</action>
|
||||
</block>
|
||||
<block name="item-list" type="legacies-empire/planet.shipyard" template="empire/planet/shipyard.phtml">
|
||||
<block name="item-list.items" type="core/concat" />
|
||||
<action method="setItemTemplate">
|
||||
|
|
@ -260,14 +262,6 @@
|
|||
<param name="blockType">legacies-empire/planet.shipyard.item</param>
|
||||
</action>
|
||||
</block>
|
||||
<block name="queue" type="legacies-empire/planet.shipyard.queue" template="empire/planet/shipyard/queue.phtml">
|
||||
<action method="setItemTemplate">
|
||||
<param name="template">empire/planet/shipyard/queue/item.phtml</param>
|
||||
</action>
|
||||
<action method="setItemBlockType">
|
||||
<param name="blockType">legacies-empire/planet.shipyard.queue.item</param>
|
||||
</action>
|
||||
</block>
|
||||
</reference>
|
||||
</handle>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
<div id="overview:stats" class="item-container">
|
||||
<h2><?php echo $this->escape($this->getPlanetName())?></h2>
|
||||
<h3><?php echo $this->escape($this->getPlanetCoords())?></h3>
|
||||
<p class="image">
|
||||
<img src="<?php echo $this->getSkinUrl($this->getPlanetImage())?>" />
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -11,8 +11,7 @@
|
|||
'register.success' => array(),
|
||||
'planet.update' => array(
|
||||
array('Wootook_Empire_Model_Planet', 'planetUpdateListener'),
|
||||
array('Legacies_Empire_Model_Planet_Building_Shipyard', 'planetUpdateListener'),
|
||||
array('Legacies_Officers_Model_Observer', 'planetUpdateListener')
|
||||
array('Legacies_Empire_Model_Planet_Building_Shipyard', 'planetUpdateListener')
|
||||
),
|
||||
'user.init' => array(),
|
||||
'planet.init' => array(
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
Legacies_Empire::ID_RESEARCH_INTERGALACTIC_RESEARCH_NETWORK => "intergalactic_tech",
|
||||
Legacies_Empire::ID_RESEARCH_EXPEDITION_TECHNOLOGY => "expedition_tech",
|
||||
Legacies_Empire::ID_RESEARCH_GRAVITON_TECHNOLOGY => "graviton_tech",
|
||||
Legacies_Empire::ID_RESEARCH_ORE_MINING => "ore_mining_tech",
|
||||
// }}}
|
||||
|
||||
//
|
||||
|
|
@ -61,6 +62,7 @@
|
|||
Legacies_Empire::ID_SHIP_DEATH_STAR => "dearth_star",
|
||||
Legacies_Empire::ID_SHIP_BATTLECRUISER => "battleship",
|
||||
Legacies_Empire::ID_SHIP_SUPERNOVA => "supernova",
|
||||
Legacies_Empire::ID_SHIP_ORE_MININER => "ore_miner",
|
||||
//
|
||||
|
||||
//
|
||||
|
|
@ -78,24 +80,4 @@
|
|||
Legacies_Empire::ID_SPECIAL_ANTIBALLISTIC_MISSILE => "interceptor_misil",
|
||||
Legacies_Empire::ID_SPECIAL_INTERPLANETARY_MISSILE => "interplanetary_misil",
|
||||
// }}}
|
||||
|
||||
//
|
||||
// Officers
|
||||
// {{{
|
||||
601 => "rpg_geologue",
|
||||
602 => "rpg_amiral",
|
||||
603 => "rpg_ingenieur",
|
||||
604 => "rpg_technocrate",
|
||||
605 => "rpg_constructeur",
|
||||
606 => "rpg_scientifique",
|
||||
607 => "rpg_stockeur",
|
||||
608 => "rpg_defenseur",
|
||||
609 => "rpg_bunker",
|
||||
610 => "rpg_espion",
|
||||
611 => "rpg_commandant",
|
||||
612 => "rpg_destructeur",
|
||||
613 => "rpg_general",
|
||||
614 => "rpg_raideur",
|
||||
615 => "rpg_empereur"
|
||||
// }}}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -28,25 +28,25 @@
|
|||
|
||||
Legacies_Empire::ID_BUILDING_FUSION_REACTOR => array(
|
||||
'name' => 'Réacteur à fusion nucléaire',
|
||||
'description' => '',
|
||||
'description' => "<p>Fruit de longues décénnies de recherche, le <strong>réacteur à fusion nucléaire</strong> est désormais une source d'énergie rentable.</p><p>Nourrie par l'énergie engendrée par la fusion des isotopes d'hydrogène, cette centrale génère plus d'énergie que toutes les autres sources d'énergie. La contrepartie à cette surgénération d'énergie, est son côut en deutérium.</p>",
|
||||
'image' => 'medias/klore/images/building/fusion-reactor.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_BUILDING_ROBOTIC_FACTORY => array(
|
||||
'name' => 'Usine de robots',
|
||||
'description' => '',
|
||||
'description' => "<p>L'<strong>usine de robots</strong> permet à votre empire de se développer plus rapidement en accélarant la fabrication et l'évolution de vos structures.</p>",
|
||||
'image' => 'medias/klore/images/building/robotic-factory.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_BUILDING_NANITE_FACTORY => array(
|
||||
'name' => 'Usine de nanites',
|
||||
'description' => '',
|
||||
'description' => "<p>Fruit de la recherche des nano-technologies, l'<strong>usine de nanites</strong> produit en masse nano-robots capable de s'assembler pour former vos futures structures.</p>",
|
||||
'image' => 'medias/klore/images/building/nanite-factory.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_BUILDING_SHIPYARD => array(
|
||||
'name' => 'Chantier spatial',
|
||||
'description' => '',
|
||||
'description' => "<p>Elément central de la construction de vaisseaux spaciaux et de systèmes de défenses, le <strong>chantier spatial</strong> permettra à votre empire de s'étendre et d'asseaoir sa suprématie.</p>",
|
||||
'image' => 'medias/klore/images/building/shipyard.jpg'
|
||||
),
|
||||
|
||||
|
|
@ -99,19 +99,19 @@
|
|||
Legacies_Empire::ID_BUILDING_LUNAR_BASE => array(
|
||||
'name' => 'Base lunaire',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/lunar-base.jpg'
|
||||
'image' => 'medias/klore/images/ship/lunar-base.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_BUILDING_SENSOR_PHALANX => array(
|
||||
'name' => 'Phalange de capteur',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/sensor-phalanx.jpg'
|
||||
'image' => 'medias/klore/images/ship/sensor-phalanx.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_BUILDING_JUMP_GATE => array(
|
||||
'name' => 'Porte de saut spatial',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/jump-gate.jpg'
|
||||
'image' => 'medias/klore/images/ship/jump-gate.jpg'
|
||||
),
|
||||
// }}}
|
||||
|
||||
|
|
@ -228,112 +228,112 @@
|
|||
'name' => 'Transporteur T5',
|
||||
'class' => 'Etalon',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/light-transport.jpg'
|
||||
'image' => 'medias/klore/images/ship/light-transport.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_LARGE_TRANSPORT => array(
|
||||
'name' => 'Transporteur T25',
|
||||
'class' => 'Buffle',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/large-transport.jpg'
|
||||
'image' => 'medias/klore/images/ship/large-transport.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_LIGHT_FIGHTER => array(
|
||||
'name' => 'Chasseur C50',
|
||||
'class' => 'Guêpe',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/light-fighter.jpg'
|
||||
'image' => 'medias/klore/images/ship/light-fighter.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_HEAVY_FIGHTER => array(
|
||||
'name' => 'Chasseur C150',
|
||||
'class' => 'Frelon',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/heavy-fighter.jpg'
|
||||
'image' => 'medias/klore/images/ship/heavy-fighter.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_CRUISER => array(
|
||||
'name' => 'Croiseur V400',
|
||||
'class' => 'Aigle',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/cruiser.jpg'
|
||||
'image' => 'medias/klore/images/ship/cruiser.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_BATTLESHIP => array(
|
||||
'name' => 'Vaisseau de bataille V1000',
|
||||
'class' => 'Faucon',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/battleship.jpg'
|
||||
'image' => 'medias/klore/images/ship/battleship.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_COLONY_SHIP => array(
|
||||
'name' => 'Vaisseau de colonisation',
|
||||
'class' => 'Romulus',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/colony-ship.jpg'
|
||||
'image' => 'medias/klore/images/ship/colony-ship.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_RECYCLER => array(
|
||||
'name' => 'Recycleur',
|
||||
'class' => 'Goule',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/recycler.jpg'
|
||||
'image' => 'medias/klore/images/ship/recycler.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_SPY_DRONE => array(
|
||||
'name' => 'Sonde d\'espionnage',
|
||||
'class' => 'Moustique',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/spy-drone.jpg'
|
||||
'image' => 'medias/klore/images/ship/spy-drone.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_BOMBER => array(
|
||||
'name' => 'Bombarider',
|
||||
'class' => 'Vengeur',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/bomber.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_SOLAR_SATELLITE => array(
|
||||
'name' => 'Satellite solaire',
|
||||
'class' => 'Râ',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/solar-satellite.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_DESTRUCTOR => array(
|
||||
'name' => 'Vaisseau de bataille V2000',
|
||||
'class' => 'Destructeur',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/destructor.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_DEATH_STAR => array(
|
||||
'name' => 'Vaisseau mère M1',
|
||||
'class' => 'Vengeur',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/death-star.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_BATTLECRUISER => array(
|
||||
'name' => 'Vaisseau de bataille V700',
|
||||
'class' => 'Dagon',
|
||||
'class' => 'Dragon',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/battlecruiser.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_SUPERNOVA => array(
|
||||
'name' => 'Vaisseau mère M5',
|
||||
'class' => 'Annihilateur',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/supernova.jpg'
|
||||
),
|
||||
|
||||
Legacies_Empire::ID_SHIP_ORE_MININER => array(
|
||||
'name' => 'Vaisseau d\'exploitation',
|
||||
'class' => 'Onyx',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/units/terraformer.jpg'
|
||||
'image' => 'medias/klore/images/ship/ore-miner.jpg'
|
||||
),
|
||||
// }}}
|
||||
|
||||
|
|
@ -391,7 +391,7 @@
|
|||
|
||||
Legacies_Empire::ID_DEFENSE_LARGE_SHIELD_DOME => array(
|
||||
'name' => 'Grand bouclier planétaire',
|
||||
'class' => 'Protecteur',
|
||||
'class' => 'Gaia',
|
||||
'description' => '',
|
||||
'image' => 'medias/klore/images/defense/large-shield-dome.jpg'
|
||||
),
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
'player' => array('Wootook_Player_Block_' => 'Wootook/Player/Block'),
|
||||
'legacies-core' => array('Legacies_Core_Block_' => 'Legacies/Core/Block'),
|
||||
'legacies-empire' => array('Legacies_Empire_Block_' => 'Legacies/Empire/Block'),
|
||||
'legacies-officers' => array('Legacies_Officers_Block_' => 'Legacies/Officers/Block'),
|
||||
'legacies-stats' => array('Legacies_Stats_Block_' => 'Legacies/Stats/Block')
|
||||
)
|
||||
);
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
"You have %1$d unread messages.","Vous avez %1$d messages non lus."
|
||||
"Idle.","Inactif."
|
||||
"Level %d","Niveau %d"
|
||||
"Current count: %s","Quantité actuelle : %s"
|
||||
"Current count: %s","Disponible : %s"
|
||||
"Build max (%s)","Construire le max (%s)"
|
||||
"Build next level (%s)","Construire au niveau %s"
|
||||
"Building time: %s","Temps de construction : %s"
|
||||
|
|
@ -137,6 +137,8 @@
|
|||
"Success","Succès"
|
||||
"Colony","Colonie"
|
||||
"Moon","Lune"
|
||||
"Class %s","Classe %s"
|
||||
"Build","Construire"
|
||||
"Game data successfully initialized.","Game data successfully initialized."
|
||||
"Passwords does not match.","Les mots de passe ne correpsondent pas."
|
||||
"Both e-mails does not match.","Les emails ne correpsondent pas."
|
||||
|
|
|
|||
|
Can't render this file because it contains an unexpected character in line 119 and column 51.
|
Loading…
Reference in a new issue