Fixed textures

master
DonBatman 2015-04-21 03:13:32 -07:00
parent 0cc6b6c88a
commit fb69d32432
17 changed files with 8 additions and 43 deletions

View File

@ -14,7 +14,6 @@ minetest.register_node("mybricks:brick_"..mat, {
image.."^mybricks_pattern3.png^[transformFX",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -34,7 +33,6 @@ minetest.register_node("mybricks:smbrick_"..mat, {
image.."^mybricks_pattern9.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -54,7 +52,6 @@ minetest.register_node("mybricks:tbrick_"..mat, {
image.."^mybricks_pattern10.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -66,7 +63,6 @@ minetest.register_node("mybricks:brick_square_"..mat, {
drawtype = drawtype,
tiles = {image.."^mybricks_pattern6.png"},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -78,7 +74,6 @@ minetest.register_node("mybricks:brick_square_sm_"..mat, {
drawtype = drawtype,
tiles = {image.."^mybricks_pattern5.png"},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -90,7 +85,6 @@ minetest.register_node("mybricks:brick_tile_"..mat, {
drawtype = drawtype,
tiles = {image.."^mybricks_pattern2.png"},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -109,7 +103,6 @@ minetest.register_node("mybricks:brick_split_"..mat, {
image.."^mybricks_pattern8.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -128,7 +121,6 @@ minetest.register_node("mybricks:brick_vsplit_"..mat, {
image.."^mybricks_pattern7.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -150,7 +142,6 @@ minetest.register_node("mybricks:brickw_"..mat, {
image.."^mybricks_pattern3_w.png^[transformFX",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -170,7 +161,6 @@ minetest.register_node("mybricks:smbrickw_"..mat, {
image.."^mybricks_pattern9_w.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -190,7 +180,6 @@ minetest.register_node("mybricks:tbrickw_"..mat, {
image.."^mybricks_pattern10_w.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -202,7 +191,6 @@ minetest.register_node("mybricks:brick_squarew_"..mat, {
drawtype = drawtype,
tiles = {image.."^mybricks_pattern6_w.png"},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -214,7 +202,6 @@ minetest.register_node("mybricks:brick_squarew_sm_"..mat, {
drawtype = drawtype,
tiles = {image.."^mybricks_pattern5_w.png"},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -226,7 +213,6 @@ minetest.register_node("mybricks:brick_tilew_"..mat, {
drawtype = drawtype,
tiles = {image.."^mybricks_pattern2_w.png"},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -245,7 +231,6 @@ minetest.register_node("mybricks:brick_splitw_"..mat, {
image.."^mybricks_pattern8_w.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,
@ -264,7 +249,6 @@ minetest.register_node("mybricks:brick_vsplitw_"..mat, {
image.."^mybricks_pattern7_w.png",
},
paramtype = "light",
-- paramtype2 = "facedir",
sunlight_propagates = true,
is_ground_content = true,
groups = mygroups,

View File

@ -20,26 +20,14 @@ minetest.register_node("mybricks:machine", {
node_box = {
type = "fixed",
fixed = {
--[[
{-0.5, -0.1875, -0.5, 0.5, 0.0625, 0.5},
{-0.5, -0.1875, -0.5, 0.5, 0.5, -0.3125},
{-0.5, -0.5, -0.5, -0.3125, -0.1875, -0.3125},
{0.3125, -0.5, -0.5, 0.5, -0.1875, -0.3125},
{0.3125, -0.5, 0.3125, 0.5, -0.1875, 0.5},
{-0.5, -0.5, 0.3125, -0.3125, -0.1875, 0.5},
{-0.5, -0.1875, -0.5, -0.3125, 0.5, 0.5},
{-0.5, -0.1875, 0.3125, 0.5, 0.5, 0.5},
{0.3125, -0.1875, -0.5, 0.5, 0.5, 0.5},
--]]
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5}, -- NodeBox1
{0.375, -0.5, -0.5, 0.5, 0.5, -0.375}, -- NodeBox2
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.375}, -- NodeBox3
{-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5}, -- NodeBox4
{-0.5, -0.5, 0.375, -0.375, 0.5, 0.5}, -- NodeBox5
{0.375, -0.5, 0.375, 0.5, 0.5, 0.5}, -- NodeBox6
{-0.0625, 0.0625, -0.25, 0, 0.1875, 0.25}, -- NodeBox7
{-0.0625, 0.0625, -0.125, 0, 0.25, 0.125}, -- NodeBox8
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
{0.375, -0.5, -0.5, 0.5, 0.5, -0.375},
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.375},
{-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5},
{-0.5, -0.5, 0.375, -0.375, 0.5, 0.5},
{0.375, -0.5, 0.375, 0.5, 0.5, 0.5},
{-0.0625, 0.0625, -0.25, 0, 0.1875, 0.25},
{-0.0625, 0.0625, -0.125, 0, 0.25, 0.125},
}
},
selection_box = {
@ -75,27 +63,20 @@ on_construct = function(pos)
"label[7,1.5;Input:]"..
"label[7,3.5;Output:]"..
"label[0,0;Choose Brick Stye:]"..
-- "label[1,0.5;Brick]"..
"image_button[1,1;1,1;mybricks_mach1.png;brick; ]"..
"image_button[1,2;1,1;mybricks_mach8.png;smbrick; ]"..
"image_button[1,3;1,1;mybricks_mach7.png;tbrick; ]"..
-- "label[2.5,2.5;Squares]"..
"image_button[2.5,1;1,1;mybricks_mach4.png;tile; ]"..
"image_button[2.5,2;1,1;mybricks_mach2.png;square; ]"..
"image_button[2.5,3;1,1;mybricks_mach3.png;square_sm; ]"..
-- "label[1.5,4.5;Split]"..
"image_button[4,1;1,1;mybricks_mach5.png;split; ]"..
"image_button[4,2;1,1;mybricks_mach6.png;vsplit; ]"..
-- "label[1,0.5;Brick]"..
"image_button[1,4;1,1;mybricks_mach9.png;brickw; ]"..
"image_button[1,5;1,1;mybricks_mach10.png;smbrickw; ]"..
"image_button[1,6;1,1;mybricks_mach11.png;tbrickw; ]"..
-- "label[2.5,2.5;Squares]"..
"image_button[2.5,4;1,1;mybricks_mach12.png;tilew; ]"..
"image_button[2.5,5;1,1;mybricks_mach13.png;squarew; ]"..
"image_button[2.5,6;1,1;mybricks_mach14.png;square_smw; ]"..
-- "label[1.5,4.5;Split]"..
"image_button[4,4;1,1;mybricks_mach15.png;splitw; ]"..
"image_button[4,5;1,1;mybricks_mach16.png;vsplitw; ]"..
"list[current_player;main;1,7;8,4;]")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 390 B