1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-21 14:50:23 +02:00

use mesh node for paper towels

This commit is contained in:
Vanessa Ezekowitz
2014-12-14 18:40:34 -05:00
parent 1b6f68c92a
commit b99abb8bc0
7 changed files with 232 additions and 19 deletions

View File

@ -1479,31 +1479,22 @@ minetest.register_node("homedecor:copper_pans", {
})
minetest.register_node("homedecor:paper_towel", {
tiles = {
"homedecor_paper_towel_sides.png",
"homedecor_paper_towel_sides.png",
"homedecor_paper_towel_ends.png",
"homedecor_paper_towel_ends.png",
"homedecor_paper_towel_sides.png",
"homedecor_paper_towel_sides.png"
},
drawtype = "mesh",
mesh = "homedecor_paper_towel.obj",
tiles = { "homedecor_paper_towel.png" },
inventory_image = "homedecor_paper_towel_inv.png",
description = "Paper towels",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_box = {
groups = { snappy=3 },
selection_box = {
type = "fixed",
fixed = {
{-0.4375, 0.1875, 0.4375, -0.375, 0.375, 0.5}, -- NodeBox1
{0.375, 0.1875, 0.4375, 0.4375, 0.375, 0.5}, -- NodeBox2
{-0.4375, 0.25, 0.1875, -0.375, 0.3125, 0.5}, -- NodeBox3
{0.375, 0.25, 0.1875, 0.4375, 0.3125, 0.5}, -- NodeBox4
{-0.375, 0.125, 0.125, 0.375, 0.4375, 0.3125}, -- NodeBox5
{-0.375, 0.1875, 0.0625, 0.375, 0.375, 0.375}, -- NodeBox6
}
fixed = { -0.4375, 0.125, 0.0625, 0.4375, 0.4375, 0.5 }
},
groups = { snappy=3 }
collision_box = {
type = "fixed",
fixed = { -0.4375, 0.125, 0.0625, 0.4375, 0.4375, 0.5 }
}
})
minetest.register_node("homedecor:stonepath", {