Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Producible Items list should be sortable via scripts and UI #886
It is now possible to reorder the ship designs list and this carries through to the producible items list. If something has not been reordered the list defaults to alphabetical by key name with buildings before ships, ships list by keyname then design time. It would be good if some method of sorting was available both to the player and for scripting, currently to move something within the list a scripter has to change its keyname, update all the stringtables and amend AI code.
Some method in which preunlocked and tech unlocked items can be given a priority number or groupname so that they all appear together, allowing—especially for predesigned ships—scripters to group things by type within the display to improve the UI and improve player workflow.
If players can also drag/drop to rearrange the list in some way this would be an additional benefit.
Specifically, I've got several parts into a reordering of the premade ships several times now and gotten sidelined or delayed, it's such a longwinded task for a very simple set of changes, as we can move ships up and down within the UI it should be possible to script a display order for them.
changed the title
[Feature] Producible Items list should be sortable via scripts and UI
Aug 19, 2016
referenced this issue
May 27, 2017
added this to Open Issues
in Allow editing and deletion of saved ship designs within app
May 27, 2017
I've moved this comment from #784 where it was accidentally added.
@MatGB do the changes in the
And secondly, is there a good place on the website to place these instructions where scripters can use them as a reference?
------------------ Start of Instructions -------------------
------------------ End of Instructions -------------------
It definitely does for ships, I'll get started on reordering the premades ASAP as it will make things a lot better in many ways.
But I'd still like to be able to script the order the buildings are displayed in so that, eg, all shipyards are together because we've told them to be, not because they happen to have similar names, then you can also reorder terraforming to be with gaia, etc.
I don't know whether it's better to have this as partially resolved or to close this and open a new one.