Fix fence item images

This commit is contained in:
Wuzzy 2017-01-17 04:18:36 +01:00
parent 94d20838bc
commit 0566bd29ad
5 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

View file

@ -29,8 +29,8 @@ mcl_fences.register_fence = function(id, fence_name, fence_gate_name, texture, f
minetest.register_node("mcl_fences:"..id, { minetest.register_node("mcl_fences:"..id, {
description = fence_name, description = fence_name,
tiles = {texture}, tiles = {texture},
inventory_image = fence_image, inventory_image = "mcl_fences_fence_mask.png^" .. texture .. "^mcl_fences_fence_mask.png^[makealpha:255,126,126",
wield_image = fence_image, wield_image = "mcl_fences_fence_mask.png^" .. texture .. "^mcl_fences_fence_mask.png^[makealpha:255,126,126",
paramtype = "light", paramtype = "light",
is_ground_content = false, is_ground_content = false,
groups = groups, groups = groups,
@ -85,10 +85,10 @@ mcl_fences.register_fence = function(id, fence_name, fence_gate_name, texture, f
groups.mesecon_effector_on = 1 groups.mesecon_effector_on = 1
minetest.register_node("mcl_fences:"..id_gate.."_open", { minetest.register_node("mcl_fences:"..id_gate.."_open", {
tiles = {texture}, tiles = {texture},
inventory_image = gate_image,
wield_image = gate_image,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
inventory_image = "mcl_fences_fence_gate_mask.png^" .. texture .. "^mcl_fences_fence_gate_mask.png^[makealpha:255,126,126",
wield_image = "mcl_fences_fence_gate_mask.png^" .. texture .. "^mcl_fences_fence_gate_mask.png^[makealpha:255,126,126",
is_ground_content = false, is_ground_content = false,
sunlight_propagates = true, sunlight_propagates = true,
walkable = true, walkable = true,
@ -129,8 +129,8 @@ mcl_fences.register_fence = function(id, fence_name, fence_gate_name, texture, f
minetest.register_node("mcl_fences:"..id_gate, { minetest.register_node("mcl_fences:"..id_gate, {
description = fence_gate_name, description = fence_gate_name,
tiles = {texture}, tiles = {texture},
inventory_image = gate_image, inventory_image = "mcl_fences_fence_gate_mask.png^" .. texture .. "^mcl_fences_fence_gate_mask.png^[makealpha:255,126,126",
wield_image = gate_image, wield_image = "mcl_fences_fence_gate_mask.png^" .. texture .. "^mcl_fences_fence_gate_mask.png^[makealpha:255,126,126",
paramtype = "light", paramtype = "light",
is_ground_content = false, is_ground_content = false,
stack_max = 64, stack_max = 64,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B