Do not show pass-through items in derived items
For the various derived item groups on the item detail page, do not show pass through items as being related (e.g., "Used to Make").
This commit is contained in:
@@ -47,6 +47,7 @@ module.exports = class ItemPage extends BaseModel
|
||||
mod.eachRecipe (recipe)=>
|
||||
if isAcceptable recipe
|
||||
for outputStack in recipe.output
|
||||
continue if recipe.isPassThroughFor outputStack.itemSlug
|
||||
outputItem = @modPack.findItem outputStack.itemSlug, includeDisabled:true
|
||||
result[outputItem.slug] = outputItem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user