Move recipebooks to subdirs for each mod

This commit is contained in:
Andrew Miner
2015-01-01 19:00:37 -08:00
parent a265383630
commit 0c781793c6
9 changed files with 361 additions and 126 deletions
+7 -7
View File
@@ -6,13 +6,13 @@ All rights reserved.
###
exports.DefaultBookUrls = DefaultBookUrls = [
'/data/minecraft.json'
'/data/applied_energetics.json'
'/data/buildcraft.json'
'/data/gravisuite.json'
'/data/industrial_craft.json'
'/data/more_blocks.json'
'/data/thermal_expansion.json'
'/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'
]
exports.Duration = Duration = {}
-6
View File
@@ -30,12 +30,6 @@ module.exports = class Item extends BaseModel
if not @canMerge(item) then throw new Error "cannot merge #{item} into #{this}"
@quantity += item.quantity
toFormatHash: ->
return result =
name: @name
quantity: @quantity
stackQuantity: @stackQuantity
# Property Methods #############################################################################
getStackQuantity: ->