mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 16:30:21 +01:00
add a roll of toilet paper
This commit is contained in:
parent
c406094b72
commit
3918ff56fc
@ -1891,6 +1891,15 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "homedecor:toilet_paper",
|
||||||
|
recipe = {
|
||||||
|
{ "", "default:paper", "default:paper" },
|
||||||
|
{ "group:wood", "group:stick", "default:paper" },
|
||||||
|
{ "", "default:paper", "default:paper" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:cardboard_box 2",
|
output = "homedecor:cardboard_box 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
local S = homedecor.gettext
|
||||||
|
|
||||||
minetest.register_node("homedecor:tiles_1", {
|
minetest.register_node("homedecor:tiles_1", {
|
||||||
description = "Bathroom/kitchen tiles (shade #1)",
|
description = "Bathroom/kitchen tiles (shade #1)",
|
||||||
tiles = {
|
tiles = {
|
||||||
@ -89,3 +91,34 @@ minetest.register_node("homedecor:towel_rod", {
|
|||||||
sounds = default.node_sound_defaults(),
|
sounds = default.node_sound_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
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"
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
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}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
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(),
|
||||||
|
})
|
||||||
|
|
||||||
|
BIN
homedecor/textures/homedecor_toilet_paper_back.png
Normal file
BIN
homedecor/textures/homedecor_toilet_paper_back.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 208 B |
BIN
homedecor/textures/homedecor_toilet_paper_front.png
Normal file
BIN
homedecor/textures/homedecor_toilet_paper_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 215 B |
BIN
homedecor/textures/homedecor_toilet_paper_sides.png
Normal file
BIN
homedecor/textures/homedecor_toilet_paper_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 297 B |
BIN
homedecor/textures/homedecor_toilet_paper_tb.png
Normal file
BIN
homedecor/textures/homedecor_toilet_paper_tb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 329 B |
Loading…
Reference in New Issue
Block a user