XG-Proyect-v3.x.x icon indicating copy to clipboard operation
XG-Proyect-v3.x.x copied to clipboard

[improvement] Techtree Details OLD OGAME

Open jonamix-ar opened this issue 5 years ago • 2 comments

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>' : '&nbsp;',

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 Sin título

jonamix-ar avatar Aug 29 '19 22:08 jonamix-ar

@FGServers Isn't the feature here the old system?

you opened a new topic about the tech tree

BeReal86 avatar Aug 07 '20 02:08 BeReal86

@BeReal86 please do not close. They are different things.

LucasKovacs avatar Aug 07 '20 08:08 LucasKovacs