Release 1.0.2. Added white laminate, pine parquet and jungle linoleum

master
Andrey2470T 2022-08-28 19:20:25 +03:00
parent 6b6eb9e627
commit 855ad4fe73
6 changed files with 54 additions and 17 deletions

View File

@ -1,10 +1,11 @@
# MultiDecor 1.0.1. Modpack For Minetest.
# MultiDecor 1.0.2. Modpack For Minetest.
![logo](https://user-images.githubusercontent.com/25750346/185758916-9acf0ba5-5953-484f-825c-347c6ca7cddd.png)
## Description
This modpack adds various detailed furniture components, decorations and exterior stuff with various designs and styles of each epoch. Inspired by Homedecor and based on my abandoned Luxury Decor. Currently it contains the decor stuff only of "modern" style. A simple cheap style without any quaintness and luxury. In future there will be added still few sorts of that: baroque, high-tech, classic and royal.
## Changelog List
#### [28.08.22] Release 1.0.2.
#### [22.08.22] Release 1.0.1.
#### [20.08.22] Release 1.0.0.
#### [20.08.22] 1.0.0-beta.

View File

@ -62,7 +62,7 @@ minetest.register_node(":multidecor:modern_floor_clock", {
minetest.sound_stop(handle)
end
end,
after_destruct = function(pos)
after_dig_node = function(pos, oldnode, oldmeta)
local wheel = minetest.get_objects_inside_radius(pos, 0.3)
-- Not found the balance wheel
@ -76,6 +76,11 @@ minetest.register_node(":multidecor:modern_floor_clock", {
return
end
local handle = minetest.deserialize(oldmeta.fields.sound_handle)
if handle then
minetest.sound_stop(handle)
end
wheel:remove()
end
})
@ -170,23 +175,54 @@ register.register_furniture_unit("alarm_clock", {
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
})
minetest.register_node(":multidecor:laminate",
{
drawtype = "nodebox",
description = "Laminate",
paramtype = "light",
paramtype2 = "facedir",
tiles = {"multidecor_laminate.png"},
node_box = {
local floors_defs = {
["laminate"] = {
"Laminate",
"multidecor_laminate.png",
{"multidecor:plank", "multidecor:plank", "multidecor:plank", "multidecor:plank"}
},
["white_laminate"] = {
"White Laminate",
"multidecor_white_laminate.png",
{"multidecor:plank", "multidecor:plank", "multidecor:plank", "multidecor:plank", "dye:white"}
},
["pine_parquet"] = {
"Pine Parquet",
"multidecor_pine_parquet.png",
{"multidecor:pine_plank", "multidecor:pine_plank", "multidecor:pine_plank", "multidecor:pine_plank"}
},
["jungle_linoleum"] = {
"Jungle Linoleum",
"multidecor_jungle_linoleum.png",
{"multidecor:jungleplank", "multidecor:jungleplank", "multidecor:jungleplank", "multidecor:jungleplank"}
}
}
for name, def in pairs(floors_defs) do
minetest.register_node(":multidecor:" .. name, {
drawtype = "nodebox",
description = def[1],
paramtype = "light",
paramtype2 = "facedir",
tiles = {def[2]},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}
},
groups = {choppy=1.5}
})
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}
},
groups = {choppy=1.5}
})
minetest.register_craft({
type = "shapeless",
output = "multidecor:" .. name,
recipe = def[3]
})
end
local flowers = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB