better textures for fishtank, add lighted-up version

Esse commit está contido em:
Vanessa Ezekowitz
2014-06-27 19:12:21 -04:00
commit 751a322727
9 arquivos alterados com 43 adições e 0 exclusões

Ver arquivo

@@ -360,6 +360,49 @@ minetest.register_node("homedecor:fishtank", {
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
on_rightclick = function(pos, node, clicker)
fdir = minetest.get_node(pos).param2
minetest.add_node(pos, {name = "homedecor:fishtank_lighted", param2 = fdir})
end
})
minetest.register_node("homedecor:fishtank_lighted", {
drawtype = "nodebox",
description = "Fishtank",
tiles = {
"homedecor_fishtank_top.png",
"homedecor_fishtank_bottom.png",
"homedecor_fishtank_right_lighted.png",
"homedecor_fishtank_left_lighted.png",
"homedecor_fishtank_back_lighted.png",
"homedecor_fishtank_front_lighted.png"
},
paramtype = "light",
light_source = LIGHT_MAX-4,
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.375, 0.5, -0.4375, 0.375},
{-0.4375, -0.4375, -0.3125, 0.4375, 0.1875, 0.3125},
{-0.4375, 0.1875, -0.1875, 0.4375, 0.25, 0.1875},
{-0.1875, 0.0625, 0.0625, 0.1875, 0.25, 0.375},
{ 0.125, -0.5, 0.25, 0.1875, 0.1875, 0.375},
{-0.375, 0.25, -0.125, 0.375, 0.3125, 0.125},
}
},
use_texture_alpha = true,
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.375, 0.5, 0.3125, 0.375 }
},
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
on_rightclick = function(pos, node, clicker)
fdir = minetest.get_node(pos).param2
minetest.add_node(pos, {name = "homedecor:fishtank", param2 = fdir})
end
})
minetest.register_node('homedecor:cardboard_box', {

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 205 B

Depois

Largura:  |  Altura:  |  Tamanho: 351 B

Arquivo binário não exibido.

Depois

Largura:  |  Altura:  |  Tamanho: 496 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 205 B

Depois

Largura:  |  Altura:  |  Tamanho: 354 B

Arquivo binário não exibido.

Depois

Largura:  |  Altura:  |  Tamanho: 504 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 182 B

Depois

Largura:  |  Altura:  |  Tamanho: 292 B

Arquivo binário não exibido.

Depois

Largura:  |  Altura:  |  Tamanho: 422 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 191 B

Depois

Largura:  |  Altura:  |  Tamanho: 289 B

Arquivo binário não exibido.

Depois

Largura:  |  Altura:  |  Tamanho: 425 B