Page 1 of 1
[2.0.21] "quality" missing from migrations json list
Posted: Sun Nov 24, 2024 2:50 pm
by warbob5000
The list for
JSON migrations does not list "quality" as an available type.
Re: [2.0.21] "quality" missing from migrations json list
Posted: Mon Nov 25, 2024 1:56 pm
by Rseding91
I think the list could be simplified by just deleting it and saying "all prototype types support migrations"
Re: [2.0.21] "quality" missing from migrations json list
Posted: Mon Nov 25, 2024 3:13 pm
by warbob5000
That's probably a better idea - context of my request was I had a mod adding extra qualities, and eventually wanted to revert to standard. I'm new to Factorio modding itself but I've made a few mods for other games so checked documentation, saw that migrations had a long list but not the one I wanted, and so started trying to code a lua migration with some help from the Discord's #mod-dev-help - one of them suggested I try a json migration anyway, which turned out to work. One of the people helping me suggested I make a doc improvement request.
I think it's fine to keep the list as long as it's specified it's not an exhaustive one. The way it's currently worded implies that
only those listed types are available. If indeed "all prototype types" are supported then perhaps an idea would be to link to the
Prototypes page?
Re: [2.0.21] "quality" missing from migrations json list
Posted: Mon Nov 25, 2024 3:40 pm
by curiosity
warbob5000 wrote: ↑Mon Nov 25, 2024 3:13 pm
I think it's fine to keep the list as long as it's specified it's not an exhaustive one.
That's against the spirit of having documentation.