mexmer / ScienceCostTweakerM

Factorio Mod : Adjusts the cost of science packs and research.
https://mods.factorio.com/mod/ScienceCostTweakerM/
GNU General Public License v3.0
6 stars 16 forks source link

Fixed ordering #1

Closed Bilka2 closed 6 years ago

Bilka2 commented 6 years ago

Disclaimer: I tested with the seablock pack.

This fixes the following things:

The first and last change are achieved by putting all science items into the same subgroup, otherwise the tech screen does not sort correctly. I recommend keeping all science items in the same group for this reason. The second change mostly affects recipes since the item order was already correct.

For anybody who does not know how order works, the wiki has a page on it. In short: Order strings are simple strings that are sorted in ASCII-order. So, there is no need to include the prototype name or anything [like-this] in the order string.

mexmer commented 6 years ago

thanks, i got some ideas from this, and better understanding but for sake of consistence i use same names and groups for ordering in recipes and items/tools, that are also more descriptive.

Bilka2 commented 6 years ago

Looks pretty good. The only issue now is that the bio token item subgroup (science-pack) is sorted after everything but space science, so techs that use it end up in the wrong place in the tech screen. Reordering the item subgroup to before red science fixes that (I gave it the order d-[all]).

Also, since you sort the logistics science pack below high tech science, techs that use it end up after the high tech science techs, which is wrong progression wise, but if you change that the order in the inventory looks wrong.

mexmer commented 6 years ago

logistic is bellow hightech simply because it's bob's addition, like alien packs and gold pack, i want all addition after regular research for now (except space science). i plan to rework bobs logistic pack in future, then i will move it to "right place"

space science pack is intentionaly last, because it's last tech. and generic science-pack group is just before it, so whatever people add to it, will not change order of items from SCT.

for bio token, i have not decided yet, where i will place it, that's why is it now in generic science. but at least, it's under science now.