add paper towel roll, improve toilet paper model and textures

This commit is contained in:
Vanessa Ezekowitz 2014-09-11 12:30:18 -04:00
parent 80c30e49bf
commit 6930b0ab99
12 changed files with 45 additions and 13 deletions

View File

@ -2696,3 +2696,10 @@ minetest.register_craft( {
},
})
minetest.register_craft({
output = "homedecor:paper_towel",
recipe = {
{ "homedecor:toilet_paper", "homedecor:toilet_paper" }
},
})

View File

@ -126,12 +126,12 @@ minetest.register_node('homedecor:medicine_cabinet', {
minetest.register_node("homedecor:toilet_paper", {
description = S("Toilet paper"),
tiles = {
"homedecor_toilet_paper_tb.png",
"homedecor_toilet_paper_tb.png",
"homedecor_toilet_paper_sides.png",
"homedecor_toilet_paper_sides.png",
"homedecor_toilet_paper_back.png",
"homedecor_toilet_paper_front.png"
"homedecor_toilet_paper_ends.png",
"homedecor_toilet_paper_ends.png",
"homedecor_toilet_paper_sides.png",
"homedecor_toilet_paper_sides.png"
},
inventory_image = "homedecor_toilet_paper_inv.png",
drawtype = "nodebox",
@ -140,17 +140,14 @@ minetest.register_node("homedecor:toilet_paper", {
node_box = {
type = "fixed",
fixed = {
{-0.25, 0.1875, 0.25, -0.1875, 0.25, 0.5},
{0.125, 0.1875, 0.25, 0.1875, 0.25, 0.5},
{-0.1875, 0.0625, 0.125, 0.125, 0.375, 0.4375},
{-0.25, 0.125, 0.4375, -0.1875, 0.3125, 0.5},
{0.125, 0.125, 0.4375, 0.1875, 0.3125, 0.5}
{-0.25, 0.1875, 0.4375, -0.1875, 0.375, 0.5}, -- NodeBox1
{0.125, 0.1875, 0.4375, 0.1875, 0.375, 0.5}, -- NodeBox2
{-0.25, 0.25, 0.1875, -0.1875, 0.3125, 0.5}, -- NodeBox3
{0.125, 0.25, 0.1875, 0.1875, 0.3125, 0.5}, -- NodeBox4
{-0.1875, 0.125, 0.125, 0.125, 0.4375, 0.3125}, -- NodeBox5
{-0.1875, 0.1875, 0.0625, 0.125, 0.375, 0.375}, -- NodeBox6
}
},
selection_box = {
type = "fixed",
fixed = { -0.25, 0.0625, 0.125, 0.1875, 0.375, 0.5}
},
groups = {snappy=2,oddly_breakable_by_hand=3,flammable=3},
sounds = default.node_sound_defaults(),
})

View File

@ -1491,3 +1491,31 @@ minetest.register_node("homedecor:copper_pans", {
on_place = minetest.rotate_node
})
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"
},
inventory_image = "homedecor_paper_towel_inv.png",
description = "Paper towels",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
node_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
}
},
groups = { snappy=3 }
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B