diff --git a/init.lua b/init.lua index 3be9269..74db852 100644 --- a/init.lua +++ b/init.lua @@ -19,7 +19,8 @@ minetest.register_node("hopper:hopper", { groups = {cracky = 3}, drawtype = "nodebox", paramtype = "light", - tiles = {"default_coal_block.png"}, + tiles = {"hopper_top.png", "hopper_top.png", "hopper_front.png"}, + inventory_image = "hopper_inv.png", node_box = { type = "fixed", fixed = { @@ -85,7 +86,8 @@ minetest.register_node("hopper:hopper_side", { drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", - tiles = {"default_coal_block.png"}, + tiles = {"hopper_top.png", "hopper_top.png", "hopper_back.png", "hopper_side.png", "hopper_back.png", "hopper_back.png"}, + inventory_image = "hopper_side_inv.png", node_box = { type = "fixed", fixed = { diff --git a/textures/hopper_back.png b/textures/hopper_back.png new file mode 100644 index 0000000..75b8eae Binary files /dev/null and b/textures/hopper_back.png differ diff --git a/textures/hopper_front.png b/textures/hopper_front.png new file mode 100644 index 0000000..4f4ac67 Binary files /dev/null and b/textures/hopper_front.png differ diff --git a/textures/hopper_inv.png b/textures/hopper_inv.png new file mode 100644 index 0000000..2dae78a Binary files /dev/null and b/textures/hopper_inv.png differ diff --git a/textures/hopper_side.png b/textures/hopper_side.png new file mode 100644 index 0000000..264bae0 Binary files /dev/null and b/textures/hopper_side.png differ diff --git a/textures/hopper_side_inv.png b/textures/hopper_side_inv.png new file mode 100644 index 0000000..5adeddd Binary files /dev/null and b/textures/hopper_side_inv.png differ diff --git a/textures/hopper_top.png b/textures/hopper_top.png new file mode 100644 index 0000000..27a24fe Binary files /dev/null and b/textures/hopper_top.png differ