chorhatarahuduketuri / gc

GalacticConquest
0 stars 0 forks source link

Cleanup menus #111

Closed adrianlshaw closed 5 years ago

adrianlshaw commented 5 years ago

Only valid orders now appear in each ship menu. The added code checks the context of the current sector and dynamically populates the options in the menu. For example, Colonise no longer appears in the menu if there is no system or the system is already owned.

PS: If you run the code and find that it feels sluggish it's because the fix in the fog branch hasn't been merged yet...

chorhatarahuduketuri commented 5 years ago

OK this works so as soon as the conflicts are sorted I'll merge it.