Tsunder / Pardus-Sweetener

A browser extension that enhances the user interface of the online game Pardus
3 stars 3 forks source link

Starbases can't have Crew Quarters #97

Open Sei-lus opened 4 years ago

Sei-lus commented 4 years ago

Describe the bug Quick link to Crew Quarters shouldn't exist.

Expected behavior Removal of the quicklink.

Additional context All that is needed is removing 3 lines from nav.js... Will do it once the drug timer for Artemis and the pull request I submitted are addressed first.

Sei-lus commented 4 years ago

Fix Open nav.js. Delete the following 3 lines of code: { key: 'navCrewQuartersLink', text: 'Crew quarters', url: 'crew_quarters.php' }, (Lines 57, 58, 59)

Result: No more crew quarters at the SB menu from navigation.

Further improving: Change line 58 of options.html to:

Adds a link to the Crew Quarters at planets.

This things are done on my "private" version of Sweetner T. So I can share an updated options.html and a nav.js BUT I have the clock changed to 0,29,3,0 for drugs because I am mainly in Artemis. When you fix that, let me know (I don't have enough knowledge to make 0,29,3,0 for Artemis and 0,59,3,0 for Orion so I just changed the global drug timer).