XG-Proyect-v3.x.x
XG-Proyect-v3.x.x copied to clipboard
[improvement] Techtree Details OLD OGAME
I leave the techtre details that I had before, listen to me every time you enter the game info
Version: 0.1
Techtree.php
- Search line .
tt_detail' => '';
- Remplace for
'tt_detail' => $this->getRequirements($object) ? '<a href="index.php?page=techtreedetails&tid='.$object.'">[i]</a>' : ' ',
Create File with name techtreedetails.php Apply this code https://pastebin.com/bAPWiJNA
Create this two template in folder templates
techtree_details.php and apply this code apply this https://pastebin.com/raw/iCkfmZ4g Create techtree_details_row.php apply this https://pastebin.com/3kj7B1Tx Create techtree_no_details_row.php https://pastebin.com/LwrgfkR6
Open language/english/ingame.php
Search this $lang['tt_lvl'] = 'level '; Put after
$lang['tt_conditions_for'] = 'Building conditions for #<a href="index.php?page=infos&gid=%l">%t</a>';
$lang['tt_conditions_no'] = "No conditions";
Open language/spanish/ingame.php
Search this $lang['tt_lvl'] = 'level '; Put after
$lang['tt_conditions_for'] = 'Condiciones de construcción para #<a href="index.php?page=infos&gid=%l">%t</a>';
$lang['tt_conditions_no'] = "Sin condiciones";
Close all files
image
@FGServers Isn't the feature here the old system?
you opened a new topic about the tech tree
@BeReal86 please do not close. They are different things.