Difference between revisions of "User talk:Ivan/Mod format WIP"

From VCMI Project Wiki
Jump to: navigation, search
(mod versions suggestion)
 
m
Line 7: Line 7:
 
     ],
 
     ],
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
A whitelist/blacklist of characters in modname should also be provided, as '<' would obstruct version number syntax.

Revision as of 15:34, 2 January 2013

Nice description, I'd just suggest to make it possible to specify version numbers (or ranges of them) in depends/conflicts fields. Something like:

 
    "conflicts" :
    [
        "badMod", "modName<5.0.0", "1.0.0<iHateThisMod<=3.2.5"
    ],

A whitelist/blacklist of characters in modname should also be provided, as '<' would obstruct version number syntax.