Mutator Modtype
Posted: 04 Aug 2018, 17:31
Ok so we are adding music in evo as an additional package that will be distributed separately from the main game, which will reduce the size of the main git repo and hopefully save some disk space on the spring servers.
So damgam suggested making the music an optional dependency. As far as I was aware, spring doesn't support optional dependencies, but then I open modinfo.lua and see these comments:
I can think of a bunch of uses for an addon dependency.
Halp?
Edit: I read "addon" as "Optional Addon". I might need to be set straight if I'm misunderstanding the usage of that word.
So damgam suggested making the music an optional dependency. As far as I was aware, spring doesn't support optional dependencies, but then I open modinfo.lua and see these comments:
2 for addon? It isn't documented in https://springrts.com/wiki/Modinfo.lua , does it exist? Does it work/is there actual support for it?-- What kind of mod this is
-- 0 - Hidden (support mod that can't be selected, such as OTA_textures)
-- 1 - Normal, only one can be selected at a time
-- 2 - Addon, any number of these can be selected. Could be used
-- for single units for example.
-- others - perhaps mutators and addon races that can be
-- enabled in addition to xta for example?
modtype = 4,
I can think of a bunch of uses for an addon dependency.
Halp?
Edit: I read "addon" as "Optional Addon". I might need to be set straight if I'm misunderstanding the usage of that word.