Ogame current production shortcuts in Overview #549
jonamix-ar
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Well, it took me quite a while to adapt the famous mod from the production overview in the overview, it's the last one I publish, then I'm going to launch everything through PR, I've been reading a bit XD.
OverviewController
modify parent::loadLang for this
parent::loadLang(['game/global', 'game/overview', 'game/buildings', 'game/constructions', 'game/technologies', 'game/ships', 'game/defenses']);
Building current production.
Research current production
Shipyard current production
delete this
private function getCurrentWork($user_planet, $is_current_planet = true)
Make resources/views/overview/overview_current_production_building.blade.php, put here
Modify the building_script.php
Make resources/views/overview/overview_current_production_research.blade.php
Make resources/views/overview/overview_current_production_shipyard.blade.php
Make two new template resources/views/overview/overview_current_production_queue.blade.php
AND resources/views/overview/overview_current_production_empty.blade.php
in resources/lang/spanish/global_lang.php
in resources/lang/english/global_lang.php
in resources/lang/spanish/overview_lang.php
in resources/lang/english/overview_lang.php
All times work and they move automatically, I just need to modify the building script, nothing else.
Beta Was this translation helpful? Give feedback.
All reactions