Compare commits
10 Commits
2a43e62a82
...
f34bbb83fa
Author | SHA1 | Date | |
---|---|---|---|
|
f34bbb83fa | ||
|
c75ca9eb94 | ||
|
2bc793c3df | ||
|
455b99fb7d | ||
|
4c99d42738 | ||
|
ce630c8676 | ||
|
58ddfd3dc6 | ||
|
b9aafa1c0d | ||
|
3c2f4461a0 | ||
|
c9b5971c4e |
@ -1,10 +1,12 @@
|
||||
# MultiDecor 1.3.2. Modpack For Minetest.
|
||||
# MultiDecor 1.3.4. 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
|
||||
#### [14.12.24] Release 1.3.4.
|
||||
#### [08.12.24] Release 1.3.3.
|
||||
#### [27.06.24] Release 1.3.2.
|
||||
#### [10.06.24] Release 1.3.1.
|
||||
#### [30.03.24] Release 1.3.0.
|
||||
|
@ -1,24 +1,8 @@
|
||||
local modpath = minetest.get_modpath("craft_ingredients")
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
dofile(modpath .. "/ores.lua")
|
||||
|
||||
-- Maps a tool name to its sound playing on crafting
|
||||
local craft_tools = {
|
||||
["saw"] = "multidecor_saw",
|
||||
["steel_scissors"] = "multidecor_steel_scissors",
|
||||
["hammer"] = "multidecor_hammer"
|
||||
}
|
||||
|
||||
-- Durabilities of each craft sound in seconds
|
||||
local craft_sounds_durabilities = {
|
||||
["multidecor_saw"] = 3,
|
||||
["multidecor_steel_scissors"] = 2,
|
||||
["multidecor_hammer"] = 1
|
||||
}
|
||||
|
||||
-- Maps a playername to the current playing action sound
|
||||
multidecor.players_actions_sounds = {}
|
||||
|
||||
local woods = {"", "jungle", "aspen", "pine"}
|
||||
|
||||
if minetest.get_modpath("ethereal") then
|
||||
@ -79,7 +63,7 @@ for _, wood in ipairs(woods) do
|
||||
for item, recipes in pairs(items_and_crafts) do
|
||||
minetest.register_craftitem(":multidecor:" .. wood .. item,
|
||||
{
|
||||
description = to_capital_l .. item:sub(1,1):upper() .. item:sub(2),
|
||||
description = S(to_capital_l .. item:sub(1,1):upper() .. item:sub(2)),
|
||||
inventory_image = "multidecor_" .. (wood == "jungle" and wood .. "_" or wood) .. item .. ".png"
|
||||
})
|
||||
|
||||
@ -115,7 +99,7 @@ bucket.register_liquid(
|
||||
)
|
||||
|
||||
minetest.register_node(":multidecor:marble_block", {
|
||||
description = "Marble Block",
|
||||
description = S("Marble Block"),
|
||||
paramtype = "light",
|
||||
paramtype2 = "none",
|
||||
sunlight_propagates = true,
|
||||
@ -127,206 +111,226 @@ minetest.register_node(":multidecor:marble_block", {
|
||||
|
||||
minetest.register_craftitem(":multidecor:cabinet_door",
|
||||
{
|
||||
description = "Cabinet Door",
|
||||
description = S("Cabinet Door"),
|
||||
inventory_image = "multidecor_cabinet_door.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:cabinet_half_door",
|
||||
{
|
||||
description = "Cabinet Half Door",
|
||||
description = S("Cabinet Half Door"),
|
||||
inventory_image = "multidecor_cabinet_half_door.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:cabinet_half_glass_door",
|
||||
{
|
||||
description = "Cabinet Half Glass Door",
|
||||
description = S("Cabinet Half Glass Door"),
|
||||
inventory_image = "multidecor_cabinet_half_glass_door.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:saw",
|
||||
{
|
||||
description = "Saw",
|
||||
description = S("Saw"),
|
||||
inventory_image = "multidecor_saw.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:wool_cloth",
|
||||
{
|
||||
description = "Wool Cloth",
|
||||
description = S("Wool Cloth"),
|
||||
inventory_image = "multidecor_wool_cloth.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:metal_bar",
|
||||
{
|
||||
description = "Metal Bar",
|
||||
description = S("Metal Bar"),
|
||||
inventory_image = "multidecor_metal_bar.png"
|
||||
})
|
||||
|
||||
if minetest.get_modpath("moreores") then
|
||||
minetest.register_craftitem(":multidecor:silver_sheet",
|
||||
{
|
||||
description = S("Silver Sheet"),
|
||||
inventory_image = "multidecor_silver_sheet.png"
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem(":multidecor:steel_sheet",
|
||||
{
|
||||
description = "Steel Sheet",
|
||||
description = S("Steel Sheet"),
|
||||
inventory_image = "multidecor_steel_sheet.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:brass_sheet",
|
||||
{
|
||||
description = S("Brass Sheet"),
|
||||
inventory_image = "multidecor_brass_sheet.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:coarse_steel_sheet",
|
||||
{
|
||||
description = "Coarse Steel Sheet",
|
||||
description = S("Coarse Steel Sheet"),
|
||||
inventory_image = "multidecor_coarse_steel_sheet.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:steel_scissors",
|
||||
{
|
||||
description = "Steel Scissors",
|
||||
description = S("Steel Scissors"),
|
||||
inventory_image = "multidecor_steel_scissors.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:hammer",
|
||||
{
|
||||
description = "Hammer",
|
||||
description = S("Hammer"),
|
||||
inventory_image = "multidecor_hammer.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:bulb",
|
||||
{
|
||||
description = "Bulb",
|
||||
description = S("Bulb"),
|
||||
inventory_image = "multidecor_bulb.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:lampshade",
|
||||
{
|
||||
description = "Lampshade",
|
||||
description = S("Lampshade"),
|
||||
inventory_image = "multidecor_lampshade.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:plastic_sheet",
|
||||
{
|
||||
description = "Plastic Sheet",
|
||||
description = S("Plastic Sheet"),
|
||||
inventory_image = "multidecor_plastic_sheet.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:plastic_strip",
|
||||
{
|
||||
description = "Plastic Strip",
|
||||
description = S("Plastic Strip"),
|
||||
inventory_image = "multidecor_plastic_strip.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:metal_wire",
|
||||
{
|
||||
description = "Metal Wire",
|
||||
description = S("Metal Wire"),
|
||||
inventory_image = "multidecor_metal_wire.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:metal_chain",
|
||||
{
|
||||
description = "Chain",
|
||||
description = S("Chain"),
|
||||
inventory_image = "multidecor_chain.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:four_bulbs_set",
|
||||
{
|
||||
description = "Set from four bulbs",
|
||||
description = S("Set from four bulbs"),
|
||||
inventory_image = "multidecor_four_bulbs_set.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:wolfram_wire",
|
||||
{
|
||||
description = "Wolfram Wire",
|
||||
description = S("Wolfram Wire"),
|
||||
inventory_image = "multidecor_wolfram_wire.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:silver_wire",
|
||||
{
|
||||
description = "Silver Wire",
|
||||
description = S("Silver Wire"),
|
||||
inventory_image = "multidecor_silver_wire.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:four_lampshades_set",
|
||||
{
|
||||
description = "Set from four lampshades",
|
||||
description = S("Set from four lampshades"),
|
||||
inventory_image = "multidecor_four_lampshades_set.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:digital_dial",
|
||||
{
|
||||
description = "Digital Dial",
|
||||
description = S("Digital Dial"),
|
||||
inventory_image = "multidecor_digital_dial.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:brass_ingot",
|
||||
{
|
||||
description = "Brass Ingot",
|
||||
description = S("Brass Ingot"),
|
||||
inventory_image = "multidecor_brass_ingot.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:steel_stripe",
|
||||
{
|
||||
description = S("Steel Stripe"),
|
||||
inventory_image = "multidecor_steel_stripe.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:brass_stripe",
|
||||
{
|
||||
description = "Brass Stripe",
|
||||
description = S("Brass Stripe"),
|
||||
inventory_image = "multidecor_brass_stripe.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:gear",
|
||||
{
|
||||
description = "Gear",
|
||||
description = S("Gear"),
|
||||
inventory_image = "multidecor_gear.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:spring",
|
||||
{
|
||||
description = "Spring",
|
||||
description = S("Spring"),
|
||||
inventory_image = "multidecor_spring.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:wax_lump",
|
||||
{
|
||||
description = "Wax Lump",
|
||||
description = S("Wax Lump"),
|
||||
inventory_image = "multidecor_wax_lump.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:wax_candle",
|
||||
{
|
||||
description = "Wax Candle",
|
||||
description = S("Wax Candle"),
|
||||
inventory_image = "multidecor_wax_candle.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:chainlink",
|
||||
{
|
||||
description = "Chainlink",
|
||||
description = S("Chainlink"),
|
||||
inventory_image = "multidecor_chainlink.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:terracotta_fragment",
|
||||
{
|
||||
description = "Terracotta Fragment",
|
||||
description = S("Terracotta Fragment"),
|
||||
inventory_image = "multidecor_terracotta_fragment.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:copper_and_tin",
|
||||
{
|
||||
description = "Copper And Tin",
|
||||
description = S("Copper And Tin"),
|
||||
inventory_image = "multidecor_copper_and_tin.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:copper_and_zinc",
|
||||
{
|
||||
description = "Copper And Zinc",
|
||||
description = S("Copper And Zinc"),
|
||||
inventory_image = "multidecor_copper_and_zinc.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:marble_sheet",
|
||||
{
|
||||
description = "Marble Sheet",
|
||||
description = S("Marble Sheet"),
|
||||
inventory_image = "multidecor_marble_sheet.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:syphon",
|
||||
{
|
||||
description = "Syphon",
|
||||
description = S("Syphon"),
|
||||
inventory_image = "multidecor_syphon.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "multidecor:cabinet_door",
|
||||
recipe = {
|
||||
{"multidecor:board", "multidecor:steel_sheet", "multidecor:steel_scissors"},
|
||||
{"multidecor:board", "multidecor:steel_stripe", "multidecor:steel_scissors"},
|
||||
{"", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
@ -335,7 +339,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = "multidecor:cabinet_half_door",
|
||||
recipe = {
|
||||
{"multidecor:plank", "multidecor:steel_sheet", "multidecor:steel_scissors"},
|
||||
{"multidecor:plank", "multidecor:steel_stripe", "multidecor:steel_scissors"},
|
||||
{"", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
@ -344,12 +348,22 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = "multidecor:cabinet_half_glass_door",
|
||||
recipe = {
|
||||
{"multidecor:plank", "multidecor:steel_sheet", "multidecor:steel_scissors"},
|
||||
{"multidecor:plank", "multidecor:steel_stripe", "multidecor:steel_scissors"},
|
||||
{"xpanes:pane_flat", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
})
|
||||
|
||||
if minetest.get_modpath("moreores") then
|
||||
minetest.register_craft(
|
||||
{
|
||||
type = "shapeless",
|
||||
output = "multidecor:silver_sheet 5",
|
||||
recipe = {"moreores:silver_ingot", "multidecor:steel_scissors"},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
type = "shapeless",
|
||||
@ -358,11 +372,20 @@ minetest.register_craft(
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
})
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
type = "shapeless",
|
||||
output = "multidecor:brass_sheet 5",
|
||||
recipe = {"multidecor:brass_ingot", "multidecor:steel_scissors"},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
})
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
type = "shapeless",
|
||||
output = "multidecor:coarse_steel_sheet",
|
||||
recipe = {"multidecor:steel_sheet"}
|
||||
recipe = {"multidecor:steel_sheet", "multidecor:scraper"},
|
||||
replacements = {{"multidecor:scraper", "multidecor:scraper"}}
|
||||
})
|
||||
|
||||
minetest.register_craft(
|
||||
@ -413,7 +436,8 @@ minetest.register_craft(
|
||||
{
|
||||
type = "shapeless",
|
||||
output = "multidecor:lampshade 3",
|
||||
recipe = {"wool:white", "multidecor:metal_wire"}
|
||||
recipe = {"wool:white", "multidecor:metal_wire", "multidecor:steel_scissors"},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -470,7 +494,7 @@ minetest.register_craft({
|
||||
output = "multidecor:bulb",
|
||||
recipe = {
|
||||
{"vessels:glass_bottle", "multidecor:wolfram_wire", ""},
|
||||
{"multidecor:steel_sheet", "multidecor:steel_scissors", ""},
|
||||
{"multidecor:steel_stripe", "multidecor:steel_scissors", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
@ -515,10 +539,17 @@ minetest.register_craft({
|
||||
cooktime = 8
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "multidecor:steel_stripe 4",
|
||||
recipe = {"multidecor:steel_sheet", "multidecor:steel_scissors"},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "multidecor:brass_stripe 4",
|
||||
recipe = {"multidecor:brass_ingot", "multidecor:steel_scissors"},
|
||||
recipe = {"multidecor:brass_sheet", "multidecor:steel_scissors"},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
})
|
||||
|
||||
@ -602,51 +633,3 @@ minetest.register_craft({
|
||||
{"", "", ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv)
|
||||
local contains_tool_with_name = ""
|
||||
|
||||
local function check_for_item(itemname)
|
||||
for name, _ in pairs(craft_tools) do
|
||||
if "multidecor:" .. name == itemname then
|
||||
contains_tool_with_name = name
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for _, stack in ipairs(old_craft_grid) do
|
||||
check_for_item(stack:get_name())
|
||||
if contains_tool_with_name ~= "" then
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
local playername = player:get_player_name()
|
||||
if contains_tool_with_name ~= "" and not multidecor.players_actions_sounds[playername] then
|
||||
multidecor.players_actions_sounds[playername] = {
|
||||
name = craft_tools[contains_tool_with_name],
|
||||
cur_time = 0.0,
|
||||
durability = craft_sounds_durabilities[craft_tools[contains_tool_with_name]]
|
||||
}
|
||||
|
||||
minetest.sound_play(craft_tools[contains_tool_with_name], {to_player=playername})
|
||||
end
|
||||
|
||||
return
|
||||
end)
|
||||
|
||||
minetest.register_globalstep(function(dtime)
|
||||
for _, player in ipairs(minetest.get_connected_players()) do
|
||||
local playername = player:get_player_name()
|
||||
local sound = multidecor.players_actions_sounds[playername]
|
||||
|
||||
if sound then
|
||||
sound.cur_time = sound.cur_time + dtime
|
||||
|
||||
if sound.cur_time >= sound.durability then
|
||||
multidecor.players_actions_sounds[playername] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
67
craft_ingredients/locale/craft_ingredients.ru.tr
Normal file
@ -0,0 +1,67 @@
|
||||
# textdomain: craft_ingredients
|
||||
|
||||
# init.lua
|
||||
Marble Block=Блок мрамора
|
||||
Cabinet Door=Кабинетная дверь
|
||||
Cabinet Half Door=Кабинетная полудверь
|
||||
Cabinet Half Glass Door=Кабинетная стеклянная полудверь
|
||||
Saw=Пила
|
||||
Wool Cloth=Шерстяная одежда
|
||||
Metal Bar=Металлический прут
|
||||
Silver Sheet=Серебяный лист
|
||||
Steel Sheet=Стальной лист
|
||||
Brass Sheet=Латунный лист
|
||||
Coarse Steel Sheet=Грубый лист стали
|
||||
Steel Scissors=Стальные кусачки
|
||||
Hammer=Молоток
|
||||
Bulb=Лампочка
|
||||
Lampshade=Абажур
|
||||
Plastic Sheet=Пластиковый лист
|
||||
Plastic Strip=Пластиковая полоска
|
||||
Metal Wire=Металлический провод
|
||||
Chain=Цепь
|
||||
Set from four bulbs=Набор из 4 лампочек
|
||||
Wolfram Wire=Вольфрамовый провод
|
||||
Silver Wire=Серебяный провод
|
||||
Set from four lampshades=Набор из 4 абажуров
|
||||
Digital Dial=Цифровой циферблат
|
||||
Brass Ingot=Латунный слиток
|
||||
Steel Stripe=Стальная полоска
|
||||
Brass Stripe=Латунная полоска
|
||||
Gear=Шестерёнка
|
||||
Spring=Пружина
|
||||
Wax Lump=Ком воска
|
||||
Wax Candle=Восковая свеча
|
||||
Chainlink=Металлическая сетка
|
||||
Terracotta Fragment=Фрагмент терракоты
|
||||
Copper And Tin=Медь и олово
|
||||
Copper And Zinc=Медь и цинк
|
||||
Marble Sheet=Мраморная панель
|
||||
Syphon=Сифон
|
||||
Board=Широкая доска
|
||||
Jungl Board=Широкая доска из тропического дерева
|
||||
Aspen Board=Широкая доска из осины
|
||||
Pine Board=Широкая доска из сосны
|
||||
Plank=Узкая доска
|
||||
Jungl Plank=Узкая доска из тропического дерева
|
||||
Aspen Plank=Узкая доска из осины
|
||||
Pine Plank=Узкая доска из сосны
|
||||
Drawer=Ящик
|
||||
Jungl Drawer=Ящик из тропического дерева
|
||||
Aspen Drawer=Ящик из осины
|
||||
Pine Drawer=Ящик из сосны
|
||||
|
||||
|
||||
# ores.lua
|
||||
Wolfram Ore=Вольфрамовая руда
|
||||
Desert Wolfram Ore=Пустынная вольфрамовая руда
|
||||
Wolfram Lump=Кусок вольфрама
|
||||
Wolfram Ingot=Вольфрамовый слиток
|
||||
Zinc Ore=Цинковая руда
|
||||
Desert Zinc Ore=Пустынная цинковая руда
|
||||
Zinc Fragment=Цинковый фрагмент
|
||||
Zinc Ingot=Цинковый слиток
|
||||
Granite Block=Гранитный блок
|
||||
Consolidated Oil (use furnace to melt)=Консолидированная нефть (используйте печь, чтобы расплавить)
|
||||
Oil Source=Источник нефти
|
||||
Flowing Oil=Текущая нефть
|
64
craft_ingredients/locale/template.txt
Normal file
@ -0,0 +1,64 @@
|
||||
# textdomain: craft_ingredients
|
||||
|
||||
# init.lua
|
||||
Marble Block=
|
||||
Cabinet Door=
|
||||
Cabinet Half Door=
|
||||
Cabinet Half Glass Door=
|
||||
Saw=
|
||||
Wool Cloth=
|
||||
Metal Bar=
|
||||
Silver Sheet=
|
||||
Steel Sheet=
|
||||
Brass Sheet=
|
||||
Coarse Steel Sheet=
|
||||
Steel Scissors=
|
||||
Hammer=
|
||||
Bulb=
|
||||
Lampshade=
|
||||
Plastic Sheet=
|
||||
Plastic Strip=
|
||||
Metal Wire=
|
||||
Chain=
|
||||
Set from four bulbs=
|
||||
Wolfram Wire=
|
||||
Silver Wire=
|
||||
Set from four lampshades=
|
||||
Digital Dial=
|
||||
Brass Ingot=
|
||||
Steel Stripe=
|
||||
Brass Stripe=
|
||||
Gear=
|
||||
Spring=
|
||||
Wax Lump=
|
||||
Wax Candle=
|
||||
Chainlink=
|
||||
Terracotta Fragment=
|
||||
Copper And Tin=
|
||||
Copper And Zinc=
|
||||
Marble Sheet=
|
||||
Syphon=
|
||||
Board=
|
||||
Jungle Board=
|
||||
Plank=
|
||||
Jungle Plank=
|
||||
Aspen Plank=
|
||||
Pine Plank=
|
||||
Drawer=
|
||||
Jungle Drawer=
|
||||
Aspen Drawer=
|
||||
Pine Drawer=
|
||||
|
||||
# ores.lua
|
||||
Wolfram Ore=
|
||||
Desert Wolfram Ore=
|
||||
Wolfram Lump=
|
||||
Wolfram Ingot=
|
||||
Zinc Ore=
|
||||
Desert Zinc Ore=
|
||||
Zinc Fragment=
|
||||
Zinc Ingot=
|
||||
Granite Block=
|
||||
Consolidated Oil (use furnace to melt)=
|
||||
Oil Source=
|
||||
Flowing Oil=
|
@ -1,5 +1,5 @@
|
||||
name = craft_ingredients
|
||||
description = Set of items necessary for crafting the furniture
|
||||
depends = bucket, default, doors
|
||||
depends = decor_api, bucket
|
||||
optional_depends = moreores, ethereal
|
||||
author = Andrey01
|
||||
|
@ -1,5 +1,7 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
minetest.register_node(":multidecor:wolfram_ore", {
|
||||
description = "Wolfram Ore",
|
||||
description = S("Wolfram Ore"),
|
||||
tiles = {"default_stone.png^multidecor_wolfram_mineral.png"},
|
||||
is_ground_content = true,
|
||||
paramtype = "light",
|
||||
@ -17,7 +19,7 @@ minetest.register_node(":multidecor:wolfram_ore", {
|
||||
})
|
||||
|
||||
minetest.register_node(":multidecor:desert_wolfram_ore", {
|
||||
description = "Desert Wolfram Ore",
|
||||
description = S("Desert Wolfram Ore"),
|
||||
tiles = {"default_desert_stone.png^multidecor_wolfram_mineral.png"},
|
||||
is_ground_content = true,
|
||||
paramtype = "light",
|
||||
@ -58,13 +60,13 @@ minetest.register_ore({
|
||||
|
||||
minetest.register_craftitem(":multidecor:wolfram_lump",
|
||||
{
|
||||
description = "Wolfram Lump",
|
||||
description = S("Wolfram Lump"),
|
||||
inventory_image = "multidecor_wolfram_lump.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:wolfram_ingot",
|
||||
{
|
||||
description = "Wolfram Ingot",
|
||||
description = S("Wolfram Ingot"),
|
||||
inventory_image = "multidecor_wolfram_ingot.png"
|
||||
})
|
||||
|
||||
@ -76,7 +78,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node(":multidecor:zinc_ore", {
|
||||
description = "Zinc Ore",
|
||||
description = S("Zinc Ore"),
|
||||
tiles = {"default_stone.png^multidecor_zinc_mineral.png"},
|
||||
is_ground_content = true,
|
||||
paramtype = "light",
|
||||
@ -94,7 +96,7 @@ minetest.register_node(":multidecor:zinc_ore", {
|
||||
})
|
||||
|
||||
minetest.register_node(":multidecor:desert_zinc_ore", {
|
||||
description = "Desert Zinc Ore",
|
||||
description = S("Desert Zinc Ore"),
|
||||
tiles = {"default_desert_stone.png^multidecor_zinc_mineral.png"},
|
||||
is_ground_content = true,
|
||||
paramtype = "light",
|
||||
@ -135,13 +137,13 @@ minetest.register_ore({
|
||||
|
||||
minetest.register_craftitem(":multidecor:zinc_fragment",
|
||||
{
|
||||
description = "Zinc Fragment",
|
||||
description = S("Zinc Fragment"),
|
||||
inventory_image = "multidecor_zinc_fragment.png"
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:zinc_ingot",
|
||||
{
|
||||
description = "Zinc Ingot",
|
||||
description = S("Zinc Ingot"),
|
||||
inventory_image = "multidecor_zinc_ingot.png"
|
||||
})
|
||||
|
||||
@ -153,7 +155,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_node(":multidecor:granite_block", {
|
||||
description = "Granite Block",
|
||||
description = S("Granite Block"),
|
||||
paramtype = "light",
|
||||
paramtype2 = "none",
|
||||
sunlight_propagates = true,
|
||||
@ -186,7 +188,7 @@ minetest.register_ore({
|
||||
|
||||
|
||||
minetest.register_node(":multidecor:consolidated_oil", {
|
||||
description = "Consolidated Oil (use furnace to melt)",
|
||||
description = S("Consolidated Oil (use furnace to melt)"),
|
||||
tiles = {"multidecor_consolidated_oil.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -224,7 +226,7 @@ local oil_def = {
|
||||
|
||||
local oil_src_def = table.copy(oil_def)
|
||||
|
||||
oil_src_def.description = "Oil Source"
|
||||
oil_src_def.description = S("Oil Source")
|
||||
oil_src_def.drawtype = "liquid"
|
||||
oil_src_def.tiles = {table.copy(oil_anim_def)}
|
||||
oil_src_def.tiles[1].name = "multidecor_oil_source_animated.png"
|
||||
@ -234,7 +236,7 @@ minetest.register_node(":multidecor:oil_source", oil_src_def)
|
||||
|
||||
local oil_flow_def = table.copy(oil_def)
|
||||
|
||||
oil_flow_def.description = "Flowing Oil"
|
||||
oil_flow_def.description = S("Flowing Oil")
|
||||
oil_flow_def.drawtype = "flowingliquid"
|
||||
oil_flow_def.paramtype2 = "flowingliquid"
|
||||
oil_flow_def.tiles = {"multidecor_oil_source.png"}
|
||||
|
BIN
craft_ingredients/textures/multidecor_brass_sheet.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
craft_ingredients/textures/multidecor_silver_sheet.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
craft_ingredients/textures/multidecor_steel_stripe.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
@ -27,7 +27,7 @@ local default_bed_on_rightclick = function(pos, node, clicker, itemstack, pointe
|
||||
local tpos = is_lpos_fr and lpos or is_lpos2_fr and lpos2
|
||||
|
||||
if not tpos then
|
||||
minetest.chat_send_player(clicker:get_player_name(), "This bed is already occupied!")
|
||||
minetest.chat_send_player(clicker:get_player_name(), multidecor.S("This bed is already occupied!"))
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -10,7 +10,7 @@ function multidecor.clock.get_current_time()
|
||||
end
|
||||
|
||||
function multidecor.clock.get_formatted_time_str(hours, minutes)
|
||||
return ("Current time: %d:%d"):format(hours, minutes)
|
||||
return (multidecor.S("Current time: %d:%d")):format(hours, minutes)
|
||||
end
|
||||
|
||||
function multidecor.clock.default_on_construct(pos)
|
||||
|
@ -162,7 +162,7 @@ function multidecor.doors.default_node_on_rightclick(pos, node, clicker)
|
||||
if door_data.has_lock then
|
||||
local playername = clicker:get_player_name()
|
||||
if owner ~= playername then
|
||||
minetest.chat_send_player(playername, "This door has locked!")
|
||||
minetest.chat_send_player(playername, multidecor.S("This door has locked!"))
|
||||
return
|
||||
end
|
||||
end
|
||||
@ -218,7 +218,7 @@ end
|
||||
|
||||
function multidecor.doors.default_entity_on_rightclick(self, clicker)
|
||||
if self.owner and self.owner ~= clicker:get_player_name() then
|
||||
minetest.chat_send_player("This door has locked!")
|
||||
minetest.chat_send_player(multidecor.S("This door has locked!"))
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -34,3 +34,4 @@ dofile(modpath .. "/seat.lua")
|
||||
dofile(modpath .. "/shelves.lua")
|
||||
dofile(modpath .. "/table.lua")
|
||||
dofile(modpath .. "/tap.lua")
|
||||
dofile(modpath .. "/tools_sounds.lua")
|
||||
|
39
decor_api/locale/decor_api.ru.tr
Normal file
@ -0,0 +1,39 @@
|
||||
# textdomain: decor_api
|
||||
|
||||
# init.lua
|
||||
|
||||
# beds.lua
|
||||
This bed is already occupied!=Эта кровать уже занята!
|
||||
|
||||
# clock.lua
|
||||
Current time: %d:%d=Текущее время: %d:%d
|
||||
|
||||
# door.lua
|
||||
This door has locked!=Эта дверь закрыта!
|
||||
|
||||
# register.lua
|
||||
@nStyle: =@nСтиль:
|
||||
@nMaterial: =@nМатериал:
|
||||
baroque=барокко
|
||||
classic=классический
|
||||
high_tech=хай-тек
|
||||
mixed=смешанный
|
||||
modern=модерн
|
||||
royal=роял
|
||||
wood=дерево
|
||||
glass=стекло
|
||||
metal=металл
|
||||
plastic=пластик
|
||||
stone=камень
|
||||
|
||||
# shelves.lua
|
||||
Unlock Shelf@n(do it accessible by everyone)=Открыть полку@n(открыть доступ для всех)
|
||||
Lock Shelf@n(do it accessible only by you and everyone from the share group)=Закрыть полку@n(открыть доступ только Вам и всем из группы общего доступа)
|
||||
Share access@n(provide access to certain players)=Поделиться@n(открыть доступ определённым игрокам)
|
||||
Enter name of player to add to the group=Введите имя игрока, которого хотите добавить
|
||||
Owned by =Владелец:
|
||||
@nShare group:@n=@nОбщий доступ:@n
|
||||
Cooked to: =Приготовлено в
|
||||
|
||||
# sitting.lua
|
||||
This seat is busy!=Это место занято!
|
39
decor_api/locale/template.txt
Normal file
@ -0,0 +1,39 @@
|
||||
# textdomain: decor_api
|
||||
|
||||
# init.lua
|
||||
|
||||
# beds.lua
|
||||
This bed is already occupied!=
|
||||
|
||||
# clock.lua
|
||||
Current time: %d:%d=
|
||||
|
||||
# door.lua
|
||||
This door has locked!=
|
||||
|
||||
# register.lua
|
||||
@nStyle: =
|
||||
@nMaterial: =
|
||||
baroque=
|
||||
classic=
|
||||
high_tech=
|
||||
mixed=
|
||||
modern=
|
||||
royal=
|
||||
wood=
|
||||
glass=
|
||||
metal=
|
||||
plastic=
|
||||
stone=
|
||||
|
||||
# shelves.lua
|
||||
Unlock Shelf@n(do it accessible by everyone)=
|
||||
Lock Shelf@n(do it accessible only by you and everyone from the share group)=
|
||||
Share access@n(provide access to certain players)=
|
||||
Enter name of player to add to the group=
|
||||
Owned by =
|
||||
@nShare group:@n=
|
||||
Cooked to: =
|
||||
|
||||
# sitting.lua
|
||||
This seat is busy!=
|
@ -1,4 +1,4 @@
|
||||
name = decor_api
|
||||
description = Set of API functions for various furniture stuff
|
||||
depends = default, moreores
|
||||
depends = default
|
||||
author = Andrey01
|
||||
|
@ -114,8 +114,9 @@ function multidecor.placement.check_for_placement(pos, placer, itemstack)
|
||||
|
||||
if not can_be_placed then
|
||||
minetest.remove_node(pos)
|
||||
|
||||
itemstack:set_count(itemstack:get_count()+1)
|
||||
return itemstack
|
||||
else
|
||||
itemstack:set_count(itemstack:get_count()-1)
|
||||
end
|
||||
|
||||
return itemstack
|
||||
end
|
||||
|
@ -93,13 +93,11 @@ function multidecor.register.build_description(name, base_desc)
|
||||
local style = multidecor.register.get_name_from_category(name, 1)
|
||||
local material = multidecor.register.get_name_from_category(name, 2)
|
||||
|
||||
return base_desc .. "\nStyle: " .. style .. (material ~= "" and "\nMaterial: " .. material or "")
|
||||
return base_desc .. multidecor.S("\nStyle: ") .. multidecor.S(style) .. (material ~= "" and multidecor.S("\nMaterial: ") .. multidecor.S(material) or "")
|
||||
end
|
||||
|
||||
function multidecor.register.after_place_node(pos, placer, itemstack)
|
||||
local leftover = multidecor.placement.check_for_placement(pos, placer, itemstack)
|
||||
|
||||
return leftover
|
||||
return multidecor.placement.check_for_placement(pos, placer, itemstack)
|
||||
end
|
||||
|
||||
function multidecor.register.on_punch(pos, node, puncher)
|
||||
@ -133,15 +131,7 @@ function multidecor.register.on_punch(pos, node, puncher)
|
||||
wielded_item:set_wear(wielded_item:get_wear()+math.modf(65535/50))
|
||||
puncher:set_wielded_item(wielded_item)
|
||||
|
||||
if not multidecor.players_actions_sounds[playername] then
|
||||
multidecor.players_actions_sounds[playername] = {
|
||||
name = "multidecor_scraping",
|
||||
cur_time = 0.0,
|
||||
durability = 4.0
|
||||
}
|
||||
|
||||
minetest.sound_play("multidecor_scraping", {to_player=playername})
|
||||
end
|
||||
multidecor.tools_sounds.play(playername, 4)
|
||||
end
|
||||
|
||||
--[[def:
|
||||
@ -188,7 +178,7 @@ function multidecor.register.register_furniture_unit(name, def, craft_def)
|
||||
assert(multidecor.register.category_contains(def.type, 0), "The type with a name \"" .. def.type .. "\" is not registered!")
|
||||
assert(multidecor.register.category_contains(def.style, 1), "The style with a name \"" .. def.style .. "\" is not registered!")
|
||||
|
||||
f_def.description = multidecor.S(def.description)
|
||||
f_def.description = def.description
|
||||
f_def.visual_scale = def.visual_scale or 0.5
|
||||
f_def.wield_scale = def.wield_scale or {x=0.5, y=0.5, z=0.5}
|
||||
f_def.drawtype = def.drawtype or "mesh"
|
||||
@ -235,7 +225,7 @@ function multidecor.register.register_furniture_unit(name, def, craft_def)
|
||||
f_def.groups.oddly_breakable_by_hand = 1
|
||||
end
|
||||
|
||||
f_def.description = f_def.description .. "\nStyle: " .. def.style .. (def.material and "\nMaterial: " .. def.material or "")
|
||||
f_def.description = f_def.description .. multidecor.S("\nStyle: ") .. multidecor.S(def.style) .. (def.material and multidecor.S("\nMaterial: ") .. multidecor.S(def.material) or "")
|
||||
if def.bounding_boxes then
|
||||
if f_def.drawtype == "nodebox" then
|
||||
f_def.node_box = {
|
||||
|
@ -123,15 +123,15 @@ function multidecor.shelves.build_main_formspec(pos, common_name, data, shelf_nu
|
||||
if show_lock_btns then
|
||||
local lock_img_name = locked and "multidecor_unlock_icon.png" or "multidecor_lock_icon.png"
|
||||
local lock_name = locked and "unlock_button" or "lock_button"
|
||||
local lock_tooltip = locked and "Unlock Shelf\n(do it accessible by everyone)" or
|
||||
"Lock Shelf\n(do it accessible only by you and everyone from the share group)"
|
||||
local lock_tooltip = locked and multidecor.S("Unlock Shelf\n(do it accessible by everyone)") or
|
||||
multidecor.S("Lock Shelf\n(do it accessible only by you and everyone from the share group)")
|
||||
|
||||
fs = fs .. ("image_button[%f,0.5;1,1;%s;%s;]"):format(fs_size.w-padding, lock_img_name, lock_name) ..
|
||||
("tooltip[%s;%s]"):format(lock_name, lock_tooltip)
|
||||
|
||||
if locked then
|
||||
fs = fs .. ("image_button[%f,2.0;1,1;multidecor_share_icon.png;share_button;]"):format(fs_size.w-padding) ..
|
||||
"tooltip[share_button;Share access\n(provide access to certain players)]"
|
||||
"tooltip[share_button;" .. multidecor.S("Share access\n(provide access to certain players)") .. "]"
|
||||
end
|
||||
end
|
||||
|
||||
@ -178,7 +178,7 @@ function multidecor.shelves.build_share_formspec(members)
|
||||
|
||||
fs = fs .. table.concat({
|
||||
"scroll_container_end[]",
|
||||
"field[1,5.5;5,0.5;share_add_field;Enter name of player to add to the group;]",
|
||||
"field[1,5.5;5,0.5;share_add_field;" .. multidecor.S("Enter name of player to add to the group") .. ";]",
|
||||
"button[6,5.5;1,0.5;share_add_button;Add]"
|
||||
})
|
||||
|
||||
@ -189,7 +189,7 @@ function multidecor.shelves.build_infotext(lock_info)
|
||||
local infotext = ""
|
||||
|
||||
if lock_info then
|
||||
infotext = "Owned by " .. lock_info.owner .. "\nShare group:\n"
|
||||
infotext = multidecor.S("Owned by ") .. lock_info.owner .. multidecor.S("\nShare group:\n")
|
||||
|
||||
for _, member in ipairs(lock_info.share) do
|
||||
infotext = infotext .. "\t" .. member .. "\n"
|
||||
@ -548,7 +548,7 @@ local function cook_step(pos, shelf_i, lock_info, dtime, obj)
|
||||
cook_info[4] = cook_info[2]/cook_info[3]*100
|
||||
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("infotext", "Cooked to: " .. tostring(math.round(cook_info[4])) .. " %")
|
||||
meta:set_string("infotext", multidecor.S("Cooked to: ") .. tostring(math.round(cook_info[4])) .. " %")
|
||||
|
||||
local name = minetest.get_node(pos).name
|
||||
local shelves_data = minetest.registered_nodes[name].add_properties.shelves_data
|
||||
|
@ -71,7 +71,7 @@ function multidecor.sitting.sit_player(player, node_pos)
|
||||
|
||||
local playername = player:get_player_name()
|
||||
if multidecor.sitting.is_seat_busy(node_pos) then
|
||||
minetest.chat_send_player(playername, "This seat is busy!")
|
||||
minetest.chat_send_player(playername, multidecor.S("This seat is busy!"))
|
||||
return false
|
||||
end
|
||||
|
||||
|
75
decor_api/tools_sounds.lua
Normal file
@ -0,0 +1,75 @@
|
||||
multidecor.tools_sounds = {}
|
||||
|
||||
-- Predefined sounds for these tools
|
||||
multidecor.tools_sounds.sounds = {
|
||||
{name="saw", durability=3},
|
||||
{name="steel_scissors", durability=2},
|
||||
{name="hammer", durability=1},
|
||||
{name="scraping", durability=4}
|
||||
}
|
||||
|
||||
-- Maps a playername to the current playing tool sound
|
||||
multidecor.tools_sounds.current_sounds = {}
|
||||
|
||||
-- Plays some locationless sound having 'sound_index' in 'multidecor.tools_sounds.sounds' table
|
||||
-- for player 'playername'
|
||||
function multidecor.tools_sounds.play(playername, sound_index)
|
||||
if multidecor.tools_sounds.current_sounds[playername] then
|
||||
return
|
||||
end
|
||||
|
||||
if not multidecor.tools_sounds.sounds[sound_index] then
|
||||
return
|
||||
end
|
||||
|
||||
local sound = multidecor.tools_sounds.sounds[sound_index]
|
||||
multidecor.tools_sounds.current_sounds[playername] = {
|
||||
name = sound.name,
|
||||
cur_time = 0.0,
|
||||
durability = sound.durability
|
||||
}
|
||||
|
||||
minetest.sound_play("multidecor_" .. sound.name, {to_player=playername})
|
||||
end
|
||||
|
||||
minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv)
|
||||
local sound_index
|
||||
|
||||
local function check_for_item(itemname)
|
||||
for i, sound in pairs(multidecor.tools_sounds.sounds) do
|
||||
if "multidecor:" .. sound.name == itemname then
|
||||
sound_index = i
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for _, stack in ipairs(old_craft_grid) do
|
||||
check_for_item(stack:get_name())
|
||||
if sound_index ~= nil then
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if sound_index ~= nil then
|
||||
multidecor.tools_sounds.play(player:get_player_name(), sound_index)
|
||||
end
|
||||
|
||||
return
|
||||
end)
|
||||
|
||||
minetest.register_globalstep(function(dtime)
|
||||
for _, player in ipairs(minetest.get_connected_players()) do
|
||||
local playername = player:get_player_name()
|
||||
local cur_sound = multidecor.tools_sounds.current_sounds[playername]
|
||||
|
||||
if cur_sound then
|
||||
cur_sound.cur_time = cur_sound.cur_time + dtime
|
||||
|
||||
if cur_sound.cur_time >= cur_sound.durability then
|
||||
multidecor.tools_sounds.current_sounds[playername] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
@ -1,7 +1,7 @@
|
||||
local bathtub_def = {{
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Bathtub",
|
||||
description = modern.S("Bathtub"),
|
||||
mesh = "multidecor_bathtub.b3d",
|
||||
tiles = {
|
||||
"multidecor_marble_material.png",
|
||||
@ -30,8 +30,8 @@ local bathtub_def = {{
|
||||
multidecor.register.register_seat("bathtub", bathtub_def[1], bathtub_def[2],
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:marble_sheet", "multidecor:marble_sheet", "multidecor:steel_sheet"},
|
||||
{"multidecor:marble_sheet", "multidecor:marble_sheet", "multidecor:steel_sheet"},
|
||||
{"multidecor:marble_sheet", "multidecor:marble_sheet", "multidecor:coarse_steel_sheet"},
|
||||
{"multidecor:marble_sheet", "multidecor:marble_sheet", "multidecor:steel_stripe"},
|
||||
{"multidecor:marble_sheet", "multidecor:hammer", ""}
|
||||
},
|
||||
replacements = {{"multidecor:hammer", "multidecor:hammer"}}
|
||||
@ -46,9 +46,9 @@ local ceramic_tiles = {
|
||||
{"green_mosaic", {"dye:green"}},
|
||||
{"brown_flowers", {"dye:brown", "dye:orange"}},
|
||||
{"brown_dandelion", {"dye:brown", "dye:orange", "dye:orange"}},
|
||||
{"darkceladon_marble", {"dye:dark_green", "dye:cyan"}},
|
||||
{"darksea_marble", {"dye:blue", "dye:cyan"}},
|
||||
{"marble", {}}
|
||||
{"darkceladon_patterned", {"dye:dark_green", "dye:cyan"}},
|
||||
{"darksea_patterned", {"dye:blue", "dye:cyan"}},
|
||||
{"grey", {"dye:grey"}}
|
||||
}
|
||||
|
||||
local tile_bboxes = {
|
||||
@ -59,13 +59,32 @@ local tile_bboxes = {
|
||||
|
||||
}
|
||||
|
||||
minetest.register_node(":multidecor:ceramic_tile", {
|
||||
description = modern.S("Ceramic Tile"),
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 1.0,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
tiles = {"default_clay.png"},
|
||||
groups = {cracky=3.5},
|
||||
node_box = tile_bboxes,
|
||||
selection_box = tile_bboxes,
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "multidecor:ceramic_tile",
|
||||
recipe = {"default:clay_lump", "default:clay_lump"}
|
||||
})
|
||||
|
||||
for _, tile in ipairs(ceramic_tiles) do
|
||||
local tile_name = "multidecor:bathroom_ceramic_" .. tile[1] .. "_tile"
|
||||
local tex_name = "multidecor_bathroom_ceramic_" .. tile[1] .. "_tile.png"
|
||||
local upper_tile = multidecor.helpers.upper_first_letters(tile[1])
|
||||
|
||||
minetest.register_node(":" .. tile_name, {
|
||||
description = "Bathroom Ceramic " .. upper_tile .. " Tile",
|
||||
description = modern.S("Bathroom Ceramic " .. upper_tile .. " Tile"),
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 1.0,
|
||||
paramtype = "light",
|
||||
@ -77,7 +96,7 @@ for _, tile in ipairs(ceramic_tiles) do
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
local recipe = {"default:clay_lump", "default:clay_lump"}
|
||||
local recipe = {"multidecor:ceramic_tile"}
|
||||
table.copy_to(tile[2], recipe)
|
||||
table.insert(recipe, "multidecor:paint_brush")
|
||||
|
||||
@ -90,7 +109,7 @@ for _, tile in ipairs(ceramic_tiles) do
|
||||
|
||||
local block_name = "multidecor:bathroom_ceramic_" .. tile[1] .. "_tiles_block"
|
||||
minetest.register_node(":" .. block_name, {
|
||||
description = "Bathroom Ceramic " .. upper_tile .. " Tiles Block",
|
||||
description = modern.S("Bathroom Ceramic " .. upper_tile .. " Tiles Block"),
|
||||
visual_scale = 0.5,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -106,6 +125,14 @@ for _, tile in ipairs(ceramic_tiles) do
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_alias("multidecor:bathroom_ceramic_darkceladon_marble_tile", "multidecor:bathroom_ceramic_darkceladon_patterned_tile")
|
||||
minetest.register_alias("multidecor:bathroom_ceramic_darkceladon_marble_tiles_block", "multidecor:bathroom_ceramic_darkceladon_patterned_tiles_block")
|
||||
minetest.register_alias("multidecor:bathroom_ceramic_darksea_marble_tile", "multidecor:bathroom_ceramic_darksea_patterned_tile")
|
||||
minetest.register_alias("multidecor:bathroom_ceramic_darksea_marble_tiles_block", "multidecor:bathroom_ceramic_darksea_patterned_tiles_block")
|
||||
minetest.register_alias("multidecor:bathroom_ceramic_marble_tile", "multidecor:bathroom_ceramic_grey_tile")
|
||||
minetest.register_alias("multidecor:bathroom_ceramic_marble_tiles_block", "multidecor:bathroom_ceramic_grey_tiles_block")
|
||||
|
||||
|
||||
local bathroom_styles = {1, 2, 3, 4, 5, 6}
|
||||
|
||||
for _, style in ipairs(bathroom_styles) do
|
||||
@ -116,7 +143,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
|
||||
local panel_name = "multidecor:bathroom_wooden_" .. style_name .. "_panel"
|
||||
minetest.register_craftitem(":" .. panel_name, {
|
||||
description = "Bathroom Wooden " .. upper_tile .. " Panel",
|
||||
description = modern.S("Bathroom Wooden " .. upper_tile .. " Panel"),
|
||||
inventory_image = tex_name
|
||||
})
|
||||
|
||||
@ -132,7 +159,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
})
|
||||
|
||||
local bathtub_with_shields_def = table.copy(bathtub_def)
|
||||
bathtub_with_shields_def[1].description = "Bathtub With " .. upper_tile .. " Shields"
|
||||
bathtub_with_shields_def[1].description = modern.S("Bathtub With " .. upper_tile .. " Shields")
|
||||
bathtub_with_shields_def[1].mesh = "multidecor_bathtub_with_shields.b3d"
|
||||
table.insert(bathtub_with_shields_def[1].tiles, tex_name)
|
||||
|
||||
@ -148,7 +175,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
multidecor.register.register_table("bathroom_washbasin_" .. style_name, {
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Bathroom Washbasin With " .. upper_tile .. " Doors",
|
||||
description = modern.S("Bathroom Washbasin With " .. upper_tile .. " Doors"),
|
||||
mesh = "multidecor_bathroom_washbasin.b3d",
|
||||
inventory_image = "multidecor_bathroom_" .. style_name .. "_washbasin_inv.png",
|
||||
tiles = {
|
||||
@ -206,9 +233,9 @@ for _, style in ipairs(bathroom_styles) do
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:bathroom_sink", "multidecor:steel_sheet", "multidecor:syphon"},
|
||||
{"multidecor:bathroom_sink", "multidecor:bathroom_tap_with_cap_flap", "multidecor:syphon"},
|
||||
{panel_name, panel_name, panel_name},
|
||||
{"multidecor:saw", "", ""}
|
||||
{"multidecor:saw", "multidecor:steel_stripe", ""}
|
||||
},
|
||||
replacements = {{"multidecor:saw", "multidecor:saw"}}
|
||||
})
|
||||
@ -216,7 +243,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
multidecor.register.register_table("bathroom_wall_cabinet_" .. style_name, {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Bathroom Wall Cabinet With " .. upper_tile .. " Doors",
|
||||
description = modern.S("Bathroom Wall Cabinet With " .. upper_tile .. " Doors"),
|
||||
mesh = "multidecor_bathroom_wall_cabinet.b3d",
|
||||
tiles = {"multidecor_white_pine_wood.png"},
|
||||
inventory_image = "multidecor_bathroom_" .. style_name .. "_wall_cabinet_inv.png",
|
||||
@ -251,7 +278,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:pine_board", "multidecor:pine_board", "multidecor:pine_board"},
|
||||
{"multidecor:pine_board", "dye:white", "multidecor:steel_sheet"},
|
||||
{"multidecor:pine_board", "dye:white", "multidecor:steel_stripe"},
|
||||
{panel_name, "multidecor:saw", ""}
|
||||
},
|
||||
replacements = {{"multidecor:saw", "multidecor:saw"}}
|
||||
@ -260,7 +287,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
multidecor.register.register_table("bathroom_wall_set_with_mirror_" .. style_name, {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Bathroom " .. upper_tile .. "Wall Set With Mirror",
|
||||
description = modern.S("Bathroom " .. upper_tile .. "Wall Set With Mirror"),
|
||||
mesh = "multidecor_bathroom_wall_set_with_mirror.b3d",
|
||||
tiles = {
|
||||
"multidecor_white_pine_wood.png",
|
||||
@ -301,7 +328,7 @@ for _, style in ipairs(bathroom_styles) do
|
||||
recipe = {
|
||||
{"multidecor:pine_board", "multidecor:pine_board", "xpanes:pane_flat"},
|
||||
{"multidecor:pine_plank", panel_name, "multidecor:plastic_sheet"},
|
||||
{"multidecor:steel_sheet", "multidecor:saw", ""}
|
||||
{"multidecor:steel_stripe", "multidecor:saw", ""}
|
||||
},
|
||||
replacements = {{"multidecor:saw", "multidecor:saw"}}
|
||||
})
|
||||
@ -311,7 +338,7 @@ multidecor.register.register_furniture_unit("bathroom_fluffy_rug", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Bathroom Fluffy Rug",
|
||||
description = modern.S("Bathroom Fluffy Rug"),
|
||||
mesh = "multidecor_bathroom_fluffy_rug.b3d",
|
||||
tiles = {
|
||||
"multidecor_fluff_material.png"
|
||||
@ -329,7 +356,7 @@ multidecor.register.register_furniture_unit("bathroom_sink", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Bathroom Sink",
|
||||
description = modern.S("Bathroom Sink"),
|
||||
mesh = "multidecor_bathroom_sink.b3d",
|
||||
groups = {sink=1},
|
||||
tiles = {
|
||||
@ -359,7 +386,7 @@ multidecor.register.register_furniture_unit("bathroom_shower_base", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Bathroom Shower Base",
|
||||
description = modern.S("Bathroom Shower Base"),
|
||||
mesh = "multidecor_shower_base.b3d",
|
||||
groups = {sink=1},
|
||||
tiles = {
|
||||
@ -378,7 +405,7 @@ multidecor.register.register_furniture_unit("bathroom_shower_base", {
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:marble_sheet", "multidecor:steel_sheet", "multidecor:hammer"},
|
||||
{"multidecor:marble_sheet", "multidecor:steel_stripe", "multidecor:hammer"},
|
||||
{"multidecor:marble_sheet", "", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
@ -389,7 +416,7 @@ multidecor.register.register_furniture_unit("bathroom_slatted_ceiling", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Bathroom Slatted Ceiling",
|
||||
description = modern.S("Bathroom Slatted Ceiling"),
|
||||
mesh = "multidecor_slatted_ceiling.b3d",
|
||||
groups = {sink=1},
|
||||
tiles = {"multidecor_bathroom_slatted_ceiling.png"},
|
||||
@ -409,7 +436,7 @@ multidecor.register.register_furniture_unit("bathroom_slatted_ceiling_with_lamp"
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
light_source = 12,
|
||||
description = "Bathroom Slatted Ceiling With Lamp",
|
||||
description = modern.S("Bathroom Slatted Ceiling With Lamp"),
|
||||
mesh = "multidecor_slatted_ceiling_with_lamp.b3d",
|
||||
groups = {sink=1},
|
||||
tiles = {
|
||||
@ -424,7 +451,7 @@ multidecor.register.register_furniture_unit("bathroom_slatted_ceiling_with_lamp"
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:plastic_sheet", "multidecor:bulb", "multidecor:steel_sheet"},
|
||||
{"multidecor:plastic_sheet", "multidecor:bulb", "multidecor:steel_stripe"},
|
||||
{"multidecor:plastic_sheet", "multidecor:steel_scissors", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
@ -434,7 +461,7 @@ multidecor.register.register_furniture_unit("bathroom_slatted_ceiling_with_lamp"
|
||||
multidecor.register.register_seat("toilet", {
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Toilet",
|
||||
description = modern.S("Toilet"),
|
||||
mesh = "multidecor_toilet.b3d",
|
||||
tiles = {
|
||||
"multidecor_marble_material.png",
|
||||
@ -510,7 +537,7 @@ multidecor.register.register_curtain("bathroom_curtain", {
|
||||
sound = "multidecor_curtain_sliding",
|
||||
curtain_with_rings = {
|
||||
name = "bathroom_curtain_with_rings",
|
||||
description = "Bathroom Curtain With Rings",
|
||||
description = modern.S("Bathroom Curtain With Rings"),
|
||||
mesh = "multidecor_curtain_with_rings.b3d",
|
||||
tiles = {"multidecor_cloth.png", {name="multidecor_metal_material.png",color=0xffffffff}},
|
||||
craft = {
|
||||
@ -524,7 +551,7 @@ multidecor.register.register_curtain("bathroom_curtain", {
|
||||
},
|
||||
curtain = {
|
||||
name = "bathroom_curtain",
|
||||
description = "Bathroom Curtain",
|
||||
description = modern.S("Bathroom Curtain"),
|
||||
mesh = "multidecor_curtain.b3d",
|
||||
tiles = {"multidecor_cloth.png"},
|
||||
craft = {
|
||||
@ -542,7 +569,7 @@ multidecor.register.register_curtain("bathroom_curtain", {
|
||||
multidecor.register.register_table("plastic_quadratic_cornice", {
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Plastic Quadratic Cornice",
|
||||
description = modern.S("Plastic Quadratic Cornice"),
|
||||
mesh = "multidecor_quadratic_cornice.b3d",
|
||||
tiles = {"multidecor_plastic_material.png"},
|
||||
groups = {hanger=1},
|
||||
@ -581,7 +608,7 @@ multidecor.register.register_furniture_unit("bathroom_tap_with_cap_flap", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Bathroom Tap With Cap Flap",
|
||||
description = modern.S("Bathroom Tap With Cap Flap"),
|
||||
mesh = "multidecor_bathroom_tap_with_cap_flap.b3d",
|
||||
tiles = {"multidecor_metal_material.png"},
|
||||
bounding_boxes = {{-0.3, -0.1, 0.0, 0.3, 0.2, 0.5}},
|
||||
@ -619,7 +646,7 @@ multidecor.register.register_furniture_unit("bathroom_tap_with_side_flaps", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Bathroom Tap With Side Flaps",
|
||||
description = modern.S("Bathroom Tap With Side Flaps"),
|
||||
mesh = "multidecor_bathroom_tap_with_side_flaps.b3d",
|
||||
tiles = {"multidecor_metal_material.png"},
|
||||
bounding_boxes = {{-0.3, -0.2, 0.0, 0.3, 0.1, 0.5}},
|
||||
@ -657,7 +684,7 @@ multidecor.register.register_furniture_unit("shower_head", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Shower Head",
|
||||
description = modern.S("Shower Head"),
|
||||
mesh = "multidecor_shower_head.b3d",
|
||||
tiles = {"multidecor_metal_material5.png", "multidecor_shower_head.png"},
|
||||
bounding_boxes = {{-0.2, -0.5, -0.2, 0.2, 0.35, 0.5}},
|
||||
@ -696,7 +723,7 @@ multidecor.register.register_furniture_unit("crooked_shower_head", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Crooked Shower Head",
|
||||
description = modern.S("Crooked Shower Head"),
|
||||
mesh = "multidecor_crooked_shower_head.b3d",
|
||||
tiles = {"multidecor_coarse_metal_material.png", "multidecor_crooked_shower_head.png"},
|
||||
bounding_boxes = {{-0.2, -0.3, -0.3, 0.2, 0.3, 0.5}},
|
||||
@ -734,7 +761,7 @@ multidecor.register.register_furniture_unit("bathroom_mirror", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Bathroom Mirror",
|
||||
description = modern.S("Bathroom Mirror"),
|
||||
mesh = "multidecor_bathroom_mirror.b3d",
|
||||
tiles = {"multidecor_gloss.png"},
|
||||
bounding_boxes = {{-0.4, -0.5, 0.4, 0.4, 0.5, 0.5}}
|
||||
@ -750,7 +777,7 @@ multidecor.register.register_furniture_unit("toilet_paper_reel", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Toilet Paper Reel",
|
||||
description = modern.S("Toilet Paper Reel"),
|
||||
mesh = "multidecor_toilet_paper_reel.b3d",
|
||||
tiles = {"multidecor_metal_material5.png", "multidecor_wool_material.png"},
|
||||
bounding_boxes = {{-0.3, 0, 0.1, 0.3, 0.35, 0.5}}
|
||||
@ -768,7 +795,7 @@ multidecor.register.register_furniture_unit("underwear_tank", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Underwear Tank",
|
||||
description = modern.S("Underwear Tank"),
|
||||
mesh = "multidecor_underwear_tank.b3d",
|
||||
tiles = {"multidecor_shred.png"},
|
||||
bounding_boxes = {{-0.4, -0.5, -0.3, 0.4, 0.35, 0.3}},
|
||||
|
@ -1,7 +1,7 @@
|
||||
multidecor.register.register_bed("jungle_bed", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Jungle Bed (single)",
|
||||
description = modern.S("Jungle Bed (single)"),
|
||||
visual_scale = 0.4,
|
||||
paramtype2 = "colorfacedir",
|
||||
mesh = "multidecor_jungle_bed.obj",
|
||||
@ -30,7 +30,7 @@ multidecor.register.register_bed("jungle_bed", {
|
||||
lay_pos2 = {x=-1, y=0, z=1},
|
||||
double = {
|
||||
mutable_bounding_box_indices = {1, 2},
|
||||
description = "Jungle Bed (double)",
|
||||
description = modern.S("Jungle Bed (double)"),
|
||||
inv_image = "multidecor_double_jungle_bed_inv.png",
|
||||
mesh = "multidecor_double_jungle_bed.obj"
|
||||
}
|
||||
@ -46,7 +46,7 @@ multidecor.register.register_bed("jungle_bed", {
|
||||
multidecor.register.register_bed("wooden_bed_with_legs", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Wooden bed with legs (single)",
|
||||
description = modern.S("Wooden bed with legs (single)"),
|
||||
visual_scale = 0.4,
|
||||
paramtype2 = "colorfacedir",
|
||||
mesh = "multidecor_wooden_bed_with_legs.b3d",
|
||||
@ -80,7 +80,7 @@ multidecor.register.register_bed("wooden_bed_with_legs", {
|
||||
lay_pos2 = {x=-1, y=0, z=1},
|
||||
double = {
|
||||
mutable_bounding_box_indices = {1, 2, 3},
|
||||
description = "Wooden bed with legs (double)",
|
||||
description = modern.S("Wooden bed with legs (double)"),
|
||||
inv_image = "multidecor_double_wooden_bed_inv.png",
|
||||
mesh = "multidecor_double_wooden_bed_with_legs.b3d"
|
||||
}
|
||||
@ -96,7 +96,7 @@ multidecor.register.register_bed("wooden_bed_with_legs", {
|
||||
multidecor.register.register_table("dresser_with_mirror", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Dresser With Mirror",
|
||||
description = modern.S("Dresser With Mirror"),
|
||||
mesh = "multidecor_dresser_with_mirror.b3d",
|
||||
tiles = {"multidecor_aspen_wood.png", "multidecor_gloss.png"},
|
||||
inventory_image = "multidecor_dresser_with_mirror_inv.png",
|
||||
|
@ -1,7 +1,7 @@
|
||||
multidecor.register.register_seat("kitchen_modern_wooden_chair", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Kitchen Modern Wooden Chair",
|
||||
description = modern.S("Kitchen Modern Wooden Chair"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_kitchen_modern_wooden_chair.b3d",
|
||||
tiles = {"multidecor_wood.png"},
|
||||
@ -29,7 +29,7 @@ multidecor.register.register_seat("kitchen_modern_wooden_chair", {
|
||||
multidecor.register.register_seat("soft_kitchen_modern_wooden_chair", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Soft Kitchen Modern Wooden Chair",
|
||||
description = modern.S("Soft Kitchen Modern Wooden Chair"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_soft_kitchen_modern_wooden_chair.b3d",
|
||||
@ -60,7 +60,7 @@ multidecor.register.register_seat("soft_kitchen_modern_wooden_chair", {
|
||||
multidecor.register.register_seat("soft_modern_jungle_chair", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Soft Modern Jungle Chair",
|
||||
description = modern.S("Soft Modern Jungle Chair"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_soft_modern_jungle_chair.b3d",
|
||||
@ -90,7 +90,7 @@ multidecor.register.register_seat("soft_modern_jungle_chair", {
|
||||
multidecor.register.register_seat("soft_round_modern_metallic_chair", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Soft Round Modern Metallic Chair",
|
||||
description = modern.S("Soft Round Modern Metallic Chair"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_round_soft_metallic_chair.b3d",
|
||||
@ -120,7 +120,7 @@ multidecor.register.register_seat("soft_round_modern_metallic_chair", {
|
||||
multidecor.register.register_seat("round_modern_metallic_stool", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Round Modern Metallic Stool",
|
||||
description = modern.S("Round Modern Metallic Stool"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_modern_round_metallic_stool.b3d",
|
||||
@ -149,7 +149,7 @@ multidecor.register.register_seat("round_modern_metallic_stool", {
|
||||
multidecor.register.register_seat("armchair_with_wooden_legs", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Armchair with wooden legs",
|
||||
description = modern.S("Armchair with wooden legs"),
|
||||
inventory_image = "multidecor_armchair_with_wooden_legs_inv.png",
|
||||
paramtype2 = "colorfacedir",
|
||||
mesh = "multidecor_armchair_with_wooden_legs.b3d",
|
||||
@ -185,7 +185,7 @@ multidecor.register.register_seat("armchair_with_wooden_legs", {
|
||||
multidecor.register.register_seat("sofa", {
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Sofa",
|
||||
description = modern.S("Sofa"),
|
||||
paramtype2 = "colorfacedir",
|
||||
mesh = "multidecor_modern_sofa.b3d",
|
||||
tiles = {{name="multidecor_modern_sofa.png", color=0xffffffff}, "multidecor_cloth.png"},
|
||||
|
@ -1,19 +1,47 @@
|
||||
local wallpapers = {
|
||||
"white",
|
||||
"cyan_patterned",
|
||||
"yellow_patterned",
|
||||
"white_patterned",
|
||||
}
|
||||
|
||||
local wallpapers_crafts = {
|
||||
{"dye:white"},
|
||||
{"dye:cyan", "dye:blue"},
|
||||
{"dye:yellow", "dye:white"},
|
||||
{"dye:white", "dye:grey"}
|
||||
{name="white", colorable=true, recipe={"dye:white"}},
|
||||
{name="cyan_patterned", colorable=false, recipe={"dye:cyan", "dye:blue"}},
|
||||
{name="yellow_patterned", colorable=false, recipe={"dye:yellow", "dye:white"}},
|
||||
{name="white_patterned", colorable=true, recipe={"dye:white", "dye:grey"}}
|
||||
}
|
||||
|
||||
local cover_sbox = {-0.5, -0.5, -0.05, 0.5, 0.5, 0.05}
|
||||
|
||||
local function wallpaper_colorable(name)
|
||||
for _, wallpaper_sort in ipairs(wallpapers) do
|
||||
if wallpaper_sort.name .. "_wallpaper" == name and wallpaper_sort.colorable then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
local function check_for_dye_in_inv(player)
|
||||
local inv = player:get_inventory()
|
||||
local dye_index = player:get_wield_index() + 1
|
||||
local dye = inv:get_stack("main", dye_index)
|
||||
local next_itemname = dye:get_name()
|
||||
|
||||
if not dye or dye:is_empty() or
|
||||
minetest.get_item_group(next_itemname, "dye") ~= 1 then -- no any dye next to the brush or the slot is empty
|
||||
return
|
||||
end
|
||||
|
||||
local index
|
||||
|
||||
-- Checks if the color of the given dye is supported for painting
|
||||
for colorindex, colorname in ipairs(multidecor.colors) do
|
||||
if minetest.get_item_group(next_itemname, "color_" .. colorname) == 1 then
|
||||
index = colorindex - 1
|
||||
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
return index
|
||||
end
|
||||
|
||||
minetest.register_entity(":multidecor:cover", {
|
||||
visual = "upright_sprite",
|
||||
physical = false,
|
||||
@ -36,15 +64,55 @@ minetest.register_entity(":multidecor:cover", {
|
||||
|
||||
self.cover_name = data.cover_name
|
||||
self.box = data.box
|
||||
self.color = data.color
|
||||
|
||||
local texture = "multidecor_" .. self.cover_name .. ".png"
|
||||
|
||||
if self.color then
|
||||
texture = texture .. "^[multiply:" .. self.color
|
||||
end
|
||||
|
||||
self.object:set_properties({
|
||||
textures = {texture},
|
||||
selectionbox = self.box
|
||||
})
|
||||
self.object:set_armor_groups({immortal=1})
|
||||
end,
|
||||
on_rightclick = function(self, clicker)
|
||||
local paint_brush = clicker:get_wielded_item()
|
||||
|
||||
if paint_brush:get_name() ~= "multidecor:paint_brush" then
|
||||
return
|
||||
end
|
||||
|
||||
local color_index = check_for_dye_in_inv(clicker)
|
||||
|
||||
if not color_index then
|
||||
return
|
||||
end
|
||||
|
||||
if self.cover_name ~= "plaster" and not wallpaper_colorable(self.cover_name) then
|
||||
return
|
||||
end
|
||||
|
||||
if minetest.is_protected(pos, clicker:get_player_name()) then
|
||||
return
|
||||
end
|
||||
|
||||
local color = multidecor.colors[color_index+1]
|
||||
|
||||
self.color = color
|
||||
|
||||
self.object:set_properties({
|
||||
textures = {"multidecor_" .. self.cover_name .. ".png^[multiply:" .. self.color}
|
||||
})
|
||||
|
||||
local dye_index = clicker:get_wield_index() + 1
|
||||
local inv = clicker:get_inventory()
|
||||
local dye = inv:get_stack("main", dye_index)
|
||||
dye:take_item()
|
||||
inv:set_stack("main", dye_index, dye)
|
||||
end,
|
||||
on_punch = function(self, puncher)
|
||||
local wielded_item = puncher:get_wielded_item()
|
||||
|
||||
@ -61,19 +129,10 @@ minetest.register_entity(":multidecor:cover", {
|
||||
wielded_item:set_wear(wielded_item:get_wear()+math.modf(65535/50))
|
||||
puncher:set_wielded_item(wielded_item)
|
||||
|
||||
local playername = puncher:get_player_name()
|
||||
if not multidecor.players_actions_sounds[playername] then
|
||||
multidecor.players_actions_sounds[playername] = {
|
||||
name = "multidecor_scraping",
|
||||
cur_time = 0.0,
|
||||
durability = 4.0
|
||||
}
|
||||
|
||||
minetest.sound_play("multidecor_scraping", {to_player=playername})
|
||||
end
|
||||
multidecor.tools_sounds.play(puncher:get_player_name(), 4)
|
||||
end,
|
||||
get_staticdata = function(self)
|
||||
return minetest.serialize({cover_name=self.cover_name, box=self.box})
|
||||
return minetest.serialize({cover_name=self.cover_name, box=self.box, color=self.color})
|
||||
end
|
||||
})
|
||||
|
||||
@ -107,17 +166,17 @@ local function on_place_cover(pointed_thing, cover_stack, cover_name, placer)
|
||||
return cover_stack
|
||||
end
|
||||
|
||||
for i, wallpaper_sort in ipairs(wallpapers) do
|
||||
local itemname = wallpaper_sort .. "_wallpaper"
|
||||
for _, wallpaper_sort in ipairs(wallpapers) do
|
||||
local itemname = wallpaper_sort.name .. "_wallpaper"
|
||||
minetest.register_craftitem(":multidecor:" .. itemname, {
|
||||
description = hlpfuncs.upper_first_letters(itemname),
|
||||
description = modern.S(hlpfuncs.upper_first_letters(itemname)),
|
||||
inventory_image = "multidecor_" .. itemname .. ".png",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return on_place_cover(pointed_thing, itemstack, itemname, placer)
|
||||
end
|
||||
})
|
||||
|
||||
local recipe = table.copy(wallpapers_crafts[i])
|
||||
local recipe = table.copy(wallpaper_sort.recipe)
|
||||
table.insert(recipe, "default:paper")
|
||||
table.insert(recipe, "multidecor:paint_brush")
|
||||
|
||||
@ -130,18 +189,18 @@ for i, wallpaper_sort in ipairs(wallpapers) do
|
||||
end
|
||||
|
||||
minetest.register_tool(":multidecor:scraper", {
|
||||
description = "Scraper (for stripping wallpapers, paint or plaster)",
|
||||
description = modern.S("Scraper (for stripping wallpapers, paint or plaster)"),
|
||||
inventory_image = "multidecor_scraper.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "multidecor:scraper",
|
||||
recipe = {"multidecor:steel_sheet", "multidecor:coarse_steel_sheet"}
|
||||
recipe = {"multidecor:steel_stripe", "multidecor:plastic_strip"}
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":multidecor:plaster_lump", {
|
||||
description = "Plaster Lump",
|
||||
description = modern.S("Plaster Lump"),
|
||||
inventory_image = "multidecor_plaster_lump.png"
|
||||
})
|
||||
|
||||
@ -154,7 +213,7 @@ minetest.register_craft({
|
||||
|
||||
|
||||
minetest.register_tool(":multidecor:paint_brush", {
|
||||
description = "Paint Brush (for painting armchairs, curtains, beds, chairs and etc)",
|
||||
description = modern.S("Paint Brush (for painting armchairs, curtains, beds, chairs and etc)"),
|
||||
inventory_image = "multidecor_paint_brush.png",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local pos = pointed_thing.under
|
||||
@ -173,38 +232,24 @@ minetest.register_tool(":multidecor:paint_brush", {
|
||||
return
|
||||
end
|
||||
|
||||
local inv = placer:get_inventory()
|
||||
local dye_index = placer:get_wield_index()
|
||||
local next_itemstack = inv:get_stack("main", dye_index+1)
|
||||
local next_itemname = next_itemstack:get_name()
|
||||
local color_index = check_for_dye_in_inv(placer)
|
||||
|
||||
if not next_itemstack or next_itemstack:is_empty() or
|
||||
minetest.get_item_group(next_itemname, "dye") ~= 1 then -- no any dye next to the brush or the slot is empty
|
||||
if not color_index then
|
||||
return
|
||||
end
|
||||
|
||||
local index, dye_color
|
||||
|
||||
for colorindex, colorname in ipairs(multidecor.colors) do
|
||||
if minetest.get_item_group(next_itemname, "color_" .. colorname) == 1 then
|
||||
index = colorindex - 1
|
||||
dye_color = colorname
|
||||
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if not dye_color then return end -- not supported color
|
||||
|
||||
if minetest.is_protected(pos, placer:get_player_name()) then
|
||||
return
|
||||
end
|
||||
|
||||
local rot = node.param2 % mul
|
||||
minetest.swap_node(pos, {name=node.name, param2=index*mul+rot})
|
||||
minetest.swap_node(pos, {name=node.name, param2=color_index*mul+rot})
|
||||
|
||||
next_itemstack:take_item()
|
||||
inv:set_stack("main", dye_index+1, next_itemstack)
|
||||
local dye_index = placer:get_wield_index() + 1
|
||||
local inv = placer:get_inventory()
|
||||
local dye = inv:get_stack("main", dye_index)
|
||||
dye:take_item()
|
||||
inv:set_stack("main", dye_index, dye)
|
||||
end
|
||||
})
|
||||
|
||||
@ -219,25 +264,25 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_tool(":multidecor:spatula", {
|
||||
description = "Spatula (for spreading plaster on surfaces)",
|
||||
description = modern.S("Spatula (for spreading plaster on surfaces)"),
|
||||
inventory_image = "multidecor_spatula.png",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local inv = placer:get_inventory()
|
||||
local spatula_index = placer:get_wield_index()
|
||||
local next_itemstack = inv:get_stack("main", spatula_index+1)
|
||||
local plaster_index = placer:get_wield_index() + 1
|
||||
local plaster = inv:get_stack("main", plaster_index)
|
||||
|
||||
if not next_itemstack or next_itemstack:is_empty() or
|
||||
next_itemstack:get_name() ~= "multidecor:plaster_lump" then
|
||||
if not plaster or plaster:is_empty() or
|
||||
plaster:get_name() ~= "multidecor:plaster_lump" then
|
||||
return
|
||||
end
|
||||
|
||||
next_itemstack = on_place_cover(pointed_thing, next_itemstack, "plaster")
|
||||
inv:set_stack("main", spatula_index+1, next_itemstack)
|
||||
plaster = on_place_cover(pointed_thing, plaster, "plaster", placer)
|
||||
inv:set_stack("main", plaster_index, plaster)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "multidecor:spatula",
|
||||
recipe = {"multidecor:steel_sheet", "multidecor:steel_sheet", "multidecor:coarse_steel_sheet"}
|
||||
recipe = {"multidecor:steel_stripet", "multidecor:coarse_steel_sheet"}
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
multidecor.register.register_door("high_dark_rusty_gate", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "High Dark Rusty Gate",
|
||||
description = modern.S("High Dark Rusty Gate"),
|
||||
mesh = "multidecor_high_dark_rusty_gate.b3d",
|
||||
tiles = {
|
||||
"multidecor_fence_chainlink.png",
|
||||
@ -24,7 +24,7 @@ multidecor.register.register_door("high_dark_rusty_gate", {
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:high_dark_rusty_fence", "multidecor:steel_sheet", "multidecor:steel_sheet"},
|
||||
{"multidecor:high_dark_rusty_fence", "multidecor:steel_stripe", ""},
|
||||
{"multidecor:steel_scissors", "", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
@ -34,7 +34,7 @@ multidecor.register.register_door("high_dark_rusty_gate", {
|
||||
multidecor.register.register_door("dark_rusty_gate", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Dark Rusty Gate",
|
||||
description = modern.S("Dark Rusty Gate"),
|
||||
mesh = "multidecor_dark_rusty_gate.b3d",
|
||||
tiles = {
|
||||
"multidecor_fence_chainlink.png",
|
||||
@ -111,7 +111,7 @@ for i, wood in ipairs(woods) do
|
||||
multidecor.register.register_door("simple_" .. wood.name .. "_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Simple " .. upper_name .. " Door",
|
||||
description = modern.S("Simple " .. upper_name .. " Door"),
|
||||
mesh = "multidecor_modern_wooden_door.b3d",
|
||||
tiles = {
|
||||
base_texture .. "^multidecor_door_hinges.png",
|
||||
@ -146,7 +146,7 @@ for i, wood in ipairs(woods) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Doorjamb",
|
||||
description = modern.S(upper_name .. "Doorjamb"),
|
||||
mesh = "multidecor_wooden_doorjamb.b3d",
|
||||
tiles = {base_texture},
|
||||
bounding_boxes = {
|
||||
@ -169,7 +169,7 @@ for i, wood in ipairs(woods) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Plinth",
|
||||
description = modern.S(upper_name .. "Plinth"),
|
||||
mesh = "multidecor_wooden_plinth.b3d",
|
||||
tiles = {base_texture},
|
||||
bounding_boxes = {{-0.5, -0.5, 0.4, 0.5, -0.2, 0.5}}
|
||||
@ -185,7 +185,7 @@ for i, wood in ipairs(woods) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Corner Plinth",
|
||||
description = modern.S(upper_name .. "Corner Plinth"),
|
||||
mesh = "multidecor_wooden_corner_plinth.b3d",
|
||||
tiles = {base_texture},
|
||||
bounding_boxes = {
|
||||
@ -203,7 +203,7 @@ for i, wood in ipairs(woods) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Window Segment",
|
||||
description = modern.S(upper_name .. "Window Segment"),
|
||||
mesh = "multidecor_window_segment.b3d",
|
||||
tiles = {
|
||||
base_texture,
|
||||
@ -257,7 +257,7 @@ for i, wood in ipairs(woods) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Window Segment With Thick Slats",
|
||||
description = modern.S(upper_name .. "Window Segment With Thick Slats"),
|
||||
mesh = "multidecor_window_segment_with_thick_slats.b3d",
|
||||
tiles = {
|
||||
base_texture,
|
||||
@ -280,7 +280,7 @@ for i, wood in ipairs(woods) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Window Segment With Thin Slats",
|
||||
description = modern.S(upper_name .. "Window Segment With Thin Slats"),
|
||||
mesh = "multidecor_window_segment_with_thin_slats.b3d",
|
||||
tiles = {
|
||||
base_texture,
|
||||
@ -302,7 +302,7 @@ for i, wood in ipairs(woods) do
|
||||
multidecor.register.register_door(wood.name .. "_window_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Window Door",
|
||||
description = modern.S(upper_name .. "Window Door"),
|
||||
mesh = "multidecor_window_door.b3d",
|
||||
tiles = {
|
||||
base_texture,
|
||||
@ -332,7 +332,7 @@ for i, wood in ipairs(woods) do
|
||||
multidecor.register.register_door(wood.name .. "_window_door_with_thin_slats", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = upper_name .. "Window Door With Thin Slats",
|
||||
description = modern.S(upper_name .. "Window Door With Thin Slats"),
|
||||
mesh = "multidecor_window_door_with_thin_slats.b3d",
|
||||
tiles = {
|
||||
base_texture,
|
||||
@ -362,7 +362,7 @@ end
|
||||
multidecor.register.register_door("patterned_wooden_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Patterned Wooden Door",
|
||||
description = modern.S("Patterned Wooden Door"),
|
||||
mesh = "multidecor_modern_wooden_door.b3d",
|
||||
tiles = {
|
||||
"multidecor_modern_wooden_door_base.png^multidecor_door_hinges.png",
|
||||
@ -385,7 +385,7 @@ multidecor.register.register_door("patterned_wooden_door", {
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:board", "multidecor:plank", "multidecor:steel_sheet"},
|
||||
{"multidecor:board", "multidecor:plank", "multidecor:steel_stripe"},
|
||||
{"multidecor:board", "multidecor:plank", "multidecor:steel_scissors"},
|
||||
{"", "", ""}
|
||||
},
|
||||
@ -395,7 +395,7 @@ multidecor.register.register_door("patterned_wooden_door", {
|
||||
multidecor.register.register_door("bathroom_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Bathroom Door",
|
||||
description = modern.S("Bathroom Door"),
|
||||
mesh = "multidecor_bathroom_door.b3d",
|
||||
tiles = {
|
||||
"multidecor_white_pine_wood.png^multidecor_door_hinges.png",
|
||||
@ -429,7 +429,7 @@ multidecor.register.register_door("white_pine_glass_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
visual_scale = 0.5,
|
||||
description = "White Pine Glass Door",
|
||||
description = modern.S("White Pine Glass Door"),
|
||||
mesh = "multidecor_white_pine_glass_door.b3d",
|
||||
tiles = {
|
||||
"multidecor_white_pine_wood.png^(multidecor_door_hinges.png^[transform2)",
|
||||
@ -464,7 +464,7 @@ multidecor.register.register_door("white_pine_glass_door", {
|
||||
multidecor.register.register_door("patterned_aspen_glass_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Patterned Aspen Glass Door",
|
||||
description = modern.S("Patterned Aspen Glass Door"),
|
||||
mesh = "multidecor_pine_glass_door.b3d",
|
||||
tiles = {
|
||||
"multidecor_pine_glass_door_base2.png^multidecor_door_hinges.png",
|
||||
@ -491,7 +491,7 @@ multidecor.register.register_door("patterned_aspen_glass_door", {
|
||||
recipe = {
|
||||
{"multidecor:aspen_board", "xpanes:pane_flat", "multidecor:aspen_plank"},
|
||||
{"multidecor:aspen_board", "xpanes:pane_flat", "multidecor:aspen_plank"},
|
||||
{"multidecor:steel_sheet", "multidecor:hammer", ""}
|
||||
{"multidecor:steel_stripe", "multidecor:hammer", ""}
|
||||
},
|
||||
replacements = {{"multidecor:hammer", "multidecor:hammer"}}
|
||||
})
|
||||
@ -500,7 +500,7 @@ multidecor.register.register_door("patterned_aspen_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
visual_scale = 0.5,
|
||||
description = "Patterned Aspen Door",
|
||||
description = modern.S("Patterned Aspen Door"),
|
||||
mesh = "multidecor_pine_door.b3d",
|
||||
tiles = {
|
||||
"multidecor_pine_door.png^multidecor_door_hinges.png",
|
||||
@ -524,7 +524,7 @@ multidecor.register.register_door("patterned_aspen_door", {
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:aspen_board", "multidecor:aspen_plank", "multidecor:aspen_plank"},
|
||||
{"multidecor:aspen_board", "multidecor:steel_sheet", "multidecor:hammer"},
|
||||
{"multidecor:aspen_board", "multidecor:steel_stripe", "multidecor:hammer"},
|
||||
{"", "", ""}
|
||||
},
|
||||
replacements = {{"multidecor:hammer", "multidecor:hammer"}}
|
||||
@ -534,7 +534,7 @@ multidecor.register.register_door("pine_glass_door", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
visual_scale = 0.5,
|
||||
description = "Pine Glass Door",
|
||||
description = modern.S("Pine Glass Door"),
|
||||
mesh = "multidecor_dark_pine_glass_door.b3d",
|
||||
tiles = {
|
||||
"multidecor_dark_pine_door_base.png",
|
||||
@ -560,7 +560,7 @@ multidecor.register.register_door("pine_glass_door", {
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:pine_board", "multidecor:pine_plank", "xpanes:pane_flat"},
|
||||
{"multidecor:pine_board", "multidecor:steel_sheet", "multidecor:hammer"},
|
||||
{"multidecor:pine_board", "multidecor:steel_stripe", "multidecor:hammer"},
|
||||
{"", "", ""}
|
||||
},
|
||||
replacements = {{"multidecor:hammer", "multidecor:hammer"}}
|
||||
@ -569,7 +569,7 @@ multidecor.register.register_door("pine_glass_door", {
|
||||
multidecor.register.register_door("technical_locked_door", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Technical Locked Door",
|
||||
description = modern.S("Technical Locked Door"),
|
||||
mesh = "multidecor_technical_door.b3d",
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {
|
||||
@ -602,7 +602,7 @@ multidecor.register.register_door("technical_locked_door", {
|
||||
multidecor.register.register_door("metallic_locked_door", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Metallic Locked Door",
|
||||
description = modern.S("Metallic Locked Door"),
|
||||
mesh = "multidecor_door_with_lock.b3d",
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {
|
||||
@ -627,7 +627,7 @@ multidecor.register.register_door("metallic_locked_door", {
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:coarse_steel_sheet", "multidecor:coarse_steel_sheet", "multidecor:steel_scissors"},
|
||||
{"multidecor:steel_sheet", "", ""},
|
||||
{"multidecor:steel_stripe", "", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
@ -637,7 +637,7 @@ if minetest.get_modpath("ethereal") then
|
||||
multidecor.register.register_door("redwood_locked_door", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Redwood Locked Door",
|
||||
description = modern.S("Redwood Locked Door"),
|
||||
mesh = "multidecor_door_with_lock.b3d",
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {
|
||||
@ -662,7 +662,7 @@ if minetest.get_modpath("ethereal") then
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:redwood_board", "multidecor:redwood_board", "multidecor:steel_scissors"},
|
||||
{"multidecor:steel_sheet", "", ""},
|
||||
{"multidecor:steel_stripe", "", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
multidecor.register.register_hedge("dark_rusty_fence", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Dark Rusty Fence",
|
||||
description = modern.S("Dark Rusty Fence"),
|
||||
mesh = "multidecor_dark_rusty_fence.b3d",
|
||||
tiles = {
|
||||
"multidecor_dark_metal_rusty_fence.png",
|
||||
@ -36,7 +36,7 @@ multidecor.register.register_hedge("dark_rusty_fence", {
|
||||
multidecor.register.register_hedge("high_dark_rusty_fence", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "High Dark Rusty Fence",
|
||||
description = modern.S("High Dark Rusty Fence"),
|
||||
mesh = "multidecor_high_dark_rusty_fence.b3d",
|
||||
tiles = {
|
||||
"multidecor_dark_metal_rusty_fence.png",
|
||||
@ -64,7 +64,7 @@ multidecor.register.register_furniture_unit("slatted_wooden_fence", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Slatted Wooden Fence",
|
||||
description = modern.S("Slatted Wooden Fence"),
|
||||
use_texture_alpha = "blend",
|
||||
mesh = "multidecor_slatted_wooden_fence.b3d",
|
||||
tiles = {"multidecor_wood.png^multidecor_fence_nail_knob.png"},
|
||||
@ -83,7 +83,7 @@ multidecor.register.register_furniture_unit("high_slatted_wooden_fence", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "High Slatted Wooden Fence",
|
||||
description = modern.S("High Slatted Wooden Fence"),
|
||||
use_texture_alpha = "blend",
|
||||
mesh = "multidecor_high_slatted_wooden_fence.b3d",
|
||||
tiles = {"multidecor_wood.png^multidecor_fence_nail_knob2.png"},
|
||||
@ -98,7 +98,7 @@ multidecor.register.register_furniture_unit("corrugated_fence", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Corrugated Fence",
|
||||
description = modern.S("Corrugated Fence"),
|
||||
mesh = "multidecor_corrugated_fence.b3d",
|
||||
tiles = {"multidecor_plastic_material.png^[multiply:darkgreen"},
|
||||
bounding_boxes = {{-0.5, -0.5, -0.5, 0.5, 0.5, -0.4}}
|
||||
@ -116,7 +116,7 @@ multidecor.register.register_furniture_unit("high_corrugated_fence", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "High Corrugated Fence",
|
||||
description = modern.S("High Corrugated Fence"),
|
||||
mesh = "multidecor_high_corrugated_fence.b3d",
|
||||
tiles = {"multidecor_plastic_material.png^[multiply:darkgreen"},
|
||||
bounding_boxes = {{-0.5, -0.5, -0.5, 0.5, 1.5, -0.4}}
|
||||
|
@ -1,4 +1,6 @@
|
||||
local modpath = minetest.get_modpath("modern")
|
||||
modern = {}
|
||||
modern.S = minetest.get_translator("modern")
|
||||
|
||||
dofile(modpath .. "/bathroom.lua")
|
||||
dofile(modpath .. "/bedroom.lua")
|
||||
|
@ -26,7 +26,7 @@ local tap_pos = vector.new(0, 0.75, -0.05)
|
||||
|
||||
local cmpnts = {
|
||||
["two_floor_drws"] = {
|
||||
description = "Kitchen %s Two Shelves Cabinet With Drawers",
|
||||
description = modern.S("Kitchen %s Two Shelves Cabinet With Drawers"),
|
||||
mesh = "multidecor_kitchen_cabinet_two_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_%s_cabinet_with_two_drawers_inv.png",
|
||||
bounding_boxes = cab_bboxes,
|
||||
@ -42,7 +42,7 @@ local cmpnts = {
|
||||
}
|
||||
},
|
||||
["three_floor_drws"] = {
|
||||
description = "Kitchen %s Three Shelves Cabinet With Drawers",
|
||||
description = modern.S("Kitchen %s Three Shelves Cabinet With Drawers"),
|
||||
mesh = "multidecor_kitchen_cabinet_three_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_%s_cabinet_with_three_drawers_inv.png",
|
||||
bounding_boxes = cab_bboxes,
|
||||
@ -59,7 +59,7 @@ local cmpnts = {
|
||||
}
|
||||
},
|
||||
["two_floor_doors"] = {
|
||||
description = "Kitchen %s Two Shelves Cabinet With Doors",
|
||||
description = modern.S("Kitchen %s Two Shelves Cabinet With Doors"),
|
||||
mesh = "multidecor_kitchen_cabinet_two_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_%s_cabinet_with_doors_inv.png",
|
||||
bounding_boxes = cab_bboxes,
|
||||
@ -75,7 +75,7 @@ local cmpnts = {
|
||||
}
|
||||
},
|
||||
["three_floor_doors"] = {
|
||||
description = "Kitchen %s Three Shelves Cabinet With Doors",
|
||||
description = modern.S("Kitchen %s Three Shelves Cabinet With Doors"),
|
||||
mesh = "multidecor_kitchen_cabinet_three_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_%s_cabinet_with_doors_inv.png",
|
||||
bounding_boxes = cab_bboxes,
|
||||
@ -91,7 +91,7 @@ local cmpnts = {
|
||||
}
|
||||
},
|
||||
["three_floor_drw_door"] = {
|
||||
description = "Kitchen %s Three Shelves Cabinet With Drawer And Door",
|
||||
description = modern.S("Kitchen %s Three Shelves Cabinet With Drawer And Door"),
|
||||
mesh = "multidecor_kitchen_cabinet_three_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_%s_cabinet_with_door_and_drawer_inv.png",
|
||||
bounding_boxes = cab_bboxes,
|
||||
@ -108,7 +108,7 @@ local cmpnts = {
|
||||
}
|
||||
},
|
||||
["sink"] = {
|
||||
description = "Kitchen %s Sink Cabinet",
|
||||
description = modern.S("Kitchen %s Sink Cabinet"),
|
||||
mesh = "multidecor_kitchen_sink_cabinet.b3d",
|
||||
inventory_image = "multidecor_kitchen_%s_sink_inv.png",
|
||||
bounding_boxes = sink_bboxes,
|
||||
@ -129,7 +129,7 @@ local cmpnts = {
|
||||
},
|
||||
craft = {
|
||||
{"multidecor:board", "multidecor:board", "multidecor:board"},
|
||||
{"multidecor:board", "multidecor:cabinet_door", "multidecor:steel_sheet"},
|
||||
{"multidecor:board", "multidecor:cabinet_door", "multidecor:bathroom_tap_with_cap_flap"},
|
||||
{"multidecor:syphon", "multidecor:hammer", ""}
|
||||
},
|
||||
callbacks = {
|
||||
@ -178,7 +178,7 @@ granite_cmpnts.three_floor_drw_door.craft[3][3] = "stairs:slab_granite"
|
||||
granite_cmpnts.sink.craft[3][3] = "stairs:slab_granite"
|
||||
|
||||
granite_cmpnts.two_wall_door = {
|
||||
description = "Kitchen Two Shelves Wall Cabinet With Door",
|
||||
description = modern.S("Kitchen Two Shelves Wall Cabinet With Door"),
|
||||
mesh = "multidecor_kitchen_wall_cabinet_two_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_wall_cabinet_with_door_inv.png",
|
||||
bounding_boxes = wall_cab_bbox,
|
||||
@ -195,7 +195,7 @@ granite_cmpnts.two_wall_door = {
|
||||
}
|
||||
|
||||
granite_cmpnts.two_wall_hdoor = {
|
||||
description = "Kitchen Two Shelves Wall Cabinet With Half Doors",
|
||||
description = modern.S("Kitchen Two Shelves Wall Cabinet With Half Doors"),
|
||||
mesh = "multidecor_kitchen_wall_cabinet_two_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_wall_cabinet_with_half_door_inv.png",
|
||||
bounding_boxes = wall_cab_bbox,
|
||||
@ -212,7 +212,7 @@ granite_cmpnts.two_wall_hdoor = {
|
||||
}
|
||||
|
||||
granite_cmpnts.two_wall_hgldoor = {
|
||||
description = "Kitchen Two Shelves Wall Cabinet With Half Glass Doors",
|
||||
description = modern.S("Kitchen Two Shelves Wall Cabinet With Half Glass Doors"),
|
||||
mesh = "multidecor_kitchen_wall_cabinet_two_shelves.b3d",
|
||||
inventory_image = "multidecor_kitchen_wall_cabinet_with_half_glass_doors_inv.png",
|
||||
bounding_boxes = wall_cab_bbox,
|
||||
@ -229,7 +229,7 @@ granite_cmpnts.two_wall_hgldoor = {
|
||||
}
|
||||
|
||||
granite_cmpnts.two_wall_crn_hgldoor = {
|
||||
description = "Kitchen Two Shelves Wall Corner Cabinet With Half Glass Doors",
|
||||
description = modern.S("Kitchen Two Shelves Wall Corner Cabinet With Half Glass Doors"),
|
||||
mesh = "multidecor_kitchen_wall_corner_cabinet_two_shelves.b3d",
|
||||
bounding_boxes = wall_cab_bbox,
|
||||
shelves_data = {
|
||||
@ -307,7 +307,7 @@ multidecor.register.register_furniture_unit("ceiling_fan", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Ceiling Fan",
|
||||
description = modern.S("Ceiling Fan"),
|
||||
mesh = "multidecor_ceiling_fan.b3d",
|
||||
tiles = {"multidecor_ceiling_fan.png"},
|
||||
inventory_image = "multidecor_ceiling_fan_inv.png",
|
||||
@ -389,7 +389,7 @@ multidecor.register.register_furniture_unit("kitchen_cooker", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Kitchen Cooker",
|
||||
description = modern.S("Kitchen Cooker"),
|
||||
mesh = "multidecor_kitchen_cooker.b3d",
|
||||
inventory_image = "multidecor_kitchen_cooker_inv.png",
|
||||
tiles = {
|
||||
@ -435,7 +435,7 @@ multidecor.register.register_furniture_unit("kitchen_cooker_activated", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Kitchen Cooker",
|
||||
description = modern.S("Kitchen Cooker"),
|
||||
mesh = "multidecor_kitchen_cooker.b3d",
|
||||
inventory_image = "multidecor_kitchen_cooker_inv.png",
|
||||
light_source = 8,
|
||||
@ -489,7 +489,7 @@ minetest.register_entity("modern:kitchen_cooker_oven_door", {
|
||||
multidecor.register.register_light("kitchen_hood", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Kitchen Hood",
|
||||
description = modern.S("Kitchen Hood"),
|
||||
mesh = "multidecor_kitchen_hood.b3d",
|
||||
tiles = {
|
||||
"multidecor_kitchen_hood_body.png",
|
||||
@ -518,7 +518,7 @@ multidecor.register.register_furniture_unit("kitchen_fridge", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Kitchen Fridge",
|
||||
description = modern.S("Kitchen Fridge"),
|
||||
mesh = "multidecor_fridge.b3d",
|
||||
inventory_image = "multidecor_fridge_inv.png",
|
||||
tiles = {
|
||||
@ -611,7 +611,7 @@ multidecor.register.register_furniture_unit("porcelain_plate", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Porcelain Plate",
|
||||
description = modern.S("Porcelain Plate"),
|
||||
mesh = "multidecor_porcelain_plate.b3d",
|
||||
tiles = {"multidecor_porcelain_material.png^multidecor_porcelain_plate_pattern.png"},
|
||||
bounding_boxes = {{-0.3, -0.5, -0.3, 0.3, -0.4, 0.3}}
|
||||
@ -628,7 +628,7 @@ multidecor.register.register_furniture_unit("porcelain_plate_with_fork_and_knife
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Porcelain Plate With Fork And Knife",
|
||||
description = modern.S("Porcelain Plate With Fork And Knife"),
|
||||
mesh = "multidecor_porcelain_plate_with_fork_and_knife.b3d",
|
||||
tiles = {
|
||||
"multidecor_porcelain_material.png^multidecor_porcelain_plate_pattern.png",
|
||||
@ -643,7 +643,7 @@ multidecor.register.register_furniture_unit("porcelain_plate_with_fork_and_knife
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"default:stick", "", "multidecor:steel_sheet"},
|
||||
{"default:stick", "", "multidecor:steel_stripe"},
|
||||
{"", "multidecor:porcelain_plate", "multidecor:steel_scissors"},
|
||||
{"", "", ""}
|
||||
},
|
||||
@ -654,7 +654,7 @@ multidecor.register.register_furniture_unit("porcelain_cup", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Porcelain Cup",
|
||||
description = modern.S("Porcelain Cup"),
|
||||
mesh = "multidecor_porcelain_cup.b3d",
|
||||
tiles = {"multidecor_porcelain_material.png"},
|
||||
bounding_boxes = {{-0.2, -0.5, -0.2, 0.2, -0.15, 0.2}}
|
||||
@ -671,7 +671,7 @@ multidecor.register.register_furniture_unit("glass_cup", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Glass Cup",
|
||||
description = modern.S("Glass Cup"),
|
||||
mesh = "multidecor_porcelain_cup.b3d",
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"multidecor_glass_material.png"},
|
||||
@ -690,7 +690,7 @@ multidecor.register.register_furniture_unit("napkins_rack", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Rack for paper napkins",
|
||||
description = modern.S("Rack for paper napkins"),
|
||||
mesh = "multidecor_napkins_rack.b3d",
|
||||
tiles = {"multidecor_metal_material.png", "multidecor_paper_napkins.png"},
|
||||
bounding_boxes = {{-0.2, -0.5, -0.1, 0.2, -0.1, 0.1}}
|
||||
@ -708,7 +708,7 @@ multidecor.register.register_furniture_unit("saucepans_set", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Saucepans set (put it on the cooker top)",
|
||||
description = modern.S("Saucepans set (put it on the cooker top)"),
|
||||
mesh = "multidecor_saucepans_set.b3d",
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {
|
||||
@ -725,7 +725,7 @@ multidecor.register.register_furniture_unit("saucepans_set", {
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:steel_sheet", "xpanes:pane_flat", "dye:black"},
|
||||
{"multidecor:steel_sheet", "xpanes:pane_flat", "multidecor:plastic_sheet"},
|
||||
{"multidecor:steel_sheet", "xpanes:pane_flat", "multidecor:plastic_strip"},
|
||||
{"multidecor:steel_sheet" , "", ""}
|
||||
}
|
||||
})
|
||||
@ -735,7 +735,7 @@ multidecor.register.register_furniture_unit("cast_iron_pan", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Cast Iron Pan",
|
||||
description = modern.S("Cast Iron Pan"),
|
||||
mesh = "multidecor_cast_iron_pan.b3d",
|
||||
tiles = {
|
||||
"multidecor_coarse_metal_material.png",
|
||||
@ -757,7 +757,7 @@ multidecor.register.register_furniture_unit("porcelain_saucer_with_cup", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Porcelain Saucer With Cup",
|
||||
description = modern.S("Porcelain Saucer With Cup"),
|
||||
mesh = "multidecor_porcelain_saucer_with_cup.b3d",
|
||||
tiles = {
|
||||
"multidecor_porcelain_material.png^multidecor_porcelain_plate_pattern.png",
|
||||
@ -776,7 +776,7 @@ multidecor.register.register_furniture_unit("porcelain_saucer_with_tea_cup", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Porcelain Saucer With Tea Cup",
|
||||
description = modern.S("Porcelain Saucer With Tea Cup"),
|
||||
mesh = "multidecor_porcelain_saucer_with_tea_cup.b3d",
|
||||
tiles = {
|
||||
"multidecor_porcelain_material.png^multidecor_porcelain_plate_pattern.png",
|
||||
@ -822,7 +822,7 @@ multidecor.register.register_furniture_unit("faceted_glass", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Faceted Glass",
|
||||
description = modern.S("Faceted Glass"),
|
||||
mesh = "multidecor_faceted_glass.b3d",
|
||||
tiles = {"multidecor_glass_material.png"},
|
||||
use_texture_alpha = "blend",
|
||||
@ -841,7 +841,7 @@ multidecor.register.register_furniture_unit("porcelain_teapot", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Porcelain Teapot",
|
||||
description = modern.S("Porcelain Teapot"),
|
||||
mesh = "multidecor_porcelain_teapot.b3d",
|
||||
tiles = {"multidecor_porcelain_material.png", "multidecor_porcelain_plate_pattern.png"},
|
||||
bounding_boxes = {
|
||||
@ -862,8 +862,8 @@ local tiles = {
|
||||
"Kitchen Wall Ceramic Tile",
|
||||
"multidecor_kitchen_ceramic_tile1.png",
|
||||
{
|
||||
{"default:clay_lump", "default:clay_lump", "dye:yellow"},
|
||||
{"", "", ""},
|
||||
{"multidecor:ceramic_tile", "dye:yellow", ""},
|
||||
{"multidecor:paint_brush", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
},
|
||||
@ -871,8 +871,8 @@ local tiles = {
|
||||
"Kitchen Wall Ceramic Tile",
|
||||
"multidecor_kitchen_ceramic_tile2.png",
|
||||
{
|
||||
{"default:clay_lump", "default:clay_lump", "dye:brown"},
|
||||
{"", "", ""},
|
||||
{"multidecor:ceramic_tile", "dye:brown", ""},
|
||||
{"multidecor:paint_brush", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
},
|
||||
@ -880,8 +880,8 @@ local tiles = {
|
||||
"Kitchen Wall Marble Tile",
|
||||
"multidecor_kitchen_marble_tile.png",
|
||||
{
|
||||
{"default:clay_lump", "default:clay_lump", "dye:white"},
|
||||
{"dye:grey", "dye:dark_grey", ""},
|
||||
{"multidecor:ceramic_tile", "dye:white", ""},
|
||||
{"multidecor:paint_brush", "dye:grey", "dye:dark_grey"},
|
||||
{"", "", ""}
|
||||
}
|
||||
},
|
||||
@ -889,8 +889,8 @@ local tiles = {
|
||||
"Kitchen Floor Black Tile",
|
||||
"multidecor_kitchen_floor_black_tile.png",
|
||||
{
|
||||
{"default:clay_lump", "default:clay_lump", "dye:black"},
|
||||
{"", "", ""},
|
||||
{"multidecor:ceramic_tile", "dye:black", ""},
|
||||
{"multidecor:paint_brush", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
},
|
||||
@ -898,8 +898,8 @@ local tiles = {
|
||||
"Kitchen Floor White Tile",
|
||||
"multidecor_kitchen_floor_white_tile.png",
|
||||
{
|
||||
{"default:clay_lump", "default:clay_lump", "dye:white"},
|
||||
{"", "", ""},
|
||||
{"multidecor:ceramic_tile", "dye:white", ""},
|
||||
{"multidecor:paint_brush", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
},
|
||||
@ -908,7 +908,7 @@ local tiles = {
|
||||
for name, def in pairs(tiles) do
|
||||
local tile_name = "multidecor:" .. name
|
||||
minetest.register_node(":" .. tile_name, {
|
||||
description = def[1],
|
||||
description = modern.S(def[1]),
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 1.0,
|
||||
paramtype = "light",
|
||||
@ -922,12 +922,13 @@ for name, def in pairs(tiles) do
|
||||
|
||||
minetest.register_craft({
|
||||
output = tile_name,
|
||||
recipe = def[3]
|
||||
recipe = def[3],
|
||||
replacements = {{"multidecor:paint_brush", "multidecor:paint_brush"}}
|
||||
})
|
||||
|
||||
local block_name = "multidecor:" .. name .. "s_block"
|
||||
minetest.register_node(":" .. block_name, {
|
||||
description = def[1] .. "s Block",
|
||||
description = modern.S(def[1] .. "s Block"),
|
||||
visual_scale = 0.5,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -955,7 +956,7 @@ multidecor.register.register_furniture_unit("kitchen_metallic_hanger", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Kitchen Metallic Hanger",
|
||||
description = modern.S("Kitchen Metallic Hanger"),
|
||||
mesh = "multidecor_kitchen_metallic_hanger.b3d",
|
||||
tiles = {
|
||||
"multidecor_metal_material3.png",
|
||||
@ -979,7 +980,7 @@ multidecor.register.register_furniture_unit("kitchen_metallic_hanger_with_ladle_
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Kitchen Metallic Hanger With Ladle And Board",
|
||||
description = modern.S("Kitchen Metallic Hanger With Ladle And Board"),
|
||||
mesh = "multidecor_kitchen_metallic_hanger_with_ladle_and_board.b3d",
|
||||
tiles = {
|
||||
"multidecor_metal_material3.png",
|
||||
@ -1006,7 +1007,7 @@ multidecor.register.register_furniture_unit("kitchen_organiser", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Kitchen Cutlery Organiser",
|
||||
description = modern.S("Kitchen Cutlery Organiser"),
|
||||
mesh = "multidecor_kitchen_cutlery_organiser.b3d",
|
||||
tiles = {
|
||||
"multidecor_kitchen_cooker_black_metal.png",
|
||||
@ -1020,7 +1021,7 @@ multidecor.register.register_furniture_unit("kitchen_organiser", {
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:steel_sheet", "multidecor:plastic_sheet", "dye:black"},
|
||||
{"multidecor:steel_sheet", "multidecor:steel_scissors", ""},
|
||||
{"multidecor:steel_stripe", "multidecor:steel_scissors", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
replacements = {{"multidecor:steel_scissors", "multidecor:steel_scissors"}}
|
||||
@ -1030,7 +1031,7 @@ multidecor.register.register_furniture_unit("microwave", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Microwave",
|
||||
description = modern.S("Microwave"),
|
||||
mesh = "multidecor_microwave.b3d",
|
||||
tiles = {
|
||||
"multidecor_plastic_material.png",
|
||||
@ -1077,7 +1078,7 @@ multidecor.register.register_furniture_unit("microwave_activated", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Microwave",
|
||||
description = modern.S("Microwave"),
|
||||
mesh = "multidecor_microwave.b3d",
|
||||
light_source = 8,
|
||||
tiles = {
|
||||
|
@ -6,8 +6,8 @@ local silver_chain_recipe
|
||||
if minetest.get_modpath("moreores") then
|
||||
silvered_lamp_recipe = {
|
||||
recipe = {
|
||||
{"moreores:silver_ingot", "multidecor:bulb", "moreores:silver_ingot"},
|
||||
{"moreores:silver_ingot", "multidecor:lampshade", "moreores:silver_ingot"},
|
||||
{"multidecor:silver_sheet", "multidecor:bulb", ""},
|
||||
{"multidecor:silver_sheet", "multidecor:lampshade", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
}
|
||||
@ -22,7 +22,7 @@ if minetest.get_modpath("moreores") then
|
||||
|
||||
silver_candlestick_recipe = {
|
||||
recipe = {
|
||||
{"multidecor:steel_sheet", "multidecor:steel_sheet", "moreores:silver_ingot"},
|
||||
{"multidecor:silver_sheet", "multidecor:steel_scissors", ""},
|
||||
{"multidecor:wax_candle", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
@ -50,7 +50,7 @@ multidecor.register.register_furniture_unit("silver_chain", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Silver Chain",
|
||||
description = modern.S("Silver Chain"),
|
||||
mesh = "multidecor_silver_chain.b3d",
|
||||
tiles = {"multidecor_silver_material.png"},
|
||||
groups = {cracky=1.5, not_in_creative_inventory=1, hanger_medium=1},
|
||||
@ -67,7 +67,7 @@ multidecor.register.register_furniture_unit("silver_chain_tip", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Silver Chain Tip",
|
||||
description = modern.S("Silver Chain Tip"),
|
||||
mesh = "multidecor_silver_chain_tip.b3d",
|
||||
tiles = {"multidecor_silver_material.png", "multidecor_gold_material.png"},
|
||||
groups = {cracky=1.5, hanger_top=1},
|
||||
@ -84,7 +84,7 @@ multidecor.register.register_furniture_unit("silver_chain_tip", {
|
||||
multidecor.register.register_light("silvered_desk_lamp_off", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Silvered Desk Lamp",
|
||||
description = modern.S("Silvered Desk Lamp"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
use_texture_alpha = "blend",
|
||||
@ -103,7 +103,7 @@ multidecor.register.register_light("silvered_desk_lamp_off", {
|
||||
multidecor.register.register_light("copper_wall_sconce_off", {
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Copper Wall Sconce",
|
||||
description = modern.S("Copper Wall Sconce"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_copper_wall_sconce.b3d",
|
||||
tiles = {"multidecor_copper_material.png", "multidecor_bulb_surf.png"},
|
||||
@ -125,7 +125,7 @@ multidecor.register.register_light("copper_wall_sconce_off", {
|
||||
multidecor.register.register_light("plastic_desk_lamp_off", {
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Plastic Desk Lamp",
|
||||
description = modern.S("Plastic Desk Lamp"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
use_texture_alpha = "blend",
|
||||
@ -155,7 +155,7 @@ multidecor.register.register_light("plastic_desk_lamp_off", {
|
||||
multidecor.register.register_light("gold_chandelier_with_glass_candles_off", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Gold Chandelier With Glass Candles",
|
||||
description = modern.S("Gold Chandelier With Glass Candles"),
|
||||
wield_scale = {x=0.3, y=0.3, z=0.3},
|
||||
use_texture_alpha = "blend",
|
||||
groups = {hanger_bottom=1},
|
||||
@ -185,7 +185,7 @@ multidecor.register.register_light("gold_chandelier_with_glass_candles_off", {
|
||||
multidecor.register.register_light("metal_chandelier_with_plastic_plafonds_off", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Metal Chandelier With Plastic Plafonds",
|
||||
description = modern.S("Metal Chandelier With Plastic Plafonds"),
|
||||
visual_scale = 0.4,
|
||||
inventory_image = "multidecor_metal_chandelier_inv.png",
|
||||
use_texture_alpha = "blend",
|
||||
@ -217,7 +217,7 @@ multidecor.register.register_light("metal_chandelier_with_plastic_plafonds_off",
|
||||
multidecor.register.register_light("brass_candlestick", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Brass Candlestick",
|
||||
description = modern.S("Brass Candlestick"),
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
mesh = "multidecor_brass_candlestick.b3d",
|
||||
@ -238,7 +238,7 @@ multidecor.register.register_light("brass_candlestick", {
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:steel_sheet", "multidecor:steel_sheet", "multidecor:brass_ingot"},
|
||||
{"multidecor:brass_sheet", "multidecor:steel_scissors", ""},
|
||||
{"multidecor:wax_candle", "", ""},
|
||||
{"", "", ""}
|
||||
}
|
||||
@ -247,7 +247,7 @@ multidecor.register.register_light("brass_candlestick", {
|
||||
multidecor.register.register_light("silver_candlestick", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Silver Candlestick",
|
||||
description = modern.S("Silver Candlestick"),
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
mesh = "multidecor_brass_candlestick.b3d",
|
||||
@ -270,7 +270,7 @@ multidecor.register.register_light("silver_candlestick", {
|
||||
multidecor.register.register_light("ceiling_round_lamp", {
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Ceiling Round Lamp",
|
||||
description = modern.S("Ceiling Round Lamp"),
|
||||
light_source = 12,
|
||||
mesh = "multidecor_ceiling_round_lamp.b3d",
|
||||
tiles = {"multidecor_ceiling_round_lamp.png"},
|
||||
@ -278,7 +278,7 @@ multidecor.register.register_light("ceiling_round_lamp", {
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:steel_sheet", "xpanes:pane_flat", ""},
|
||||
{"multidecor:steel_stripe", "xpanes:pane_flat", ""},
|
||||
{"multidecor:wolfram_wire", "multidecor:steel_scissors", ""},
|
||||
{"", "", ""}
|
||||
},
|
||||
@ -288,7 +288,7 @@ multidecor.register.register_light("ceiling_round_lamp", {
|
||||
multidecor.register.register_light("ceiling_wooden_lamp", {
|
||||
style = "modern",
|
||||
material = "glass",
|
||||
description = "Ceiling Wooden Lamp",
|
||||
description = modern.S("Ceiling Wooden Lamp"),
|
||||
light_source = 12,
|
||||
mesh = "multidecor_ceiling_wooden_lamp.b3d",
|
||||
tiles = {
|
||||
@ -309,7 +309,7 @@ multidecor.register.register_light("ceiling_wooden_lamp", {
|
||||
multidecor.register.register_light("kitchen_chandelier", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Kitchen Chandelier",
|
||||
description = modern.S("Kitchen Chandelier"),
|
||||
mesh = "multidecor_kitchen_chandelier.b3d",
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {
|
||||
|
@ -70,7 +70,7 @@ for louvers, part in pairs(louvers_parts) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = hlpfuncs.upper_first_letters(louvers),
|
||||
description = modern.S(hlpfuncs.upper_first_letters(louvers)),
|
||||
mesh = "multidecor_" .. louvers .. ".b3d",
|
||||
tiles = {"multidecor_plastic_material.png", "multidecor_plastic_material.png"},
|
||||
groups = groups,
|
||||
@ -97,7 +97,7 @@ multidecor.register.register_furniture_unit("modern_floor_clock", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Floor Clock",
|
||||
description = modern.S("Floor Clock"),
|
||||
inventory_image = "multidecor_floor_clock_inv.png",
|
||||
use_texture_alpha = "blend",
|
||||
mesh = "multidecor_floor_clock.b3d",
|
||||
@ -152,7 +152,7 @@ multidecor.register.register_furniture_unit("book", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Book",
|
||||
description = modern.S("Book"),
|
||||
mesh = "multidecor_book.b3d",
|
||||
tiles = {
|
||||
"multidecor_book_envelope.png^[multiply:blue^multidecor_book_pattern.png",
|
||||
@ -183,7 +183,7 @@ multidecor.register.register_furniture_unit("book_open", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Book",
|
||||
description = modern.S("Book"),
|
||||
mesh = "multidecor_book_open.b3d",
|
||||
tiles = {
|
||||
"multidecor_book_envelope.png^[multiply:blue^multidecor_book_pattern.png",
|
||||
@ -230,7 +230,7 @@ multidecor.register.register_furniture_unit("books_stack", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Books Stack",
|
||||
description = modern.S("Books Stack"),
|
||||
mesh = "multidecor_books_stack.b3d",
|
||||
tiles = {
|
||||
"multidecor_book_envelope.png^[multiply:green^multidecor_book_pattern.png",
|
||||
@ -253,7 +253,7 @@ multidecor.register.register_furniture_unit("alarm_clock", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "Alarm Clock",
|
||||
description = modern.S("Alarm Clock"),
|
||||
mesh = "multidecor_alarm_clock.b3d",
|
||||
tiles = {
|
||||
"multidecor_plastic_material.png^[multiply:green",
|
||||
@ -279,7 +279,7 @@ multidecor.register.register_furniture_unit("alarm_clock", {
|
||||
},
|
||||
{
|
||||
recipe = {
|
||||
{"multidecor:steel_sheet", "multidecor:steel_sheet", "dye:green"},
|
||||
{"multidecor:steel_stripe", "", "dye:green"},
|
||||
{"multidecor:plastic_sheet", "multidecor:digital_dial", "multidecor:plastic_sheet"},
|
||||
{"multidecor:spring", "multidecor:gear", "multidecor:steel_scissors"}
|
||||
},
|
||||
@ -325,7 +325,7 @@ local floors_defs = {
|
||||
for name, def in pairs(floors_defs) do
|
||||
local tile_name = "multidecor:" .. name .. "_tile"
|
||||
minetest.register_node(":" .. tile_name, {
|
||||
description = def[1] .. " Tile",
|
||||
description = modern.S(def[1] .. " Tile"),
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 1.0,
|
||||
paramtype = "light",
|
||||
@ -345,7 +345,7 @@ for name, def in pairs(floors_defs) do
|
||||
|
||||
local block_name = "multidecor:" .. name .. "_block"
|
||||
minetest.register_node(":" .. block_name, {
|
||||
description = def[1] .. " Block",
|
||||
description = modern.S(def[1] .. " Block"),
|
||||
visual_scale = 0.5,
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -460,7 +460,7 @@ local flowerpot_tmp_def = {
|
||||
|
||||
local pots_defs = {
|
||||
["terracotta_flowerpot"] = {
|
||||
description = "Terracotta Flowerpot (right-click to place wielded flower)",
|
||||
description = modern.S("Terracotta Flowerpot (right-click to place wielded flower)"),
|
||||
mesh = "multidecor_terracotta_flowerpot",
|
||||
tiles = {
|
||||
"multidecor_terracotta_material2.png^[multiply:brown",
|
||||
@ -478,7 +478,7 @@ local pots_defs = {
|
||||
}
|
||||
},
|
||||
["green_small_flowerpot"] = {
|
||||
description = "Green Small Flowerpot (right-click to place wielded flower)",
|
||||
description = modern.S("Green Small Flowerpot (right-click to place wielded flower)"),
|
||||
mesh = "multidecor_green_small_flowerpot",
|
||||
tiles = {
|
||||
"multidecor_terracotta_material.png^[multiply:palegreen",
|
||||
@ -495,7 +495,7 @@ local pots_defs = {
|
||||
}
|
||||
},
|
||||
["glass_vase"] = {
|
||||
description = "Glass Vase (right-click to place wielded flower)",
|
||||
description = modern.S("Glass Vase (right-click to place wielded flower)"),
|
||||
mesh = "multidecor_glass_vase",
|
||||
tiles = {"multidecor_gloss.png^[opacity:120"},
|
||||
inventory_image = "multidecor_glass_vase_inv.png",
|
||||
@ -553,7 +553,7 @@ multidecor.register.register_furniture_unit("white_plastic_flowerpot", {
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "plastic",
|
||||
description = "White Plastic Flowerpot",
|
||||
description = modern.S("White Plastic Flowerpot"),
|
||||
mesh = "multidecor_white_plastic_flowerpot.b3d",
|
||||
tiles = {
|
||||
"multidecor_white_plastic_pot.png",
|
||||
|
299
modern/locale/modern.ru.tr
Normal file
@ -0,0 +1,299 @@
|
||||
# textdomain: modern
|
||||
|
||||
Bathtub=Ванна
|
||||
Bathtub With Darkceladon Shields=Ванна с тёмно-зеленым экраном
|
||||
Bathroom Washbasin With Darkceladon Doors=Раковина с тёмно-зелеными дверцами
|
||||
Bathroom Wall Cabinet With Darkceladon Doors=Шкафчик для ванной с тёмно-зелеными дверцами
|
||||
Bathroom Darkceladon Wall Set With Mirror=Тёмно-зеленый шкафчик с зеркалом для ванной
|
||||
Bathtub With Darksea Shields=Ванна с экраном "тёмное море"
|
||||
Bathroom Washbasin With Darksea Doors=Раковина с дверцами "тёмное море"
|
||||
Bathroom Wall Cabinet With Darksea Doors=Шкафчик для ванной с дверцами "тёмное море"
|
||||
Bathroom Darksea Wall Set With Mirror=Шкафчик с зеркалом для ванной "тёмное море"
|
||||
Bathtub With Light Shields=Ванна с бежевым экраном
|
||||
Bathroom Washbasin With Light Doors=Раковина с бежевыми дверцами
|
||||
Bathroom Wall Cabinet With Light Doors=Шкафчик для ванной с бежевыми дверцами
|
||||
Bathroom Light Wall Set With Mirror=Бежевый шкафчик с зеркалом для ванной
|
||||
Bathtub With Sand Shields=Ванна с песочным экраном
|
||||
Bathroom Washbasin With Sand Doors=Раковина с песочными дверцами
|
||||
Bathroom Wall Cabinet With Sand Doors=Шкафчик для ванной с песочными дверцами
|
||||
Bathroom Sand Wall Set With Mirror=Песочный шкафчик с зеркалом для ванной
|
||||
Bathtub With Red Shields=Ванна с красным экраном
|
||||
Bathroom Washbasin With Red Doors=Раковина с красным экраном
|
||||
Bathroom Wall Cabinet With Red Doors=Шкафчик для ванной с красными дверцами
|
||||
Bathroom Red Wall Set With Mirror=Красный шкафчик с зеркалом для ванной
|
||||
Bathtub With Green Mosaic Shields=Ванна с экраном "зелёная мозаика"
|
||||
Bathroom Washbasin With Green Mosaic Doors=Раковина с дверцами "зелёная мозаика"
|
||||
Bathroom Wall Cabinet With Green Mosaic Doors=Шкафчик для ванной с дверцами "зелёная мозаика"
|
||||
Bathroom Green Mosaic Wall Set With Mirror=Шкафчик с зеркалом для ванной "зелёная мозаика"
|
||||
Bathroom Fluffy Rug=Пушистый коврик для ванной
|
||||
Bathroom Sink=Раковина для ванной
|
||||
Bathroom Shower Base=Душевой поддон
|
||||
Bathroom Slatted Ceiling=Реечный потолок ванной комнаты
|
||||
Bathroom Slatted Ceiling With Lamp=Реечный потолок ванной комнаты с лампой
|
||||
Toilet=Унитаз
|
||||
Bathroom Curtain With Rings=Занавеска для ванной с кольцами
|
||||
Bathroom Curtain=Занавеска для ванной
|
||||
Plastic Quadratic Cornice=Пластиковый квадратный карниз
|
||||
Bathroom Tap With Cap Flap=Рычажный смеситель для ванной
|
||||
Bathroom Tap With Side Flaps=Двухвентильный смеситель для ванной
|
||||
Shower Head=Лейка для душа
|
||||
Crooked Shower Head=Изогнутая лейка для душа
|
||||
Bathroom Mirror=Зеркало для ванной
|
||||
Toilet Paper Reel=Держатель туалетной бумаги
|
||||
Underwear Tank=Корзина для белья
|
||||
Jungle Bed (single)=Кровать из тропического дерева (односпальная)
|
||||
Jungle Bed (double)=Кровать из тропического дерева (двухспальная)
|
||||
Wooden bed with legs (single)=Деревянная кровать с ножками (односпальная)
|
||||
Wooden bed with legs (double)=Деревянная кровать с ножками (двухспальная)
|
||||
Dresser With Mirror=Трюмо
|
||||
Kitchen Modern Wooden Chair=Деревянный стул для кухни
|
||||
Soft Kitchen Modern Wooden Chair=Мягкий деревянный стул для кухни
|
||||
Soft Modern Jungle Chair=Мягкий стул из тропического дерева
|
||||
Soft Round Modern Metallic Chair=Мягкий круглый металлический стул
|
||||
Round Modern Metallic Stool=Круглый металлический стул
|
||||
Armchair with wooden legs=Кресло с деревянными ножками
|
||||
Sofa=Диван
|
||||
High Dark Rusty Gate=Высокие чёрные ржавые ворота
|
||||
Dark Rusty Gate=Чёрные ржавые воротца
|
||||
Simple Wooden Door=Простая деревянная дверь
|
||||
Wooden Doorjamb=Деревянная дверная коробка
|
||||
Wooden Plinth=Деревянный плинтус
|
||||
Wooden Corner Plinth=Деревянный угловой плинтус
|
||||
Wooden Window Segment=Створка деревянного окна
|
||||
Wooden Window Segment With Thick Slats=Створка деревянного окна с широкими шпросами
|
||||
Wooden Window Segment With Thin Slats=Створка деревянного окна с узкими шпросами
|
||||
Wooden Window Door=Открывающаяся створка деревянного окна
|
||||
Wooden Window Door With Thin Slats=Открывающаяся створка деревянного окна с узкими шпросами
|
||||
Simple Pine Door=Простая сосновая дверь
|
||||
Pine Doorjamb=Сосновая дверная коробка
|
||||
Pine Plinth=Сосновый плинтус
|
||||
Pine Corner Plinth=Угловой сосновый плинтус
|
||||
Pine Window Segment=Сосновая створка окна
|
||||
Pine Window Segment With Thick Slats=Сосновая створка окна с широкими шпросами
|
||||
Pine Window Segment With Thin Slats=Сосновая створка окна с узкими шпросами
|
||||
Pine Window Door=Открывающаяся створка соснового окна
|
||||
Pine Window Door With Thin Slats=Открывающаяся створка соснового окна с узкими шпросами
|
||||
Simple Aspen Door=Простая осиновая дверь
|
||||
Aspen Doorjamb=Осиновая дверная коробка
|
||||
Aspen Plinth=Осиновый плинтус
|
||||
Aspen Corner Plinth=Осиновый угловой плинтус
|
||||
Aspen Window Segment=Осиновая створка окна
|
||||
Aspen Window Segment With Thick Slats=Осиновая створка окна с широкими шпросами
|
||||
Aspen Window Segment With Thin Slats=Осиновая створка окна с узкими шпросами
|
||||
Aspen Window Door=Открывающаяся створка осинового окна
|
||||
Aspen Window Door With Thin Slats=Открывающаяся створка осинового окна с узкими шпросами
|
||||
Simple White Pine Door=Простая дверь из белой сосны
|
||||
White Pine Doorjamb=Дверная коробка из белой сосны
|
||||
White Pine Plinth=Плинтус из белой сосны
|
||||
White Pine Corner Plinth=Угловой плинтус из белой сосны
|
||||
White Pine Window Segment=Створка окна из белой сосны
|
||||
White Pine Window Segment With Thick Slats=Створка окна из белой сосны с широкими шпросами
|
||||
White Pine Window Segment With Thin Slats=Створка окна из белой сосны с узкими шпросами
|
||||
White Pine Window Door=Открывающаяся створка окна из белой сосны
|
||||
White Pine Window Door With Thin Slats=Открывающаяся створка окна из белой сосны с узкими шпросами
|
||||
Patterned Wooden Door=Узорчатая деревянная дверь
|
||||
Bathroom Door=Дверь ванной комнаты
|
||||
White Pine Glass Door=Стеклянная дверь из белой сосны
|
||||
Patterned Aspen Glass Door=Узорчатая осиновая стеклянная дверь
|
||||
Patterned Aspen Door=Узорчатая осиновая дверь
|
||||
Pine Glass Door=Сосновая стеклянная дверь
|
||||
Technical Locked Door=Закрытая техническая дверь
|
||||
Metallic Locked Door=Закрытая металлическая дверь
|
||||
Dark Rusty Fence=Черный ржавый забор
|
||||
High Dark Rusty Fence=Высокий черный ржавый забор
|
||||
High Dark Rusty Fence (extended)=Высокий черный ржавый забор (расширенный)
|
||||
Slatted Wooden Fence=Реечный деревянный забор
|
||||
High Slatted Wooden Fence=Высокий реечный деревянный забор
|
||||
Corrugated Fence=Гофрированный забор
|
||||
High Corrugated Fence=Высокий гофрированный забор
|
||||
Kitchen Granite Two Shelves Cabinet With Drawers=Кухонный шкафчик с гранитной столешницей с двумя ящиками
|
||||
Kitchen Granite Three Shelves Cabinet With Drawers=Кухонный шкафчик с гранитной столешницей с тремя ящиками
|
||||
Kitchen Granite Two Shelves Cabinet With Doors=Кухонный двухполочный шкафчик с гранитной столешницей
|
||||
Kitchen Granite Three Shelves Cabinet With Doors=Кухонный трехполочный шкафчик с гранитной столешницей
|
||||
Kitchen Granite Three Shelves Cabinet With Drawer And Door=Кухонный трехполочный шкафчик с гранитной столешницей, ящиком и дверцей
|
||||
Kitchen Two Shelves Wall Cabinet With Door=Настенный кухонный двухполочный шкафчик с дверцей
|
||||
Kitchen Two Shelves Wall Cabinet With Half Doors=Настенный кухонный двухполочный шкафчик с дверцами
|
||||
Kitchen Two Shelves Wall Cabinet With Half Glass Doors=Настенный кухонный двухполочный шкафчик со стеклянными дверцами
|
||||
Kitchen Two Shelves Wall Corner Cabinet With Half Glass Doors=Настенный кухонный угловой двухполочный шкафчик со стеклянными дверцами
|
||||
Kitchen Granite Sink Cabinet=Гранитная кухонная мойка
|
||||
Kitchen Marble Two Shelves Cabinet With Drawers=Кухонный шкафчик с мраморной столешницей с двумя ящиками
|
||||
Kitchen Marble Three Shelves Cabinet With Drawers=Кухонный шкафчик с мраморной столешницей с тремя ящиками
|
||||
Kitchen Marble Two Shelves Cabinet With Doors=Кухонный двухполочный шкафчик с мраморной столешницей с дверцами
|
||||
Kitchen Marble Three Shelves Cabinet With Doors=Кухонный трехполочный шкафчик с мраморной столешницей с дверцами
|
||||
Kitchen Marble Three Shelves Cabinet With Drawer And Door=Кухонный трехполочный шкафчик с мраморной столешницей, ящиком и дверцей
|
||||
Kitchen Marble Sink Cabinet=Кухонная мраморная мойка
|
||||
Ceiling Fan=Потолочный вентилятор
|
||||
Kitchen Cooker=Кухонная плита
|
||||
Kitchen Hood=Кухонная вытяжка
|
||||
Kitchen Fridge=Кухонный холодильник
|
||||
Porcelain Plate=Фарфоровая тарелка
|
||||
Porcelain Plate With Fork And Knife=Фарфоровая тарелка с вилкой и ножом
|
||||
Porcelain Cup=Фарфоровая чашка
|
||||
Glass Cup=Стеклянная чашка
|
||||
Rack for paper napkins=Подставка для салфеток
|
||||
Saucepans set (put it on the cooker top)=Набор кастрюль (ставьте на варочную поверхность плиты)
|
||||
Cast Iron Pan=Чугунная сковорода
|
||||
Porcelain Saucer With Cup=Фарфоровое блюдце с чашкой
|
||||
Porcelain Saucer With Tea Cup=Фарфоровое блюдце с чайной чашкой
|
||||
Faceted Glass=Граненый стакан
|
||||
Porcelain Teapot=Фарфоровый заварник
|
||||
Kitchen Metallic Hanger=Металлическая вешалка для кухни
|
||||
Kitchen Metallic Hanger With Ladle And Board=Металлическая вешалка для кухни с половником и доской
|
||||
Kitchen Cutlery Organiser=Органайзер для столовых приборов
|
||||
Microwave=Микроволновка
|
||||
Silver Chain=Серебряная цепь
|
||||
Silver Chain Tip=Наконечник серебряной цепи
|
||||
Silvered Desk Lamp=Посеребренная настольная лампа
|
||||
Copper Wall Sconce=Медное бра
|
||||
Plastic Desk Lamp=Пластиковая настольная лампа
|
||||
Gold Chandelier With Glass Candles=Золотой канделябр со стеклянными свечами
|
||||
Metal Chandelier With Plastic Plafonds=Металлический канделябр с пластиковыми плафонами
|
||||
Brass Candlestick=Латунный подсвечник
|
||||
Silver Candlestick=Серебряный подсвечник
|
||||
Ceiling Round Lamp=Круглая потолочная лампа
|
||||
Ceiling Wooden Lamp=Деревянная потолочная лампа
|
||||
Kitchen Chandelier=Кухонный канделябр
|
||||
Louvers Top =Верх жалюзей
|
||||
Louvers Medium =Середина жалюзей
|
||||
Louvers Bottom =Низ жалюзей
|
||||
Louvers Top Open =Открытый верх жалюзей
|
||||
Louvers Medium Open =Открытая середина жалюзей
|
||||
Louvers Bottom Open =Открытый низ жалюзей
|
||||
Floor Clock=Напольные часы
|
||||
Book=Книга
|
||||
Books Stack=Стопка книг
|
||||
Alarm Clock=Будильник
|
||||
White Plastic Flowerpot=Белый пластиковый горшок
|
||||
Quadratic Painting Alps =Картина "Альпы"
|
||||
Quadratic Painting Cactus Valley =Картина "Долина кактусов"
|
||||
Quadratic Painting Cefeus =Кратина "Цефей"
|
||||
Embossed Quadratic Painting Chamomile =Рельефная картина "Ромашка"
|
||||
Ext Quadratic Painting Dark Forest =Расширенная картина "Тёмный лес"
|
||||
Quadratic Painting Elk =Картина "Лось"
|
||||
Embossed Quadratic Painting Forest =Рельефная картина "Лес"
|
||||
Upscaled Quadratic Painting Fruits Vase =Увеличенная картина "Ваза с фруктами"
|
||||
Upscaled Ext Quadratic Painting Jupiter And Saturn =Увеличенная расширенная картина "Юпитер и Сатурн"
|
||||
Embossed Ext Quadratic Painting Minetest Castle =Рельефная расширенная картина "Замок Minetest"
|
||||
Ext Quadratic Painting Minetest Cathedral =Расширенная картина "Собор Minetest"
|
||||
Quadratic Painting Minetest Logo =Картина "Логотип Minetest"
|
||||
Quadratic Painting Prairie =Картина "Прерия"
|
||||
Embossed Quadratic Painting Rose =Рельефная картина "Роза"
|
||||
Upscaled Embossed Quadratic Painting Ship In Lava =Увеличенная рельефная картина "Корабль в лаве"
|
||||
Round Painting Sky =Круглая картина "Небо"
|
||||
Embossed Ext Quadratic Painting Sunset In Sea =Рельефная расширенная картина "Закат на море"
|
||||
Upscaled Round Painting Supernova =Увеличенная круглая картина "Сверхновая"
|
||||
Ext Quadratic Painting Tropic =Расширенная картина "Тропики"
|
||||
Upscaled Ext Quadratic Painting Physical World Map =Увеличенная расширенная картина "Карта физического мира"
|
||||
Modern Wooden Closed Shelf (without back)=Деревянная закрытая полка (без задней стенки)
|
||||
Modern Wooden Closed Shelf (with back)=Деревянная закрытая полка (с задней стенкой)
|
||||
Modern Wooden Wall Shelf=Деревянная подвесная полка
|
||||
Modern Corner Wooden Wall Shelf=Деревянная угловая подвесная полка
|
||||
Modern Wooden Wall Shelf With Books=Деревянная подвесная полка с книгами
|
||||
Modern Wooden Jungle Closed Shelf (without back)=Закрытая полка из тропического дерева (без задней стенки)
|
||||
Modern Wooden Jungle Closed Shelf (with back)=Закрытая полка из тропического дерева (с задней стенкой)
|
||||
Modern Wooden Jungle Wall Shelf=Подвесная полка из тропического дерева
|
||||
Modern Corner Wooden Jungle Wall Shelf=Угловая подвесная полка из тропического дерева
|
||||
Modern Wooden Jungle Wall Shelf With Books=Деревянная подвесная полка с книгами из тропического дерева
|
||||
Modern Wooden Pine_ Closed Shelf (without back)=Сосновая закрытая полка (без задней стенки)
|
||||
Modern Wooden Pine_ Closed Shelf (with back)=Сосновая закрытая полка (с задней стенкой)
|
||||
Modern Wooden Pine_ Wall Shelf=Сосновая подвесная полка
|
||||
Modern Corner Wooden Pine_ Wall Shelf=Угловая сосновая подвесная полка
|
||||
Modern Wooden Pine_ Wall Shelf With Books=Сосновая подвесная полка с книгами
|
||||
Modern Wooden Aspen_ Closed Shelf (without back)=Осиновая закрытая полка (без задней стенки)
|
||||
Modern Wooden Aspen_ Closed Shelf (with back)=Осиновая закрытая полка (с задней стенкой)
|
||||
Modern Wooden Aspen_ Wall Shelf=Осиновая подвесная полка
|
||||
Modern Corner Wooden Aspen_ Wall Shelf=Угловая осиновая подвесная полка
|
||||
Modern Wooden Aspen_ Wall Shelf With Books=Осиновая подвесная полка с книгами
|
||||
Three Level Wooden Rack=Трёхуровневая деревянная стойка
|
||||
Stone Ledged Stair Segment=Каменный сегмент ступеней с уступами
|
||||
Spiral Stone Stair Base=Основание винтовой каменной лестницы
|
||||
Spiral Stone Stair Segment=Сегмент винтовой каменной лестницы
|
||||
Spiral Stone Ledged Stair Segment=Сегмент винтовой каменной лестницы с уступами
|
||||
Marble Ledged Stair Segment=Сегмент мраморных ступеней с уступами
|
||||
Spiral Marble Stair Base=Основание винтовой мраморной лестницы
|
||||
Spiral Marble Stair Segment=Сегмент винтовой мраморной лестницы
|
||||
Spiral Marble Ledged Stair Segment=Сегмент винтовой мраморной лестницы с уступами
|
||||
Granite Ledged Stair Segment=Сегмент гранитных ступеней с уступами
|
||||
Spiral Granite Stair Base=Основание гранитной винтовой лестницы
|
||||
Spiral Granite Stair Segment=Сегмент гранитной винтовой лестницы
|
||||
Spiral Granite Ledged Stair Segment=Сегмент гранитной винтовой лестницы с уступами
|
||||
Metal Plank Stair Segment=Сегмент металлических ступеней
|
||||
Spiral Metal Plank Stair Segment=Сегмент металлической винтовой лестницы
|
||||
Spiral Metal Plank Stair Segment With Banister=Сегмент металлической винтовой лестницы с перилами
|
||||
Metal Banister=Металлические перила
|
||||
Plastic Plank Stair Segment=Сегмент пластиковых ступеней
|
||||
Spiral Plastic Plank Stair Segment=Сегмент пластиковой винтовой лестницы
|
||||
Spiral Plastic Plank Stair Segment With Banister=Сегмент пластиковой винтовой лестницы с перилами
|
||||
Plastic Banister=Пластиковые перила
|
||||
Kitchen Modern Wooden Table=Кухонный деревянный стол
|
||||
Kitchen Modern Wooden Table With Cloth=Кухонный деревянный стол со скатертью
|
||||
Round Modern Metallic Table=Круглый кухонный металлический стол
|
||||
Round Modern Wooden Table=Круглый кухонный деревянный стол
|
||||
Modern Wooden Desk=Деревянная парта
|
||||
Modern Wooden Table With Metallic Legs=Деревянный стол с металлическими ножками
|
||||
Modern Bedside Table=Прикроватная тумбочка
|
||||
Wooden cupboard with glass doors=Деревянный буфет со стеклянными дверцами
|
||||
Ceramic Tile=Кафельная плитка
|
||||
Bathroom Ceramic Darkceladon Tile=Тёмно-зеленая кафельная плитка
|
||||
Bathroom Ceramic Darkceladon Tiles Block=Блок тёмно-зеленой кафельной плитки
|
||||
Bathroom Ceramic Darksea Tile=Кафельная плитка "тёмное море"
|
||||
Bathroom Ceramic Darksea Tiles Block=Блок кафельной плитки "тёмное море"
|
||||
Bathroom Ceramic Light Tile=Бежевая кафельная плитка
|
||||
Bathroom Ceramic Light Tiles Block=Блок бежевой кафельной плитки
|
||||
Bathroom Ceramic Sand Tile=Песочная кафельная плитка
|
||||
Bathroom Ceramic Sand Tiles Block=Блок песочной кафельной плитки
|
||||
Bathroom Ceramic Red Tile=Красная кафельная плитка
|
||||
Bathroom Ceramic Red Tiles Block=Блок красной кафельной плитки
|
||||
Bathroom Ceramic Green Mosaic Tile=Кафельная плитка "зелёная мозаика"
|
||||
Bathroom Ceramic Green Mosaic Tiles Block=Блок кафельной плитки "зелёная мозаика"
|
||||
Bathroom Ceramic Brown Flowers Tile=Кафельная плитка "коричневые цветы"
|
||||
Bathroom Ceramic Brown Flowers Tiles Block=Блок кафельной плитки "коричневые цветы"
|
||||
Bathroom Ceramic Brown Dandelion Tile=Кафельная плитка "коричневый одуванчик"
|
||||
Bathroom Ceramic Brown Dandelion Tiles Block=Блок кафельной плитки "коричневый одуванчик"
|
||||
Bathroom Ceramic Darkceladon Patterned Tile=Тёмно-зеленая узорчатая кафельная плитка
|
||||
Bathroom Ceramic Darkceladon Patterned Tiles Block=Блок тёмно-зеленой узорчатой кафельной плитки
|
||||
Bathroom Ceramic Darksea Patterned Tile=Узорчатая кафельная плитка "тёмное море"
|
||||
Bathroom Ceramic Darksea Patterned Tiles Block=Блок узорчатой кафельной плитки "тёмное море"
|
||||
Bathroom Ceramic Grey Tile=Серая кафельная плитка
|
||||
Bathroom Ceramic Grey Tiles Block=Блок серой кафельной плитки
|
||||
Bathroom Wooden Darkceladon Panel=Тёмно-зеленая деревянная панель
|
||||
Bathroom Wooden Darksea Panel=Деревянная панель "тёмное море"
|
||||
Bathroom Wooden Light Panel=Бежевая деревянная панель
|
||||
Bathroom Wooden Sand Panel=Песочная деревянная панель
|
||||
Bathroom Wooden Red Panel=Красная деревянная панель
|
||||
Bathroom Wooden Green Mosaic Panel=Деревянная панель "зелёная мозаика"
|
||||
Scraper (for stripping wallpapers, paint or plaster)=Скребок (для снятия обоев, краски или штукатурки)
|
||||
Paint Brush (for painting armchairs, curtains, beds, chairs and etc)=Кисть (для окрашивания кресел, занавесок, кроватей, стульев и т.д.)
|
||||
Spatula (for spreading plaster on surfaces)=Шпатель (для нанесения штукатурки на поверхности)
|
||||
Terracotta Flowerpot (right-click to place wielded flower)=Горшок из терракоты (правый клик - посадить цветок из руки)
|
||||
Green Small Flowerpot (right-click to place wielded flower)=Зеленый маленький горшок (правый клик - посадить цветок из руки)
|
||||
Glass Vase (right-click to place wielded flower)=Стеклянная ваза (правый клик - поставить цветок из руки)
|
||||
White Plastic Flowerpot=Белый пластиковый горшок
|
||||
Jungle Linoleum Block=Блок линолиума "тропическое дерево"
|
||||
Pine Parquet Block=Блок соснового паркета
|
||||
White Laminate Block=Блок белого ламината
|
||||
Laminate Block=Блок ламината
|
||||
Pine Parquet Tile=Плита соснового паркета
|
||||
White Laminate Tile=Плита белого ламината
|
||||
Laminate Tile=Плита ламината
|
||||
Jungle Linoleum Tile=Плита линолеума "тропическое дерево"
|
||||
Painting Frame=Рамка картины
|
||||
White Wallpaper =Белые обои
|
||||
Cyan Patterned Wallpaper =Синие мозаичные обои
|
||||
Yellow Patterned Wallpaper =Желтые мозаичные обои
|
||||
White Patterned Wallpaper =Белые мозаичные обои
|
||||
Stone Stair=Каменные ступени
|
||||
Stone Slab=Каменная плита
|
||||
Marble Stair=Мраморные ступени
|
||||
Marble Slab=Мраморная плита
|
||||
Granite Stair=Гранитные ступени
|
||||
Granite Slab=Гранитная плита
|
||||
Plaster Lump=Штукатурка
|
||||
Kitchen Wall Ceramic Tile=Кухонная настенная кафельная плитка
|
||||
Kitchen Wall Ceramic Tiles Block=Блок кухонной настенной кафельной плитки
|
||||
Kitchen Wall Marble Tile=Кухонная настенная мраморная плитка
|
||||
Kitchen Wall Marble Tiles Block=Блок кухонной настенной мраморной плитки
|
||||
Kitchen Floor White Tile=Кухонная напольная белая плитка
|
||||
Kitchen Floor White Tiles Block=Блок кухонной напольной белой плитки
|
||||
Kitchen Floor Black Tile=Кухонная напольная чёрная плитка
|
||||
Kitchen Floor Black Tiles Block=Блок кухонной напольной чёрной плитки
|
299
modern/locale/template.txt
Normal file
@ -0,0 +1,299 @@
|
||||
# textdomain: modern
|
||||
|
||||
Bathtub=
|
||||
Bathtub With Darkceladon Shields=
|
||||
Bathroom Washbasin With Darkceladon Doors=
|
||||
Bathroom Wall Cabinet With Darkceladon Doors=
|
||||
Bathroom Darkceladon Wall Set With Mirror=
|
||||
Bathtub With Darksea Shields=
|
||||
Bathroom Washbasin With Darksea Doors=
|
||||
Bathroom Wall Cabinet With Darksea Doors=
|
||||
Bathroom Darksea Wall Set With Mirror=
|
||||
Bathtub With Light Shields=
|
||||
Bathroom Washbasin With Light Doors=
|
||||
Bathroom Wall Cabinet With Light Doors=
|
||||
Bathroom Light Wall Set With Mirror=
|
||||
Bathtub With Sand Shields=
|
||||
Bathroom Washbasin With Sand Doors=
|
||||
Bathroom Wall Cabinet With Sand Doors=
|
||||
Bathroom Sand Wall Set With Mirror=
|
||||
Bathtub With Red Shields=
|
||||
Bathroom Washbasin With Red Doors=
|
||||
Bathroom Wall Cabinet With Red Doors=
|
||||
Bathroom Red Wall Set With Mirror=
|
||||
Bathtub With Green Mosaic Shields=
|
||||
Bathroom Washbasin With Green Mosaic Doors=
|
||||
Bathroom Wall Cabinet With Green Mosaic Doors=
|
||||
Bathroom Green Mosaic Wall Set With Mirror=
|
||||
Bathroom Fluffy Rug=
|
||||
Bathroom Sink=
|
||||
Bathroom Shower Base=
|
||||
Bathroom Slatted Ceiling=
|
||||
Bathroom Slatted Ceiling With Lamp=
|
||||
Toilet=
|
||||
Bathroom Curtain With Rings=
|
||||
Bathroom Curtain=
|
||||
Plastic Quadratic Cornice=
|
||||
Bathroom Tap With Cap Flap=
|
||||
Bathroom Tap With Side Flaps=
|
||||
Shower Head=
|
||||
Crooked Shower Head=
|
||||
Bathroom Mirror=
|
||||
Toilet Paper Reel=
|
||||
Underwear Tank=
|
||||
Jungle Bed (single)=
|
||||
Jungle Bed (double)=
|
||||
Wooden bed with legs (single)=
|
||||
Wooden bed with legs (double)=
|
||||
Dresser With Mirror=
|
||||
Kitchen Modern Wooden Chair=
|
||||
Soft Kitchen Modern Wooden Chair=
|
||||
Soft Modern Jungle Chair=
|
||||
Soft Round Modern Metallic Chair=
|
||||
Round Modern Metallic Stool=
|
||||
Armchair with wooden legs=
|
||||
Sofa=
|
||||
High Dark Rusty Gate=
|
||||
Dark Rusty Gate=
|
||||
Simple Wooden Door=
|
||||
Wooden Doorjamb=
|
||||
Wooden Plinth=
|
||||
Wooden Corner Plinth=
|
||||
Wooden Window Segment=
|
||||
Wooden Window Segment With Thick Slats=
|
||||
Wooden Window Segment With Thin Slats=
|
||||
Wooden Window Door=
|
||||
Wooden Window Door With Thin Slats=
|
||||
Simple Pine Door=
|
||||
Pine Doorjamb=
|
||||
Pine Plinth=
|
||||
Pine Corner Plinth=
|
||||
Pine Window Segment=
|
||||
Pine Window Segment With Thick Slats=
|
||||
Pine Window Segment With Thin Slats=
|
||||
Pine Window Door=
|
||||
Pine Window Door With Thin Slats=
|
||||
Simple Aspen Door=
|
||||
Aspen Doorjamb=
|
||||
Aspen Plinth=
|
||||
Aspen Corner Plinth=
|
||||
Aspen Window Segment=
|
||||
Aspen Window Segment With Thick Slats=
|
||||
Aspen Window Segment With Thin Slats=
|
||||
Aspen Window Door=
|
||||
Aspen Window Door With Thin Slats=
|
||||
Simple White Pine Door=
|
||||
White Pine Doorjamb=
|
||||
White Pine Plinth=
|
||||
White Pine Corner Plinth=
|
||||
White Pine Window Segment=
|
||||
White Pine Window Segment With Thick Slats=
|
||||
White Pine Window Segment With Thin Slats=
|
||||
White Pine Window Door=
|
||||
White Pine Window Door With Thin Slats=
|
||||
Patterned Wooden Door=
|
||||
Bathroom Door=
|
||||
White Pine Glass Door=
|
||||
Patterned Aspen Glass Door=
|
||||
Patterned Aspen Door=
|
||||
Pine Glass Door=
|
||||
Technical Locked Door=
|
||||
Metallic Locked Door=
|
||||
Dark Rusty Fence=
|
||||
High Dark Rusty Fence=
|
||||
High Dark Rusty Fence (extended)=
|
||||
Slatted Wooden Fence=
|
||||
High Slatted Wooden Fence=
|
||||
Corrugated Fence=
|
||||
High Corrugated Fence=
|
||||
Kitchen Granite Two Shelves Cabinet With Drawers=
|
||||
Kitchen Granite Three Shelves Cabinet With Drawers=
|
||||
Kitchen Granite Two Shelves Cabinet With Doors=
|
||||
Kitchen Granite Three Shelves Cabinet With Doors=
|
||||
Kitchen Granite Three Shelves Cabinet With Drawer And Door=
|
||||
Kitchen Two Shelves Wall Cabinet With Door=
|
||||
Kitchen Two Shelves Wall Cabinet With Half Doors=
|
||||
Kitchen Two Shelves Wall Cabinet With Half Glass Doors=
|
||||
Kitchen Two Shelves Wall Corner Cabinet With Half Glass Doors=
|
||||
Kitchen Granite Sink Cabinet=
|
||||
Kitchen Marble Two Shelves Cabinet With Drawers=
|
||||
Kitchen Marble Three Shelves Cabinet With Drawers=
|
||||
Kitchen Marble Two Shelves Cabinet With Doors=
|
||||
Kitchen Marble Three Shelves Cabinet With Doors=
|
||||
Kitchen Marble Three Shelves Cabinet With Drawer And Door=
|
||||
Kitchen Marble Sink Cabinet=
|
||||
Ceiling Fan=
|
||||
Kitchen Cooker=
|
||||
Kitchen Hood=
|
||||
Kitchen Fridge=
|
||||
Porcelain Plate=
|
||||
Porcelain Plate With Fork And Knife=
|
||||
Porcelain Cup=
|
||||
Glass Cup=
|
||||
Rack for paper napkins=
|
||||
Saucepans set (put it on the cooker top)=
|
||||
Cast Iron Pan=
|
||||
Porcelain Saucer With Cup=
|
||||
Porcelain Saucer With Tea Cup=
|
||||
Faceted Glass=
|
||||
Porcelain Teapot=
|
||||
Kitchen Metallic Hanger=
|
||||
Kitchen Metallic Hanger With Ladle And Board=
|
||||
Kitchen Cutlery Organiser=
|
||||
Microwave=
|
||||
Silver Chain=
|
||||
Silver Chain Tip=
|
||||
Silvered Desk Lamp=
|
||||
Copper Wall Sconce=
|
||||
Plastic Desk Lamp=
|
||||
Gold Chandelier With Glass Candles=
|
||||
Metal Chandelier With Plastic Plafonds=
|
||||
Brass Candlestick=
|
||||
Silver Candlestick=
|
||||
Ceiling Round Lamp=
|
||||
Ceiling Wooden Lamp=
|
||||
Kitchen Chandelier=
|
||||
Louvers Top =
|
||||
Louvers Medium =
|
||||
Louvers Bottom =
|
||||
Louvers Top Open =
|
||||
Louvers Medium Open =
|
||||
Louvers Bottom Open =
|
||||
Floor Clock=
|
||||
Book=
|
||||
Books Stack=
|
||||
Alarm Clock=
|
||||
White Plastic Flowerpot=
|
||||
Quadratic Painting Alps =
|
||||
Quadratic Painting Cactus Valley =
|
||||
Quadratic Painting Cefeus =
|
||||
Embossed Quadratic Painting Chamomile =
|
||||
Ext Quadratic Painting Dark Forest =
|
||||
Quadratic Painting Elk =
|
||||
Embossed Quadratic Painting Forest =
|
||||
Upscaled Quadratic Painting Fruits Vase =
|
||||
Upscaled Ext Quadratic Painting Jupiter And Saturn =
|
||||
Embossed Ext Quadratic Painting Minetest Castle =
|
||||
Ext Quadratic Painting Minetest Cathedral =
|
||||
Quadratic Painting Minetest Logo =
|
||||
Quadratic Painting Prairie =
|
||||
Embossed Quadratic Painting Rose =
|
||||
Upscaled Embossed Quadratic Painting Ship In Lava =
|
||||
Round Painting Sky =
|
||||
Embossed Ext Quadratic Painting Sunset In Sea =
|
||||
Upscaled Round Painting Supernova =
|
||||
Ext Quadratic Painting Tropic =
|
||||
Upscaled Ext Quadratic Painting Physical World Map =
|
||||
Modern Wooden Closed Shelf (without back)=
|
||||
Modern Wooden Closed Shelf (with back)=
|
||||
Modern Wooden Wall Shelf=
|
||||
Modern Corner Wooden Wall Shelf=
|
||||
Modern Wooden Wall Shelf With Books=
|
||||
Modern Wooden Jungle Closed Shelf (without back)=
|
||||
Modern Wooden Jungle Closed Shelf (with back)=
|
||||
Modern Wooden Jungle Wall Shelf=
|
||||
Modern Corner Wooden Jungle Wall Shelf=
|
||||
Modern Wooden Jungle Wall Shelf With Books=
|
||||
Modern Wooden Pine_ Closed Shelf (without back)=
|
||||
Modern Wooden Pine_ Closed Shelf (with back)=
|
||||
Modern Wooden Pine_ Wall Shelf=
|
||||
Modern Corner Wooden Pine_ Wall Shelf=
|
||||
Modern Wooden Pine_ Wall Shelf With Books=
|
||||
Modern Wooden Aspen_ Closed Shelf (without back)=
|
||||
Modern Wooden Aspen_ Closed Shelf (with back)=
|
||||
Modern Wooden Aspen_ Wall Shelf=
|
||||
Modern Corner Wooden Aspen_ Wall Shelf=
|
||||
Modern Wooden Aspen_ Wall Shelf With Books=
|
||||
Three Level Wooden Rack=
|
||||
Stone Ledged Stair Segment=
|
||||
Spiral Stone Stair Base=
|
||||
Spiral Stone Stair Segment=
|
||||
Spiral Stone Ledged Stair Segment=
|
||||
Marble Ledged Stair Segment=
|
||||
Spiral Marble Stair Base=
|
||||
Spiral Marble Stair Segment=
|
||||
Spiral Marble Ledged Stair Segment=
|
||||
Granite Ledged Stair Segment=
|
||||
Spiral Granite Stair Base=
|
||||
Spiral Granite Stair Segment=
|
||||
Spiral Granite Ledged Stair Segment=
|
||||
Metal Plank Stair Segment=
|
||||
Spiral Metal Plank Stair Segment=
|
||||
Spiral Metal Plank Stair Segment With Banister=
|
||||
Metal Banister=
|
||||
Plastic Plank Stair Segment=
|
||||
Spiral Plastic Plank Stair Segment=
|
||||
Spiral Plastic Plank Stair Segment With Banister=
|
||||
Plastic Banister=
|
||||
Kitchen Modern Wooden Table=
|
||||
Kitchen Modern Wooden Table With Cloth=
|
||||
Round Modern Metallic Table=
|
||||
Round Modern Wooden Table=
|
||||
Modern Wooden Desk=
|
||||
Modern Wooden Table With Metallic Legs=
|
||||
Modern Bedside Table=
|
||||
Wooden cupboard with glass doors=
|
||||
Ceramic Tile=
|
||||
Bathroom Ceramic Darkceladon Tile=
|
||||
Bathroom Ceramic Darkceladon Tiles Block=
|
||||
Bathroom Ceramic Darksea Tile=
|
||||
Bathroom Ceramic Darksea Tiles Block=
|
||||
Bathroom Ceramic Light Tile=
|
||||
Bathroom Ceramic Light Tiles Block=
|
||||
Bathroom Ceramic Sand Tile=
|
||||
Bathroom Ceramic Sand Tiles Block=
|
||||
Bathroom Ceramic Red Tile=
|
||||
Bathroom Ceramic Red Tiles Block=
|
||||
Bathroom Ceramic Green Mosaic Tile=
|
||||
Bathroom Ceramic Green Mosaic Tiles Block=
|
||||
Bathroom Ceramic Brown Flowers Tile=
|
||||
Bathroom Ceramic Brown Flowers Tiles Block=
|
||||
Bathroom Ceramic Brown Dandelion Tile=
|
||||
Bathroom Ceramic Brown Dandelion Tiles Block=
|
||||
Bathroom Ceramic Darkceladon Patterned Tile=
|
||||
Bathroom Ceramic Darkceladon Patterned Tiles=
|
||||
Bathroom Ceramic Darksea Patterned Tile=
|
||||
Bathroom Ceramic Darksea Patterned Tiles Block=
|
||||
Bathroom Ceramic Grey Tile=
|
||||
Bathroom Ceramic Grey Tiles Block=
|
||||
Bathroom Wooden Darkceladon Panel=
|
||||
Bathroom Wooden Darksea Panel=
|
||||
Bathroom Wooden Light Panel=
|
||||
Bathroom Wooden Sand Panel=
|
||||
Bathroom Wooden Red Panel=
|
||||
Bathroom Wooden Green Mosaic Panel=
|
||||
Scraper (for stripping wallpapers, paint or plaster)=
|
||||
Paint Brush (for painting armchairs, curtains, beds, chairs and etc)=
|
||||
Spatula (for spreading plaster on surfaces=
|
||||
Terracotta Flowerpot (right-click to place wielded flower)=
|
||||
Green Small Flowerpot (right-click to place wielded flower)=
|
||||
Glass Vase (right-click to place wielded flower)=
|
||||
White Plastic Flowerpot=
|
||||
Jungle Linoleum Block=
|
||||
Pine Parquet Block=
|
||||
White Laminate Block=
|
||||
Laminate Block=
|
||||
Pine Parquet Tile=
|
||||
White Laminate Tile=
|
||||
Laminate Tile=
|
||||
Jungle Linoleum Tile=
|
||||
Painting Frame=
|
||||
White Wallpaper =
|
||||
Cyan Patterned Wallpaper =
|
||||
Yellow Patterned Wallpaper =
|
||||
White Patterned Wallpaper =
|
||||
Stone Stair=
|
||||
Stone Slab=
|
||||
Marble Stair=
|
||||
Marble Slab=
|
||||
Granite Stair=
|
||||
Granite Slab=
|
||||
Plaster Lump=
|
||||
Kitchen Wall Ceramic Tile=
|
||||
Kitchen Wall Ceramic Tiles Block=
|
||||
Kitchen Wall Marble Tile=
|
||||
Kitchen Wall Marble Tiles Block=
|
||||
Kitchen Floor White Tile=
|
||||
Kitchen Floor White Tiles Block=
|
||||
Kitchen Floor Black Tile=
|
||||
Kitchen Floor Black Tiles Block=
|
@ -111,7 +111,7 @@ for _, img in ipairs(images) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = mat,
|
||||
description = multidecor.helpers.upper_first_letters(name),
|
||||
description = modern.S(multidecor.helpers.upper_first_letters(name)),
|
||||
mesh = "multidecor_" .. mesh .. ".b3d",
|
||||
tiles = {base_tile, "multidecor_image_" .. img[1] .. ".png"},
|
||||
bounding_boxes = {img_bbox}
|
||||
@ -123,7 +123,7 @@ end
|
||||
|
||||
|
||||
minetest.register_craftitem(":multidecor:painting_frame", {
|
||||
description = "Painting Frame",
|
||||
description = modern.S("Painting Frame"),
|
||||
inventory_image = "multidecor_painting_frame.png"
|
||||
})
|
||||
|
||||
|
@ -8,7 +8,7 @@ for _, wood_n in ipairs({"", "jungle", "pine", "aspen"}) do
|
||||
material = "wood",
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 1,
|
||||
description = "Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Closed Shelf (without back)",
|
||||
description = modern.S("Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Closed Shelf (without back)"),
|
||||
tiles = {tex, tex, tex, tex, tex, tex},
|
||||
bounding_boxes = {
|
||||
{-0.5, -0.4, -0.5, -0.4, 0.4, 0.5}, -- Left side
|
||||
@ -46,7 +46,7 @@ for _, wood_n in ipairs({"", "jungle", "pine", "aspen"}) do
|
||||
material = "wood",
|
||||
drawtype = "nodebox",
|
||||
visual_scale = 1,
|
||||
description = "Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Closed Shelf (with back)",
|
||||
description = modern.S("Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Closed Shelf (with back)"),
|
||||
tiles = {tex, tex, tex, tex, tex, tex},
|
||||
bounding_boxes = {
|
||||
{-0.5, -0.4, -0.5, -0.4, 0.4, 0.5}, -- Left side
|
||||
@ -83,7 +83,7 @@ for _, wood_n in ipairs({"", "jungle", "pine", "aspen"}) do
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
paramtype2 = "wallmounted",
|
||||
description = "Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Wall Shelf",
|
||||
description = modern.S("Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Wall Shelf"),
|
||||
mesh = "multidecor_wall_shelf.obj",
|
||||
tiles = {tex},
|
||||
bounding_boxes = {
|
||||
@ -101,7 +101,7 @@ for _, wood_n in ipairs({"", "jungle", "pine", "aspen"}) do
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
paramtype2 = "wallmounted",
|
||||
description = "Modern Corner Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Wall Shelf",
|
||||
description = modern.S("Modern Corner Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Wall Shelf"),
|
||||
mesh = "multidecor_corner_wall_shelf.b3d",
|
||||
tiles = {tex},
|
||||
bounding_boxes = {
|
||||
@ -121,7 +121,7 @@ for _, wood_n in ipairs({"", "jungle", "pine", "aspen"}) do
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
paramtype2 = "wallmounted",
|
||||
description = "Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Wall Shelf With Books",
|
||||
description = modern.S("Modern Wooden " .. wood_n:sub(1, 1):upper() .. wood_n:sub(2, -1) .. " Wall Shelf With Books"),
|
||||
mesh = "multidecor_wall_shelf_with_books.b3d",
|
||||
tiles = { -- Red, blue, green, darkmagenta, darkorange
|
||||
tex,
|
||||
@ -147,7 +147,7 @@ end
|
||||
multidecor.register.register_table("three_level_wooden_rack", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Three Level Wooden Rack",
|
||||
description = modern.S("Three Level Wooden Rack"),
|
||||
mesh = "multidecor_three_level_wooden_rack.b3d",
|
||||
tiles = {"multidecor_wood.png"},
|
||||
bounding_boxes = {{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}},
|
||||
|
@ -68,8 +68,8 @@ for _, stair in ipairs(stairs_data) do
|
||||
"multidecor:" .. stair.name .. "_block",
|
||||
{cracky=3},
|
||||
{stair.tex .. "^[sheet:2x2:0,0"},
|
||||
upper_name .. " Stair",
|
||||
upper_name .. " Slab",
|
||||
modern.S(upper_name .. " Stair"),
|
||||
modern.S(upper_name .. " Slab"),
|
||||
default.node_sound_stone_defaults(),
|
||||
true
|
||||
)
|
||||
@ -78,7 +78,7 @@ for _, stair in ipairs(stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = upper_name .. " Ledged Stair Segment",
|
||||
description = modern.S(upper_name .. " Ledged Stair Segment"),
|
||||
mesh = "multidecor_ledged_stair_segment.b3d",
|
||||
tiles = {stair.tex},
|
||||
groups = {stair=1},
|
||||
@ -96,7 +96,7 @@ for _, stair in ipairs(stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Spiral " .. upper_name .. " Stair Base",
|
||||
description = modern.S("Spiral " .. upper_name .. " Stair Base"),
|
||||
mesh = "multidecor_spiral_stair_base.b3d",
|
||||
tiles = {stair.tex},
|
||||
bounding_boxes = {{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}}
|
||||
@ -111,7 +111,7 @@ for _, stair in ipairs(stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Spiral " .. upper_name .. " Stair Segment",
|
||||
description = modern.S("Spiral " .. upper_name .. " Stair Segment"),
|
||||
mesh = "multidecor_spiral_stair_segment.b3d",
|
||||
tiles = {stair.tex},
|
||||
groups = {stair=1, spiral=1},
|
||||
@ -131,7 +131,7 @@ for _, stair in ipairs(stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = "stone",
|
||||
description = "Spiral " .. upper_name .. " Ledged Stair Segment",
|
||||
description = modern.S("Spiral " .. upper_name .. " Ledged Stair Segment"),
|
||||
mesh = "multidecor_spiral_ledged_stair_segment.b3d",
|
||||
tiles = {stair.tex},
|
||||
groups = {stair=1, spiral=1},
|
||||
@ -178,7 +178,7 @@ for _, sstair in ipairs(spiral_stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = sstair.name == "redwood" and "wood" or sstair.name,
|
||||
description = upper_name .. "Plank Stair Segment",
|
||||
description =modern.S(upper_name .. "Plank Stair Segment"),
|
||||
mesh = "multidecor_plank_stair_segment.b3d",
|
||||
tiles = sstair.tex,
|
||||
groups = {stair=1},
|
||||
@ -196,7 +196,7 @@ for _, sstair in ipairs(spiral_stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = sstair.name == "redwood" and "wood" or sstair.name,
|
||||
description = "Spiral " .. upper_name .. "Plank Stair Segment",
|
||||
description = modern.S("Spiral " .. upper_name .. "Plank Stair Segment"),
|
||||
mesh = "multidecor_spiral_plank_stair_segment.b3d",
|
||||
tiles = sstair.tex,
|
||||
groups = {stair=1, spiral=1},
|
||||
@ -215,7 +215,7 @@ for _, sstair in ipairs(spiral_stairs_data) do
|
||||
type = "decoration",
|
||||
style = "modern",
|
||||
material = sstair.name == "redwood" and "wood" or sstair.name,
|
||||
description = "Spiral " .. upper_name .. "Plank Stair Segment With Banister",
|
||||
description = modern.S("Spiral " .. upper_name .. "Plank Stair Segment With Banister"),
|
||||
mesh = "multidecor_spiral_plank_stair_segment_with_banister.b3d",
|
||||
tiles = sstair.tex,
|
||||
bounding_boxes = sstair_plank_bboxes_wban
|
||||
@ -233,7 +233,7 @@ for _, sstair in ipairs(spiral_stairs_data) do
|
||||
multidecor.register.register_banister(banister_common_name, {
|
||||
style = "modern",
|
||||
material = sstair.name == "redwood" and "wood" or sstair.name,
|
||||
description = upper_name .. " Banister",
|
||||
description = modern.S(upper_name .. " Banister"),
|
||||
mesh = "multidecor_banister.b3d",
|
||||
tiles = sstair.tex,
|
||||
bounding_boxes = banister_bboxes,
|
||||
|
@ -1,10 +1,10 @@
|
||||
multidecor.register.register_table("kitchen_modern_wooden_table", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Kitchen Modern Wooden Table",
|
||||
description = modern.S("Kitchen Modern Wooden Table"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_kitchen_modern_wooden_table.b3d",
|
||||
tiles = {"multidecor_wood.png", "multidecor_wood.png", "multidecor_wood.png^[opacity:0"},
|
||||
tiles = {"multidecor_wood.png"},
|
||||
bounding_boxes = {
|
||||
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}
|
||||
},
|
||||
@ -38,12 +38,11 @@ multidecor.register.register_table("kitchen_modern_wooden_table", {
|
||||
multidecor.register.register_table("kitchen_modern_wooden_table_with_cloth", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Kitchen Modern Wooden Table With Cloth",
|
||||
description = modern.S("Kitchen Modern Wooden Table With Cloth"),
|
||||
paramtype2 = "colorfacedir",
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_kitchen_modern_wooden_table.b3d",
|
||||
mesh = "multidecor_kitchen_modern_wooden_table_with_cloth.b3d",
|
||||
tiles = {
|
||||
{name="multidecor_wood.png^[opacity:0", color=0xffffffff},
|
||||
{name="multidecor_wood.png", color=0xffffffff},
|
||||
"multidecor_wool_material.png"
|
||||
},
|
||||
@ -63,11 +62,11 @@ multidecor.register.register_table("kitchen_modern_wooden_table_with_cloth", {
|
||||
{
|
||||
common_name = "kitchen_modern_wooden_table_with_cloth",
|
||||
connect_parts = {
|
||||
["edge"] = "multidecor_kitchen_modern_wooden_table_1.b3d",
|
||||
["corner"] = "multidecor_kitchen_modern_wooden_table_2.b3d",
|
||||
["middle"] = "multidecor_kitchen_modern_wooden_table_3.b3d",
|
||||
["edge_middle"] = "multidecor_kitchen_modern_wooden_table_4.b3d",
|
||||
["off_edge"] = "multidecor_kitchen_modern_wooden_table_5.b3d"
|
||||
["edge"] = "multidecor_kitchen_modern_wooden_table_with_cloth_1.b3d",
|
||||
["corner"] = "multidecor_kitchen_modern_wooden_table_with_cloth_2.b3d",
|
||||
["middle"] = "multidecor_kitchen_modern_wooden_table_with_cloth_3.b3d",
|
||||
["edge_middle"] = "multidecor_kitchen_modern_wooden_table_with_cloth_4.b3d",
|
||||
["off_edge"] = "multidecor_kitchen_modern_wooden_table_with_cloth_5.b3d"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -81,7 +80,7 @@ multidecor.register.register_table("kitchen_modern_wooden_table_with_cloth", {
|
||||
multidecor.register.register_table("round_modern_metallic_table", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Round Modern Metallic Table",
|
||||
description = modern.S("Round Modern Metallic Table"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_round_metallic_table.b3d",
|
||||
tiles = {"multidecor_metal_material.png", "multidecor_aspen_wood.png"},
|
||||
@ -100,7 +99,7 @@ multidecor.register.register_table("round_modern_metallic_table", {
|
||||
multidecor.register.register_table("round_modern_wooden_table", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Round Modern Wooden Table",
|
||||
description = modern.S("Round Modern Wooden Table"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_round_wooden_table.obj",
|
||||
tiles = {"multidecor_jungle_wood.png"},
|
||||
@ -119,7 +118,7 @@ multidecor.register.register_table("round_modern_wooden_table", {
|
||||
multidecor.register.register_table("modern_wooden_desk", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Modern Wooden Desk",
|
||||
description = modern.S("Modern Wooden Desk"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_wooden_desk.obj",
|
||||
tiles = {"multidecor_jungle_wood.png"},
|
||||
@ -202,7 +201,7 @@ minetest.register_entity("modern:wooden_door", {
|
||||
multidecor.register.register_table("modern_wooden_table_with_metallic_legs", {
|
||||
style = "modern",
|
||||
material = "metal",
|
||||
description = "Modern Wooden Table With Metallic Legs",
|
||||
description = modern.S("Modern Wooden Table With Metallic Legs"),
|
||||
visual_scale = 0.4,
|
||||
mesh = "multidecor_wooden_table_with_metallic_legs.b3d",
|
||||
tiles = {"multidecor_aspen_wood.png", "multidecor_metal_material.png"},
|
||||
@ -221,7 +220,7 @@ multidecor.register.register_table("modern_wooden_table_with_metallic_legs", {
|
||||
multidecor.register.register_table("modern_bedside_table", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Modern Bedside Table",
|
||||
description = modern.S("Modern Bedside Table"),
|
||||
mesh = "multidecor_bedside_table.b3d",
|
||||
tiles = {"multidecor_pine_wood2.png", "multidecor_hardboard.png"},
|
||||
bounding_boxes = {
|
||||
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
@ -1,7 +1,7 @@
|
||||
multidecor.register.register_table("modern_cupboard_with_glass_doors", {
|
||||
style = "modern",
|
||||
material = "wood",
|
||||
description = "Wooden cupboard with glass doors",
|
||||
description = modern.S("Wooden cupboard with glass doors"),
|
||||
mesh = "multidecor_cupboard_with_glass_doors.b3d",
|
||||
tiles = {"multidecor_jungle_wood.png", "multidecor_glass_material.png", "multidecor_metal_material.png"},
|
||||
inventory_image = "multidecor_cupboard_inv.png",
|
||||
|