tweak inline documentation for unified_inventory integration

This commit is contained in:
flux 2022-07-23 16:09:08 -07:00
parent 488f949a97
commit f373ae5935
No known key found for this signature in database
GPG Key ID: 9333B27816848A15

View File

@ -6,28 +6,21 @@ end
local api = stairsplus.api
-- TODO craft schema recipes don't show up correctly, which seems like a bug in unified_inventory
unified_inventory.register_craft_type("stairsplus:craft_schema", {
-- ^ Unique identifier for `register_craft`
description = "Stairs+ craft schema",
-- ^ Text shown below the crafting arrow
icon = "stairsplus_saw_button.png",
-- ^ Image shown above the crafting arrow
width = 3,
height = 3,
-- ^ Maximal input dimensions of the recipes
uses_crafting_grid = true,
})
unified_inventory.register_craft_type("stairsplus:circular_saw", {
-- ^ Unique identifier for `register_craft`
description = "Stairs+ circular saw",
-- ^ Text shown below the crafting arrow
icon = "stairsplus_saw_button.png",
-- ^ Image shown above the crafting arrow
width = 1,
height = 1,
-- ^ Maximal input dimensions of the recipes
uses_crafting_grid = true,
uses_crafting_grid = false,
})
unified_inventory.register_category("stairsplus:cuttable", {