Complete the Crafting Table view/controller
* Add output box to the crafting table view * Add remaining crafting patterns to all MC 1.7.10 recipes * Add all crafting patterns to Buildcraft 6.2.6 * Disable mods which don't have patterns yet * Add the Url constants for computing urls from templates * Add the `findItemDisplay` to ModPack (along with tests) and remove all replace all uses of `getPathSlugs` with it
This commit is contained in:
@@ -7,12 +7,14 @@ All rights reserved.
|
||||
|
||||
exports.DefaultBookUrls = DefaultBookUrls = [
|
||||
'/data/minecraft/recipes.json'
|
||||
'/data/applied_energetics/recipes.json'
|
||||
'/data/buildcraft/recipes.json'
|
||||
'/data/gravisuite/recipes.json'
|
||||
'/data/industrial_craft/recipes.json'
|
||||
'/data/more_blocks/recipes.json'
|
||||
'/data/thermal_expansion/recipes.json'
|
||||
|
||||
# Disabled until shaped crafting can be added -- aminer 2015-01-09
|
||||
# '/data/applied_energetics/recipes.json'
|
||||
# '/data/gravisuite/recipes.json'
|
||||
# '/data/industrial_craft/recipes.json'
|
||||
# '/data/more_blocks/recipes.json'
|
||||
# '/data/thermal_expansion/recipes.json'
|
||||
]
|
||||
|
||||
exports.Duration = Duration = {}
|
||||
@@ -31,7 +33,9 @@ Event.load.failed = 'load:failed' # controller, error message
|
||||
Event.load.finished = 'load:finished' # controller
|
||||
Event.remove = 'remove' # collection, item...
|
||||
|
||||
exports.ImageUrl = _.template "/data/<%= modSlug %>/images/<%= itemSlug %>.png"
|
||||
exports.Url = Url = {}
|
||||
Url.itemIcon = _.template "/data/<%= modSlug %>/images/<%= itemSlug %>.png"
|
||||
Url.item = _.template "/item/<%= encodeURIComponent(itemName) %>"
|
||||
|
||||
exports.Key = Key = {}
|
||||
Key.Return = 13
|
||||
|
||||
Reference in New Issue
Block a user