Merge pull request #4 from Bastrabun/master
textures adhere to naming convention. Solves #2
14
init.lua
|
@ -22,7 +22,7 @@
|
|||
if minetest.get_modpath("unified_inventory") and unified_inventory.register_craft_type then
|
||||
unified_inventory.register_craft_type("pickling", {
|
||||
description = "Dark room, wooden shelf",
|
||||
icon = "pickling_icon.png",
|
||||
icon = "canned_food_pickling_icon.png",
|
||||
width = 1,
|
||||
height = 1,
|
||||
uses_crafting_grid = false,
|
||||
|
@ -305,9 +305,9 @@ for product, def in pairs(canned_food_definitions) do
|
|||
local nodetable = {
|
||||
description = def.proper_name,
|
||||
drawtype = "plantlike",
|
||||
tiles = {product .. ".png"},
|
||||
inventory_image = product .. ".png",
|
||||
wield_image = product .. ".png",
|
||||
tiles = {"canned_food_" .. product .. ".png"},
|
||||
inventory_image = "canned_food_" .. product .. ".png",
|
||||
wield_image = "canned_food_" .. product .. ".png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
|
@ -367,9 +367,9 @@ for product, def in pairs(canned_food_definitions) do
|
|||
minetest.register_node("canned_food:" .. product .."_plus", {
|
||||
description = def.transforms,
|
||||
drawtype = "plantlike",
|
||||
tiles = {product .. ".png^paper_lid_cover.png"},
|
||||
inventory_image = product .. ".png^paper_lid_cover.png",
|
||||
wield_image = product .. ".png^paper_lid_cover.png",
|
||||
tiles = {"canned_food_" .. product .. ".png^canned_food_paper_lid_cover.png"},
|
||||
inventory_image = "canned_food_" .. product .. ".png^canned_food_paper_lid_cover.png",
|
||||
wield_image = "canned_food_" .. product .. ".png^canned_food_paper_lid_cover.png",
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
walkable = false,
|
||||
|
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
Before Width: | Height: | Size: 809 B After Width: | Height: | Size: 809 B |
Before Width: | Height: | Size: 814 B After Width: | Height: | Size: 814 B |
Before Width: | Height: | Size: 630 B After Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 675 B After Width: | Height: | Size: 675 B |
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 755 B After Width: | Height: | Size: 755 B |
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 579 B |
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 760 B After Width: | Height: | Size: 760 B |
Before Width: | Height: | Size: 681 B After Width: | Height: | Size: 681 B |
Before Width: | Height: | Size: 934 B After Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
Before Width: | Height: | Size: 789 B After Width: | Height: | Size: 789 B |
Before Width: | Height: | Size: 786 B After Width: | Height: | Size: 786 B |
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 737 B |
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 772 B After Width: | Height: | Size: 772 B |
Before Width: | Height: | Size: 674 B After Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 573 B After Width: | Height: | Size: 573 B |
Before Width: | Height: | Size: 1002 B After Width: | Height: | Size: 1002 B |
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 701 B |