summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorRogier <rogier777@gmail.com>2015-02-07 18:10:40 +0100
committerRogier <rogier777@gmail.com>2015-03-11 16:00:37 +0100
commit2fd9e59242efba7a8a375c4fb36f1f6f6ecc1500 (patch)
tree34e4f6b34b0d128ed35794cf01ccc0d8514a2ba8 /api.lua
parent76a9efff71f924b143af8945ce02ed336b6a1090 (diff)
Display conversion method symbolically and textually next to arrow
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/api.lua b/api.lua
index b338cfb..d9e85e3 100644
--- a/api.lua
+++ b/api.lua
@@ -152,6 +152,7 @@ end
unified_inventory.register_craft_type("normal", {
description = "Crafting",
+ icon = "ui_craftgrid_icon.png",
width = 3,
height = 3,
get_shaped_craft_width = function (craft) return craft.width end,
@@ -167,6 +168,7 @@ unified_inventory.register_craft_type("normal", {
unified_inventory.register_craft_type("shapeless", {
description = "Mixing",
+ icon = "ui_craftgrid_icon.png",
width = 3,
height = 3,
dynamic_display_size = function (craft)
@@ -181,6 +183,7 @@ unified_inventory.register_craft_type("shapeless", {
unified_inventory.register_craft_type("cooking", {
description = "Cooking",
+ icon = "default_furnace_front.png",
width = 1,
height = 1,
})
@@ -188,6 +191,7 @@ unified_inventory.register_craft_type("cooking", {
unified_inventory.register_craft_type("digging", {
description = "Digging",
+ icon = "default_tool_steelpick.png",
width = 1,
height = 1,
})