diff options
author | Wuzzy <almikes@aol.com> | 2016-08-16 00:36:47 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-16 00:36:47 +0200 |
commit | 3ba4924b376e2a87024f25ba901f6f94d21a4889 (patch) | |
tree | ffa3cd0533b60240ae60333f6ff9dbe6c3c535c4 /init.lua | |
parent | 3366398f15b6f7e4ac96d4966b36c2454b93f49e (diff) |
Use correct images for doors
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,3 @@ --- FIXME: Fix item image of doors (Wooden Door, etc.) -- TODO: Mark appropriate entries as hidden (esp. cloud and dirt with footsteps) local groupdefs = { @@ -69,11 +68,19 @@ local item_name_overrides = { ["doors:door_obsidian_glass_a"] = minetest.registered_items["doors:door_obsidian_glass"].description, } +local image_overrides = { + ["doors:door_wood_a"] = minetest.registered_items["doors:door_wood"].inventory_image, + ["doors:door_steel_a"] = minetest.registered_items["doors:door_steel"].inventory_image, + ["doors:door_glass_a"] = minetest.registered_items["doors:door_glass"].inventory_image, + ["doors:door_obsidian_glass_a"] = minetest.registered_items["doors:door_obsidian_glass"].inventory_image, +} + doc.sub.items.add_real_group_names(groupdefs) doc.sub.items.add_notable_groups(miscgroups) doc.sub.items.add_forced_item_entries(forced_items) doc.sub.items.add_suppressed_item_entries(suppressed_items) doc.sub.items.add_item_name_overrides(item_name_overrides) +doc.sub.items.add_item_image_overrides(image_overrides) -- Minetest Game Factoids |