View source for Module:Item recipe
From Space Station 14 Wiki
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
-- Contains utilities for working with in-game item recipes.
local p = {} --p stands for package
local getArgs = require('Module:Arguments').getArgs
local itemModule = require('Module:Item')
local yesNo = require('Module:Yesno')
-- A table mapping recipe IDs to recipes.
local recipes_by_recipe_ids = mw.loadJsonData("Module:Item recipe/recipes by recipe IDs.json")
-- A table mapping product IDs to recipe IDs.
-- A product ID can have either a single recipe ID mapped to it, or multiple if there's are multiple recipes.
local recipe_ids_by_product_ids = mw.loadJsonData("Module:Item recipe/recipe IDs by product IDs.json")
-- A table mapping production methods to recipe IDs, with a intermediate mapping by availability.
local recipe_ids_by_method_and_availability = mw.loadJsonData(
"Module:Item recipe/recipe IDs by method and availability.json")
-- A table mapping material IDs (item IDs) to their display order.
-- Order is just a number. Materials with lesser order number will appear first.
local materials_order_by_material_ids = mw.loadJsonData("Module:Item recipe/order of materials.json")
000
1:0
Templates used on this page:
- Template:Add categories if not on page or subpage (view source)
- Template:Callout (view source)
- Template:Callout/styles.css (view source)
- Template:Clear (view source)
- Template:Colored text (view source)
- Template:Kbd (view source)
- Template:Module docs (view source)
- Template:Module documentation (view source)
- Template:T (view source)
- Template:Template link (view source)
- Template:Uses json data (view source)
- Module:Arguments (view source) (protected)
- Module:Callout (view source)
- Module:Item (view source)
- Module:Item/item ids by item lowercase names.json (view source)
- Module:Item/item ids by item lowercase names overrides.json (view source)
- Module:Item/item image files by item id.json (view source)
- Module:Item/item names by item ids.json (view source)
- Module:Item/item page links by item ids.json (view source)
- Module:Item/sizes.json (view source)
- Module:Item recipe/doc (view source)
- Module:Params (view source)
- Module:String (view source)
- Module:Yesno (view source) (protected)
Return to Module:Item recipe.