Allow mod for multiple versions

Place to get help with not working mods / modding interface.
User avatar
JohnnyDeee
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Oct 16, 2016 8:52 pm
Contact:

Allow mod for multiple versions

Post by JohnnyDeee »

Hi,

Is it possible to 'allow' a mod for multiple factorio versions?
Like if im testing my mod for 0.13 and 0.14.x (expiremental), i would like it to appear 'compatible' for both versions instead of only 1..

Thanks in advance :)
"A man can only be beaten in two ways: if he gives up, or he dies"
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Allow mod for multiple versions

Post by ssilk »

Until now: no.

It's an issue:
viewtopic.php?f=6&t=27560

Also related:
viewtopic.php?f=6&t=28990
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Allow mod for multiple versions

Post by aubergine18 »

I'm sure there was a mod uploaded recently where the author mentioned that the same download would work on both 0.13 and 0.14. I'll see if I can find it (I never did get round to testing if or how it worked)....

EDIT: Hrm, couldn't find it. From vague memory he did something like remove the "factorio_version" line from the info.json, or maybe set its value something like ">= 0.13"
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
apriori
Filter Inserter
Filter Inserter
Posts: 282
Joined: Thu Feb 18, 2016 8:13 pm
Contact:

Re: Allow mod for multiple versions

Post by apriori »

aubergine18 wrote:I'm sure there was a mod uploaded recently where the author mentioned that the same download would work on both 0.13 and 0.14. I'll see if I can find it (I never did get round to testing if or how it worked)....

EDIT: Hrm, couldn't find it. From vague memory he did something like remove the "factorio_version" line from the info.json, or maybe set its value something like ">= 0.13"
The absence of this line means compatibility with <=0.12.
FactorioBot wrote: Modding
  • Mods need to have factorio_version value in their info which specifies major Factorio version they are suited for, default value is 0.12. Mods with non fitting version are not loaded.
viewtopic.php?f=3&t=27101
Any code or mods posted by me are WTFPL, unless otherwise copyrights are specified.
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5304
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Allow mod for multiple versions

Post by Klonan »

JohnnyDeee wrote:Hi,

Is it possible to 'allow' a mod for multiple factorio versions?
Like if im testing my mod for 0.13 and 0.14.x (expiremental), i would like it to appear 'compatible' for both versions instead of only 1..

Thanks in advance :)
This defeats the purpose of the factorio_version line, so it won't be implemented
Post Reply

Return to “Modding help”