Add better support for turning mods on/off

* Make the Minecraft "mod" enabled at all times
* Sort the list of mods to move required mods to the top
* Automatically enable a mod which has a recipe selected (e.g., from
  a query param)
This commit is contained in:
Andrew Miner
2014-12-29 14:07:57 -08:00
parent 2dd4b7014f
commit c46bb8860c
7 changed files with 45 additions and 8 deletions
+4
View File
@@ -35,6 +35,10 @@ exports.Opacity = Opacity = {}
Opacity.hidden = 1e-6
Opacity.shown = 1
exports.RequiredMods = [
'Minecraft'
]
exports.UrlParam = UrlParam = {}
UrlParam.quantity = 'count'
UrlParam.recipe = 'recipeName'