Merge and update translations

This commit is contained in:
Carlos Barraza 2021-11-13 20:15:20 -03:00
commit 8eadf2af56
42 changed files with 802 additions and 2206 deletions

24
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@master
- run: |
sudo apt-get update -qq
sudo apt-get install -qqq luarocks
- name: Install pre-commit
run: pip3 install pre-commit
- name: Install LuaCheck
run: luarocks install --local luacheck
- name: Run LuaCheck using pre-commit
run: |
pre-commit run --all-files
$HOME/.luarocks/bin/luacheck .

View File

@ -25,7 +25,6 @@ stds.minetest = {
}
read_globals = {
"intllib",
"protector",
"isprotect",
"IsPlayerNodeOwner",

View File

@ -1,7 +1,8 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v3.3.0
hooks:
- id: fix-byte-order-marker
- id: end-of-file-fixer
- id: trailing-whitespace

View File

@ -1,15 +0,0 @@
dist: bionic
language: python
python:
- 3.7.1
install:
- sudo apt-get update -qq
- sudo apt-get install -qqq luarocks
- pip3 install pre-commit
- luarocks install --local luacheck
script:
- pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck .

View File

@ -7,6 +7,44 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [2.2.0] - 2021-06-28
### Changed
- Refactored recipe override mechanism to avoid re-coding recipes
when we only want to change the amount produced.
- [Realigned rail recipe to the changes made in Minetest Game.](https://github.com/minetest-mods/moreblocks/pull/169)
- All rail recipes (standard, power, break) were boosted by 50%.
### Fixed
- [Shapeless crafting recipes are now handled in redefinitions.](https://github.com/minetest-mods/moreblocks/pull/171)
- [Aliases are now resolved in Stairs+ circular saw cost calculation.](https://github.com/minetest-mods/moreblocks/pull/175)
- [Fixed strange placement behavior for non-default Stairs+ nodes.](https://github.com/minetest-mods/moreblocks/pull/168)
- [Fixed stairs placement over oddly-shaped nodes.](https://github.com/minetest-mods/moreblocks/pull/166)
## [2.1.0] - 2020-12-14
### Added
- Clean Glass versions of Trap and (Super) Glowing Glass.
- Compressed desert cobblestone.
### Changed
- Revised placing strategy that takes into account which side of the face
(top/bottom for horizontal, left/right for vertical placement) is being clicked.
Aux (sprint/special, default E) key can be used to place the node with the orientation
it would have if placed from the other side.
When placing nodes next to nodes of the same gategory (e.g.slab to slab) the other
node's orientation is copied, flipping it placing on top or below an upright or
upside-down node. In this case the aux key will disable the special processing of
same-category nodes.
### Fixed
- Revised minetest_game crafting recipe overrides to match Minetest 5.0.0 and later.
### Removed
- Legacy Stairs+ conversion code.
@ -95,7 +133,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Initial versioned release.
[Unreleased]: https://github.com/minetest-mods/moreblocks/compare/v2.0.0...HEAD
[Unreleased]: https://github.com/minetest-mods/moreblocks/compare/v2.2.0...HEAD
[2.2.0]: https://github.com/minetest-mods/moreblocks/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/minetest-mods/moreblocks/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/minetest-mods/moreblocks/compare/v1.3.0...v2.0.0
[1.3.0]: https://github.com/minetest-mods/moreblocks/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/minetest-mods/moreblocks/compare/v1.1.0...v1.2.0

View File

@ -1,4 +1,4 @@
# More Blocks
# More Blocks [![Build status](https://github.com/minetest-mods/moreblocks/workflows/build/badge.svg)](https://github.com/minetest-mods/moreblocks/actions)
More Blocks for [Minetest](https://www.minetest.net/), a free and open source infinite
world block sandbox game.
@ -58,7 +58,7 @@ on that line.
## Version compatibility
More Blocks is currently primarily tested with Minetest 5.1.0.
More Blocks is currently primarily tested with Minetest 5.3.0.
It may or may not work with newer or older versions. Issues arising in older
versions than 5.0.0 will generally not be fixed.

View File

@ -88,8 +88,9 @@ circular_saw.names = {
}
function circular_saw:get_cost(inv, stackname)
local name = minetest.registered_aliases[stackname] or stackname
for i, item in pairs(inv:get_list("output")) do
if item:get_name() == stackname then
if item:get_name() == name then
return circular_saw.cost_in_microblocks[i]
end
end
@ -335,6 +336,10 @@ function circular_saw.on_metadata_inventory_take(
local input_stack = inv:get_stack(listname, index)
if not input_stack:is_empty() and input_stack:get_name()~=stack:get_name() then
local player_inv = player:get_inventory()
-- Prevent arbitrary item duplication.
inv:remove_item(listname, input_stack)
if player_inv:room_for_item("main", input_stack) then
player_inv:add_item("main", input_stack)
end
@ -361,9 +366,15 @@ function circular_saw.on_metadata_inventory_take(
-- The recycle field plays no role here since it is processed immediately.
end
local has_default_mod = minetest.get_modpath("default")
function circular_saw.on_construct(pos)
local meta = minetest.get_meta(pos)
local fancy_inv = default.gui_bg..default.gui_bg_img..default.gui_slots
local fancy_inv = ""
if has_default_mod then
-- prepend background and slot styles from default if available
fancy_inv = default.gui_bg..default.gui_bg_img..default.gui_slots
end
meta:set_string(
--FIXME Not work with @n in this part bug in minetest/minetest#7450.
"formspec", "size[11,10]"..fancy_inv..
@ -436,7 +447,7 @@ minetest.register_node("moreblocks:circular_saw", {
sunlight_propagates = true,
paramtype2 = "facedir",
groups = {choppy = 2,oddly_breakable_by_hand = 2},
sounds = default.node_sound_wood_defaults(),
sounds = moreblocks.node_sound_wood_defaults(),
on_construct = circular_saw.on_construct,
can_dig = circular_saw.can_dig,
-- Set the owner of this circular saw.

View File

@ -348,12 +348,36 @@ minetest.register_craft({
recipe = {"moreblocks:sweeper", "default:glass"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_glass",
type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:clean_glass"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_glass",
type = "shapeless",
recipe = {"moreblocks:sweeper", "moreblocks:trap_glass"},
})
minetest.register_craft({
output = "moreblocks:glow_glass",
type = "shapeless",
recipe = {"default:torch", "default:glass"},
})
minetest.register_craft({
output = "moreblocks:clean_glow_glass",
type = "shapeless",
recipe = {"default:torch", "moreblocks:clean_glass"},
})
minetest.register_craft({
output = "moreblocks:clean_glow_glass",
type = "shapeless",
recipe = {"moreblocks:sweeper", "moreblocks:glow_glass"},
})
minetest.register_craft({
output = "moreblocks:trap_glow_glass",
type = "shapeless",
@ -366,6 +390,26 @@ minetest.register_craft({
recipe = {"default:mese_crystal_fragment", "moreblocks:glow_glass"},
})
-- several recipes are possible for the trap+clean+glow, we only present 3 of them
minetest.register_craft({
output = "moreblocks:trap_clean_glow_glass",
type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:clean_glow_glass"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_glow_glass",
type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:clean_glass", "default:torch"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_glow_glass",
type = "shapeless",
recipe = {"moreblocks:sweeper", "moreblocks:trap_glow_glass" },
})
minetest.register_craft({
output = "moreblocks:super_glow_glass",
type = "shapeless",
@ -378,6 +422,24 @@ minetest.register_craft({
recipe = {"default:torch", "moreblocks:glow_glass"},
})
minetest.register_craft({
output = "moreblocks:clean_super_glow_glass",
type = "shapeless",
recipe = {"default:torch", "default:torch", "moreblocks:clean_glass"},
})
minetest.register_craft({
output = "moreblocks:clean_super_glow_glass",
type = "shapeless",
recipe = {"default:torch", "moreblocks:clean_glow_glass"},
})
minetest.register_craft({
output = "moreblocks:clean_super_glow_glass",
type = "shapeless",
recipe = {"moreblocks:sweeper", "moreblocks:super_glow_glass"},
})
minetest.register_craft({
output = "moreblocks:trap_super_glow_glass",
@ -391,6 +453,32 @@ minetest.register_craft({
recipe = {"default:mese_crystal_fragment", "moreblocks:super_glow_glass"},
})
-- several recipes are possible for the trap+clean+glow, we only present 4 of them
minetest.register_craft({
output = "moreblocks:trap_clean_super_glow_glass",
type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:clean_super_glow_glass"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_super_glow_glass",
type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:clean_glow_glass", "default:torch"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_super_glow_glass",
type = "shapeless",
recipe = {"default:mese_crystal_fragment", "moreblocks:clean_glass", "default:torch", "default:torch"},
})
minetest.register_craft({
output = "moreblocks:trap_clean_super_glow_glass",
type = "shapeless",
recipe = {"moreblocks:sweeper", "moreblocks:trap_super_glow_glass" },
})
minetest.register_craft({
output = "moreblocks:coal_stone",
type = "shapeless",
@ -466,7 +554,7 @@ minetest.register_craft({
})
minetest.register_craft({
output = "moreblocks:cactuschecker 4",
output = "moreblocks:cactus_checker 4",
recipe = {
{"default:stone", "default:cactus"},
{"default:cactus", "default:stone"},
@ -512,6 +600,22 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "moreblocks:desert_cobble_compressed",
recipe = {
{"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"},
{"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"},
{"default:desert_cobble", "default:desert_cobble", "default:desert_cobble"},
}
})
minetest.register_craft({
output = "default:desert_cobble 9",
recipe = {
{"moreblocks:desert_cobble_compressed"},
}
})
minetest.register_craft({
type = "cooking", output = "moreblocks:tar", recipe = "default:pine_tree",
})

View File

@ -15,9 +15,13 @@ local modpath = minetest.get_modpath("moreblocks")
moreblocks.S = minetest.get_translator("moreblocks")
dofile(modpath .. "/config.lua")
dofile(modpath .. "/sounds.lua")
dofile(modpath .. "/circular_saw.lua")
dofile(modpath .. "/stairsplus/init.lua")
dofile(modpath .. "/nodes.lua")
dofile(modpath .. "/redefinitions.lua")
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
if minetest.get_modpath("default") then
dofile(modpath .. "/nodes.lua")
dofile(modpath .. "/redefinitions.lua")
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
end

View File

@ -1,44 +0,0 @@
-- Fallback functions for when `intllib` is not installed.
-- Code released under Unlicense <http://unlicense.org>.
-- Get the latest version of this file at:
-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua
local function format(str, ...)
local args = { ... }
local function repl(escape, open, num, close)
if escape == "" then
local replacement = tostring(args[tonumber(num)])
if open == "" then
replacement = replacement..close
end
return replacement
else
return "@"..open..num..close
end
end
return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl))
end
local gettext, ngettext
if minetest.get_modpath("intllib") then
if intllib.make_gettext_pair then
-- New method using gettext.
gettext, ngettext = intllib.make_gettext_pair()
else
-- Old method using text files.
gettext = intllib.Getter()
end
end
-- Fill in missing functions.
gettext = gettext or function(msgid, ...)
return format(msgid, ...)
end
ngettext = ngettext or function(msgid, msgid_plural, n, ...)
return format(n==1 and msgid or msgid_plural, ...)
end
return gettext, ngettext

View File

@ -1,286 +0,0 @@
# German translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# Xanthin, 2014.
# CodeXP <codexp@gmx.net>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: More Blocks\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 12:37+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr "Kreissäge"
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
"Ausgangs-\n"
"material"
#: circular_saw.lua
msgid "Left-over"
msgstr "Rest"
#: circular_saw.lua
msgid "Max"
msgstr "Anzahl"
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
"Wiederver-\n"
"werten"
#: circular_saw.lua
msgid "Set"
msgstr "Ok"
#: circular_saw.lua
msgid "owned by @1"
msgstr "gehört @1"
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr "Kreissäge ist leer"
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr "Kreissäge arbeitet mit @1"
#: init.lua
msgid "[moreblocks] loaded."
msgstr "[moreblocks] geladen."
#: nodes.lua
msgid "Deprecated"
msgstr "veraltet"
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr "allseitiger Akazienbaumstamm"
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr "allseitiger Espenbaumstamm"
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr "allseitiger Tropenbaumstamm"
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr "allseitiger Kieferbaumstamm"
#: nodes.lua
msgid "All-faces Tree"
msgstr "allseitiger Baumstamm"
#: nodes.lua
msgid "Cactus Brick"
msgstr "Kaktusziegel"
#: nodes.lua
msgid "Cactus Checker"
msgstr "Kaktus-Mosaik"
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr "Holzfliese mittig"
#: nodes.lua
msgid "Checker Stone Tile"
msgstr "Stein-Mosaik"
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr "Kreissteinziegel"
#: nodes.lua
msgid "Clean Glass"
msgstr "Klares Glas"
#: nodes.lua
msgid "Coal Checker"
msgstr "Kohlen-Mosaik"
#: nodes.lua
msgid "Coal Glass"
msgstr "Kohleglas"
#: nodes.lua
msgid "Coal Stone"
msgstr "Kohlestein"
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr "Kohlesteinziegel"
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr "Gepresster Kopfsteinpflaster"
#: nodes.lua
msgid "Compressed Dirt"
msgstr "Gepresste Erde"
#: nodes.lua
msgid "Copper Patina Block"
msgstr "Kupfer Edelrostblock"
#: nodes.lua
msgid "Empty Shelf"
msgstr "Leeres Regal"
#: nodes.lua
msgid "Full Wooden Tile"
msgstr "Vollholzfliese"
#: nodes.lua
msgid "Glow Glass"
msgstr "Leuchtglas"
#: nodes.lua
msgid "Iron Checker"
msgstr "Metall-Mosaik"
#: nodes.lua
msgid "Iron Glass"
msgstr "metallisiertes Glas"
#: nodes.lua
msgid "Iron Stone"
msgstr "Eisenstein"
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr "Eisensteinziegel"
#: nodes.lua
msgid "Plankstone"
msgstr "Brettstein"
#: nodes.lua
msgid "Rope"
msgstr "Seil"
#: nodes.lua
msgid "Split Stone Tile"
msgstr "Geteilte Steinfliese"
#: nodes.lua
msgid "Stone Bricks"
msgstr "Steinziegel"
#: nodes.lua
msgid "Stone Tile"
msgstr "Steinfliese"
#: nodes.lua
msgid "Super Glow Glass"
msgstr "Superleuchtglas"
#: nodes.lua
msgid "Sweeper"
msgstr "Besen"
#: nodes.lua
msgid "Tar"
msgstr "Teer"
#: nodes.lua
msgid "Trap Desert Stone"
msgstr "Wüstensteinfalle"
#: nodes.lua
msgid "Trap Glass"
msgstr "Glasfalle"
#: nodes.lua
msgid "Trap Glow Glass"
msgstr "Leuchtglasfalle"
#: nodes.lua
msgid "Trap Obsidian"
msgstr "Obsidianfalle"
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr "Obsidianglasfalle"
#: nodes.lua
msgid "Trap Sandstone"
msgstr "Sandsteinfalle"
#: nodes.lua
msgid "Trap Stone"
msgstr "Steinfalle"
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr "Superleuchtglasfalle"
#: nodes.lua
msgid "Wooden Tile"
msgstr "Holzfliese"
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr "Holzfliese versetzt"
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr "Holzfliese unten"
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr "Holzfliese links"
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr "Holzfliese rechts"
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr "Tut mir leid, dieser Bereich gehört @1."
#: ownership.lua
msgid "someone"
msgstr "jemand"
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr "%smikroblock"
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr "%splatte"
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr "%sneigung"
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr "%spaneel"
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr "%streppe"

View File

@ -1,282 +0,0 @@
# Spanish translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# kaeza, 2013.
# CodeXP <codexp@gmx.net>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: More Blocks\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 12:37+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr ""
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
#: circular_saw.lua
msgid "Left-over"
msgstr ""
#: circular_saw.lua
msgid "Max"
msgstr ""
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
#: circular_saw.lua
msgid "Set"
msgstr ""
#: circular_saw.lua
msgid "owned by @1"
msgstr ""
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr ""
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr ""
#: init.lua
msgid "[moreblocks] loaded."
msgstr "[moreblocks] cargado."
#: nodes.lua
msgid "Deprecated"
msgstr ""
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Tree"
msgstr "Tronco de Árbol"
#: nodes.lua
msgid "Cactus Brick"
msgstr "Ladrillos de Cactus"
#: nodes.lua
msgid "Cactus Checker"
msgstr "Cuadros de Cactus"
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr "Parquet Centrado"
#: nodes.lua
msgid "Checker Stone Tile"
msgstr ""
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr "Bloques de Piedra Circulares"
#: nodes.lua
msgid "Clean Glass"
msgstr "Cristal Limpio"
#: nodes.lua
msgid "Coal Checker"
msgstr "Cuadros de Carbón"
#: nodes.lua
msgid "Coal Glass"
msgstr "Cristal con Carbón"
#: nodes.lua
msgid "Coal Stone"
msgstr "Carbón y Piedra"
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr ""
#: nodes.lua
msgid "Compressed Dirt"
msgstr ""
#: nodes.lua
msgid "Copper Patina Block"
msgstr ""
#: nodes.lua
msgid "Empty Shelf"
msgstr ""
#: nodes.lua
msgid "Full Wooden Tile"
msgstr "Parquet Completo"
#: nodes.lua
msgid "Glow Glass"
msgstr "Cristal Brillante"
#: nodes.lua
msgid "Iron Checker"
msgstr "Cuadros de Hierro"
#: nodes.lua
msgid "Iron Glass"
msgstr "Cristal con Hierro"
#: nodes.lua
msgid "Iron Stone"
msgstr "Hierro y Piedra"
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Plankstone"
msgstr "Tablones de piedra"
#: nodes.lua
msgid "Rope"
msgstr "Soga"
#: nodes.lua
msgid "Split Stone Tile"
msgstr "Baldosas de Piedra Partida"
#: nodes.lua
msgid "Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Stone Tile"
msgstr "Baldosa de Piedra"
#: nodes.lua
msgid "Super Glow Glass"
msgstr "Cristal Súper Brillante"
#: nodes.lua
msgid "Sweeper"
msgstr "Limpiador"
#: nodes.lua
msgid "Tar"
msgstr ""
#: nodes.lua
msgid "Trap Desert Stone"
msgstr ""
#: nodes.lua
msgid "Trap Glass"
msgstr "Cristal Trampa"
#: nodes.lua
msgid "Trap Glow Glass"
msgstr ""
#: nodes.lua
msgid "Trap Obsidian"
msgstr ""
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr ""
#: nodes.lua
msgid "Trap Sandstone"
msgstr ""
#: nodes.lua
msgid "Trap Stone"
msgstr "Piedra Trampa"
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr ""
#: nodes.lua
msgid "Wooden Tile"
msgstr "Parquet"
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr ""
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr ""
#: ownership.lua
msgid "someone"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr "Microbloque de %s"
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr "Losa de %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr "Panel de %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr "Escalera de %s"

View File

@ -1,287 +0,0 @@
# French translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# Hugo Locurcio <hugo.locurcio@hugo.pro>, 2013-2019.
# Jat15, 2013.
# CodeXP <codexp@gmx.net>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: More Blocks\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 12:37+0200\n"
"PO-Revision-Date: 2019-03-20 21:10+0100\n"
"Last-Translator: Hugo Locurcio <hugo.locurcio@hugo.pro>\n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr "Scie circulaire"
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
"Matériau\n"
"d'entrée"
#: circular_saw.lua
msgid "Left-over"
msgstr "Reste"
#: circular_saw.lua
msgid "Max"
msgstr "Max"
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
"Sortie à\n"
"recycler"
#: circular_saw.lua
msgid "Set"
msgstr "Définir"
#: circular_saw.lua
msgid "owned by @1"
msgstr "propriété de @1"
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr "Scie circulaire vide"
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr "Scie circulaire manipulant @1"
#: init.lua
msgid "[moreblocks] loaded."
msgstr "[moreblocks] a été chargé."
#: nodes.lua
msgid "Deprecated"
msgstr "déprécié"
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr "Tronc d'arbre d'acacia (toutes faces)"
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr "Tronc d'arbre de peuplier (toutes faces)"
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr "Tronc d'arbre de jungle (toutes faces)"
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr "Tronc d'arbre de pin (toutes faces)"
#: nodes.lua
msgid "All-faces Tree"
msgstr "Tronc d'arbre (toutes faces)"
#: nodes.lua
msgid "Cactus Brick"
msgstr "Briques de cactus"
#: nodes.lua
msgid "Cactus Checker"
msgstr "Damier en cactus"
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr "Dalle en bois centrée"
#: nodes.lua
msgid "Checker Stone Tile"
msgstr "Damier de dalle en pierre"
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr "Briques en pierre circulaires"
#: nodes.lua
msgid "Clean Glass"
msgstr "Verre propre"
#: nodes.lua
msgid "Coal Checker"
msgstr "Damier en charbon"
#: nodes.lua
msgid "Coal Glass"
msgstr "Verre de charbon"
#: nodes.lua
msgid "Coal Stone"
msgstr "Pierre de charbon"
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr "Briques en pierre de charbon"
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr "Pierre taillée compressée"
#: nodes.lua
msgid "Compressed Dirt"
msgstr "Terre compressée"
#: nodes.lua
msgid "Copper Patina Block"
msgstr "Bloc de patine de cuivre"
#: nodes.lua
msgid "Empty Shelf"
msgstr "Étagère vide"
#: nodes.lua
msgid "Full Wooden Tile"
msgstr "Dalle en bois complète"
#: nodes.lua
msgid "Glow Glass"
msgstr "Verre brillant"
#: nodes.lua
msgid "Iron Checker"
msgstr "Damier de fer"
#: nodes.lua
msgid "Iron Glass"
msgstr "Verre de fer"
#: nodes.lua
msgid "Iron Stone"
msgstr "Pierre de fer"
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr "Briques en pierre de fer"
#: nodes.lua
msgid "Plankstone"
msgstr "Pierre-bois"
#: nodes.lua
msgid "Rope"
msgstr "Corde"
#: nodes.lua
msgid "Split Stone Tile"
msgstr "Dalle en pierre découpée"
#: nodes.lua
msgid "Stone Bricks"
msgstr "Briques en pierre"
#: nodes.lua
msgid "Stone Tile"
msgstr "Dalle en pierre"
#: nodes.lua
msgid "Super Glow Glass"
msgstr "Verre très brillant"
#: nodes.lua
msgid "Sweeper"
msgstr "Balai"
#: nodes.lua
msgid "Tar"
msgstr "Bitume"
#: nodes.lua
msgid "Trap Desert Stone"
msgstr "Pierre du désert traversable"
#: nodes.lua
msgid "Trap Glass"
msgstr "Verre traversable"
#: nodes.lua
msgid "Trap Glow Glass"
msgstr "Verre brillant traversable"
#: nodes.lua
msgid "Trap Obsidian"
msgstr "Obsidienne traversable"
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr "Verre d'obsidienne traversable"
#: nodes.lua
msgid "Trap Sandstone"
msgstr "Grès traversable"
#: nodes.lua
msgid "Trap Stone"
msgstr "Pierre traversable"
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr "Verre très brillant traversable"
#: nodes.lua
msgid "Wooden Tile"
msgstr "Dalle en bois"
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr "Dalle en bois décalée"
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr "Dalle en bois vers le bas"
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr "Dalle en bois vers la gauche"
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr "Dalle en bois vers la droite"
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr "Désolé, @1 possède cet endroit."
#: ownership.lua
msgid "someone"
msgstr "quelqu'un"
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr "Microbloc en %s"
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr "Demi-dalle en %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr "Pente en %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr "Barre en %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr "Escaliers en %s"

View File

@ -1,286 +0,0 @@
# Italian translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# Emon, 2016.
# CodeXP <codexp@gmx.net>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: More Blocks\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 12:37+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr "Sega circolare"
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
"Materiale\n"
"iniziale"
#: circular_saw.lua
msgid "Left-over"
msgstr "Scarto"
#: circular_saw.lua
msgid "Max"
msgstr "Max."
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
"Ricicla\n"
"finale"
#: circular_saw.lua
msgid "Set"
msgstr "Imp."
#: circular_saw.lua
msgid "owned by @1"
msgstr ""
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr "Sega circolare, vuota"
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr "Sega circolare, in funzione su @1"
#: init.lua
msgid "[moreblocks] loaded."
msgstr "[moreblocks] caricato."
#: nodes.lua
msgid "Deprecated"
msgstr ""
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Tree"
msgstr "Albero su ogni lato"
#: nodes.lua
msgid "Cactus Brick"
msgstr "Mattoni di cactus"
#: nodes.lua
msgid "Cactus Checker"
msgstr "Scacchiera in cactus"
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr "Mattonella in legno centrata"
#: nodes.lua
msgid "Checker Stone Tile"
msgstr ""
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr "Mattoni concentrici in pietra"
#: nodes.lua
msgid "Clean Glass"
msgstr "Vetro pulito"
#: nodes.lua
msgid "Coal Checker"
msgstr "Scacchiera in carbone"
#: nodes.lua
msgid "Coal Glass"
msgstr "Vetro e carbone"
#: nodes.lua
msgid "Coal Stone"
msgstr "Pietra in carbone"
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr "Mattoni di pietra in carbone"
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr ""
#: nodes.lua
msgid "Compressed Dirt"
msgstr ""
#: nodes.lua
msgid "Copper Patina Block"
msgstr ""
#: nodes.lua
msgid "Empty Shelf"
msgstr "Scaffale Vuoto"
#: nodes.lua
msgid "Full Wooden Tile"
msgstr "Mattonella in legno pieno"
#: nodes.lua
msgid "Glow Glass"
msgstr "Vetro luminoso"
#: nodes.lua
msgid "Iron Checker"
msgstr "Scacchiera in ferro"
#: nodes.lua
msgid "Iron Glass"
msgstr "Vetro e ferro"
#: nodes.lua
msgid "Iron Stone"
msgstr "Pietra in ferro"
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr "Mattoni di pietra in ferro"
#: nodes.lua
msgid "Plankstone"
msgstr "Pietra e legno"
#: nodes.lua
msgid "Rope"
msgstr "Corda"
#: nodes.lua
msgid "Split Stone Tile"
msgstr "Mattonella in pietra divisa"
#: nodes.lua
msgid "Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Stone Tile"
msgstr "Mattonella in pietra"
#: nodes.lua
msgid "Super Glow Glass"
msgstr "Super vetro luminoso"
#: nodes.lua
msgid "Sweeper"
msgstr "Spazzola"
#: nodes.lua
msgid "Tar"
msgstr ""
#: nodes.lua
msgid "Trap Desert Stone"
msgstr ""
#: nodes.lua
msgid "Trap Glass"
msgstr "Vetro trappola"
#: nodes.lua
msgid "Trap Glow Glass"
msgstr "Vetro luminoso trappola"
#: nodes.lua
msgid "Trap Obsidian"
msgstr ""
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr ""
#: nodes.lua
msgid "Trap Sandstone"
msgstr ""
#: nodes.lua
msgid "Trap Stone"
msgstr "Pietra trappola"
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr "Super vetro luminoso trappola"
#: nodes.lua
msgid "Wooden Tile"
msgstr "Mattonella in legno"
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr ""
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr "Spiacente, quel punto è di proprietà di @1"
#: ownership.lua
msgid "someone"
msgstr "qualcuno"
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr "Microblocco %s"
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr "Lastra - %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr "Pannello - %s"
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr "Scale - %s"

View File

@ -38,9 +38,15 @@ Circle Stone Bricks=Kreissteinziegel
Clean Glass=Klares Glas
Coal Checker=Kohlen-Mosaik
Coal Glass=Kohleglas
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=Kohlestein
Coal Stone Bricks=Kohlesteinziegel
Compressed Cobblestone=Gepresster Kopfsteinpflaster
Compressed Desert Cobblestone=
Compressed Dirt=Gepresste Erde
Copper Patina Block=Kupfer Edelrostblock
Empty Shelf=Leeres Regal

View File

@ -18,7 +18,6 @@ Set=Establecer
owned by @1=protegido por @1
Circular Saw is empty=La sierra circular está vacia
Circular Saw is working on @1=Sierra circular trabajando en @1
#WARNING: mod @1 tried to add node @2 to the circular saw manually.=ADVERTENCIA: el mod @1 intentó agregar el nodo @2 a la sierra circular.
#: nodes.lua
@ -36,9 +35,15 @@ Circle Stone Bricks=Bloques de Piedra Circulares
Clean Glass=Cristal Limpio
Coal Checker=Cuadros de Carbón
Coal Glass=Cristal con Carbón
Clean Super Glow Glass=Cristal Súper Brillante Limpio
Trap Clean Super Glow Glass=Cristal Súper Brillante Limpio Falso
Trap Clean Glass=Cristal Limpio Falso
Clean Glow Glass=Cristal Brillante Limpio
Trap Clean Glow Glass=Cristal Brillante Limpio Falso
Coal Stone=Carbón y Piedra
Coal Stone Bricks=Ladrillos de Piedra de Carbon
Compressed Cobblestone=Adoquin Comprimido
Compressed Cobblestone=Adoquín Comprimido
Compressed Desert Cobblestone=Adoquín del Desierto Comprimido
Compressed Dirt=Tierra Comprimida
Copper Patina Block=Bloque de Pátina de Cobre
Empty Shelf=Estante vacio
@ -84,9 +89,8 @@ someone=alguien
@1 Panel=Panel de @1
@1 Stairs=Escalera de @1
#: registrations.lua
#: stairsplus/registrations.lua
Concrete=Concreto
Cement=Cemento
Brass Block=Bloque de latón
#LBM replaced @1 at @2=LBM (Modificador de Bloque al Cargar) reemplazo @1 en @2

View File

@ -39,9 +39,15 @@ Circle Stone Bricks=Briques en pierre circulaires
Clean Glass=Verre propre
Coal Checker=Damier en charbon
Coal Glass=Verre de charbon
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=Pierre de charbon
Coal Stone Bricks=Briques en pierre de charbon
Compressed Cobblestone=Pierre taillée compressée
Compressed Desert Cobblestone=
Compressed Dirt=Terre compressée
Copper Patina Block=Bloc de patine de cuivre
Empty Shelf=Étagère vide

View File

@ -38,9 +38,15 @@ Circle Stone Bricks=Mattoni concentrici in pietra
Clean Glass=Vetro pulito
Coal Checker=Scacchiera in carbone
Coal Glass=Vetro e carbone
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=Pietra in carbone
Coal Stone Bricks=Mattoni di pietra in carbone
Compressed Cobblestone=
Compressed Desert Cobblestone=
Compressed Dirt=
Copper Patina Block=
Empty Shelf=Scaffale Vuoto

View File

@ -38,9 +38,15 @@ Circle Stone Bricks=Okrągłe kamienne cegły
Clean Glass=Czyste szkło
Coal Checker=Węglowa szachownica
Coal Glass=Szkło węglowe
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=Kamień węglowy
Coal Stone Bricks=Węglowe kamienne cegły
Compressed Cobblestone=Skompresowany bruk
Compressed Desert Cobblestone=
Compressed Dirt=Skompresowana ziemia
Copper Patina Block=Blok patynowanej miedzi
Empty Shelf=Pusta półka

View File

@ -39,9 +39,15 @@ Circle Stone Bricks=кольцевой камень
Clean Glass=чистое стекло
Coal Checker=угольная мозаика
Coal Glass=угольное стекло
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=угольный камень
Coal Stone Bricks=угольно-каменный кирпич
Compressed Cobblestone=прессованный булыжник
Compressed Desert Cobblestone=
Compressed Dirt=прессованная земля
Copper Patina Block=медный патинированный блок
Empty Shelf=пустые полки

View File

@ -11,7 +11,6 @@ Set=
owned by @1=
Circular Saw is empty=
Circular Saw is working on @1=
#WARNING: mod @1 tried to add node @2 to the circular saw manually.=
#: nodes.lua
@ -29,9 +28,15 @@ Circle Stone Bricks=
Clean Glass=
Coal Checker=
Coal Glass=
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=
Coal Stone Bricks=
Compressed Cobblestone=
Compressed Desert Cobblestone=
Compressed Dirt=
Copper Patina Block=
Empty Shelf=
@ -77,9 +82,8 @@ someone=
@1 Panel=
@1 Stairs=
#: registrations.lua
#: stairsplus/registrations.lua
Concrete=
Cement=
Brass Block=
#LBM replaced @1 at @2=

View File

@ -0,0 +1,94 @@
# textdomain: moreblocks
# zh_CN translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# IFRFSX <IFRFSX@protonmail.com>, 2020.
#: circular_saw.lua
Circular Saw=圆锯
Input material=输入@n材料
Left-over=剩余材料
Max=最大值
Recycle output=回收@n输出物
Set=设置
owned by @1=属于@1所有
Circular Saw is empty=圆锯是空的
Circular Saw is working on @1=圆锯正在加工@1
#: nodes.lua
Deprecated=弃用
All-faces Acacia Tree=全切面相思树木方块
All-faces Aspen Tree=全切面白杨树木方块
All-faces Jungle Tree=全切面丛林树木方块
All-faces Pine Tree=全切面松树木方块
All-faces Tree=全切面树木方块
Cactus Brick=仙人掌砖
Cactus Checker=仙人掌棋盘方块
Centered Wooden Tile=居中的木瓦
Checker Stone Tile=棋盘石瓦
Circle Stone Bricks=圆石砖
Clean Glass=干净的玻璃
Coal Checker=棋盘煤块
Coal Glass=煤玻璃
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=煤炭石
Coal Stone Bricks=煤炭石砖
Compressed Cobblestone=压缩圆石
Compressed Desert Cobblestone=
Compressed Dirt=压缩土
Copper Patina Block=铜绿方块
Empty Shelf=空书架
Full Wooden Tile=全木瓦
Glow Glass=发光玻璃
Iron Checker=棋盘铁方块
Iron Glass=铁玻璃
Iron Stone=铁石
Iron Stone Bricks=铁石砖
Plankstone=板石
Rope=绳子
Split Stone Tile=裂石砖
Stone Bricks=石砖
Stone Tile=石瓦
Super Glow Glass=超级发光玻璃
Sweeper=清扫器
Tar=焦油
Trap Desert Stone=陷阱沙漠石
Trap Glass=陷阱玻璃
Trap Glow Glass=陷阱发光玻璃
Trap Obsidian=陷阱黑耀石
Trap Obsidian Glass=陷阱黑耀石玻璃
Trap Sandstone=陷阱沙石
Trap Stone=陷阱石
Trap Super Glow Glass=陷阱超级发光玻璃
Wooden Tile=木瓦
Offset Wooden Tile=胶合木瓦
Downwards Wooden Tile=向下的木瓦
Leftwards Wooden Tile=向左的木瓦
Rightwards Wooden Tile=向右的木瓦
#: ownership.lua
Sorry, @1 owns that spot.=抱歉,那个位置是@1的。
someone=某人
#: stairsplus/common.lua
@1 Microblock=@1小方块
@1 Slab=@1台阶
@1 Slope=@1斜坡
@1 Panel=@1嵌板
@1 Stairs=@1楼梯
#: stairsplus/registrations.lua
Concrete=
Cement=
Brass Block=

View File

@ -0,0 +1,94 @@
# textdomain: moreblocks
# zh_TW translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# IFRFSX <IFRFSX@protonmail.com>, 2020.
#: circular_saw.lua
Circular Saw=圓鋸
Input material=輸入@n材料
Left-over=剩餘材料
Max=最大值
Recycle output=回收@n輸出物
Set=設置
owned by @1=屬於@1所有
Circular Saw is empty=圓鋸是空的
Circular Saw is working on @1=圓鋸正在加工@1
#: nodes.lua
Deprecated=棄用
All-faces Acacia Tree=全切面相思樹木方塊
All-faces Aspen Tree=全切面白楊樹木方塊
All-faces Jungle Tree=全切面叢林樹木方塊
All-faces Pine Tree=全切面松樹木方塊
All-faces Tree=全切面樹木方塊
Cactus Brick=仙人掌磚
Cactus Checker=仙人掌棋盤方塊
Centered Wooden Tile=居中的木瓦
Checker Stone Tile=棋盤石瓦
Circle Stone Bricks=圓石磚
Clean Glass=乾淨的玻璃
Coal Checker=棋盤煤塊
Coal Glass=煤玻璃
Clean Super Glow Glass=
Trap Clean Super Glow Glass=
Trap Clean Glass=
Clean Glow Glass=
Trap Clean Glow Glass=
Coal Stone=煤炭石
Coal Stone Bricks=煤炭石磚
Compressed Cobblestone=壓縮圓石
Compressed Desert Cobblestone=
Compressed Dirt=壓縮土
Copper Patina Block=銅綠方塊
Empty Shelf=空書架
Full Wooden Tile=全木瓦
Glow Glass=發光玻璃
Iron Checker=棋盤鐵方塊
Iron Glass=鐵玻璃
Iron Stone=鐵石
Iron Stone Bricks=鐵石磚
Plankstone=板石
Rope=繩子
Split Stone Tile=裂石磚
Stone Bricks=石磚
Stone Tile=石瓦
Super Glow Glass=超級發光玻璃
Sweeper=清掃器
Tar=焦油
Trap Desert Stone=陷阱沙漠石
Trap Glass=陷阱玻璃
Trap Glow Glass=陷阱發光玻璃
Trap Obsidian=陷阱黑耀石
Trap Obsidian Glass=陷阱黑耀石玻璃
Trap Sandstone=陷阱沙石
Trap Stone=陷阱石
Trap Super Glow Glass=陷阱超級發光玻璃
Wooden Tile=木瓦
Offset Wooden Tile=膠合木瓦
Downwards Wooden Tile=向下的木瓦
Leftwards Wooden Tile=向左的木瓦
Rightwards Wooden Tile=向右的木瓦
#: ownership.lua
Sorry, @1 owns that spot.=抱歉,那個位置是@1的。
someone=某人
#: stairsplus/common.lua
@1 Microblock=@1小方塊
@1 Slab=@1臺階
@1 Slope=@1斜坡
@1 Panel=@1嵌板
@1 Stairs=@1樓梯
#: stairsplus/registrations.lua
Concrete=
Cement=
Brass Block=

View File

@ -1,289 +0,0 @@
# Polish translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# mat9117, 2019
# CodeXP <codexp@gmx.net>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: More Blocks\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 12:37+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr "Piła tarczowa"
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
"wejście\n"
"materiał"
#: circular_saw.lua
msgid "Left-over"
msgstr "Resztki"
#: circular_saw.lua
msgid "Max"
msgstr "Maks"
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
"Przetwarzanie\n"
"Wyjście"
#: circular_saw.lua
msgid "Set"
msgstr "Ustaw"
#: circular_saw.lua
msgid "owned by @1"
msgstr "Należy do @1"
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr "Piła tarczowa jest pusta"
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr "Piła tarczowa pracuje na @1"
#: init.lua
msgid "[moreblocks] loaded."
msgstr "[moreblocks] załadowane."
#: nodes.lua
msgid "Deprecated"
msgstr "Przestarzałe"
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr "Wielostronna tekstura akacji"
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr "Wielostronna tekstura osiki"
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr "Wielostronna tekstura drzewa dżunglowego"
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr "Wielostronna tekstura sosny"
#: nodes.lua
msgid "All-faces Tree"
msgstr "Wielostronna tekstura drzewa"
#: nodes.lua
msgid "Cactus Brick"
msgstr "Kaktusowa cegła"
#: nodes.lua
msgid "Cactus Checker"
msgstr "Kaktusowa szachownica"
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr "Wyśrodkowany drewniany kafelek"
#: nodes.lua
msgid "Checker Stone Tile"
msgstr "Kamienna szachownica"
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr "Okrągłe kamienne cegły"
#: nodes.lua
msgid "Clean Glass"
msgstr "Czyste szkło"
#: nodes.lua
msgid "Coal Checker"
msgstr "Węglowa szachownica"
#: nodes.lua
msgid "Coal Glass"
msgstr "Szkło węglowe"
#: nodes.lua
msgid "Coal Stone"
msgstr "Kamień węglowy"
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr "Węglowe kamienne cegły"
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr "Skompresowany bruk"
#: nodes.lua
msgid "Compressed Dirt"
msgstr "Skompresowana ziemia"
#: nodes.lua
msgid "Copper Patina Block"
msgstr "Blok patynowanej miedzi"
#: nodes.lua
msgid "Empty Shelf"
msgstr "Pusta półka"
#: nodes.lua
msgid "Full Wooden Tile"
msgstr "Pełny drewniany kafelek"
#: nodes.lua
msgid "Glow Glass"
msgstr "Świecące szkło"
#: nodes.lua
msgid "Iron Checker"
msgstr "Żelazna szachownica"
#: nodes.lua
msgid "Iron Glass"
msgstr "Żelazne szkło"
#: nodes.lua
msgid "Iron Stone"
msgstr "Żelazny kamień"
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr "Żelazne kamienne cegły"
#: nodes.lua
msgid "Plankstone"
msgstr "Deskokamień"
#: nodes.lua
msgid "Rope"
msgstr "Lina"
#: nodes.lua
msgid "Split Stone Tile"
msgstr "Kamienny blok kafelkowy"
#: nodes.lua
msgid "Stone Bricks"
msgstr "Kamienne cegły"
#: nodes.lua
msgid "Stone Tile"
msgstr "Kamienny kafelek"
#: nodes.lua
msgid "Super Glow Glass"
msgstr "Super świecące szkło"
#: nodes.lua
msgid "Sweeper"
msgstr "Miotła"
#: nodes.lua
msgid "Tar"
msgstr "Smoła"
#: nodes.lua
msgid "Trap Desert Stone"
msgstr "Pułapka z pustynnego kamienia"
#: nodes.lua
msgid "Trap Glass"
msgstr "Szklana pułapka"
#: nodes.lua
msgid "Trap Glow Glass"
msgstr "Pułapka ze świecącego szkłą"
#: nodes.lua
msgid "Trap Obsidian"
msgstr "Obsydianowa pułapka"
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr "Pułapka z obsydianowego szkła"
#: nodes.lua
msgid "Trap Sandstone"
msgstr "Pułapka z piaskowca"
#: nodes.lua
msgid "Trap Stone"
msgstr "Kamienna pułapka"
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr "Pułapka z super świecącego szkła"
#: nodes.lua
msgid "Wooden Tile"
msgstr "Drewniany kafelek"
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr ""
# @deprecated
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr "Dolny drewniany kafelek"
# @deprecated
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr "Lewy drewniany kafelek"
# @deprecated
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr "Prawy drewniany kafelek"
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr "Przykro mi, to miejsce należy do @1"
#: ownership.lua
msgid "someone"
msgstr "ktoś"
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr "%s Mikroblok"
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr "%s Płyta"
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr "%s Spad"
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr "%s Panel"
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr "%s Schody"

View File

@ -1,290 +0,0 @@
# Russian translation for MOREBLOCKS minetest mod.
# Copyright (C) 2018 Hugo Locurcio and contributors
# This file is distributed under the same license as the MOREBLOCKS package.
# CodeXP <codexp@gmx.net>, 2018.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: MOREBLOCKS MOD\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 23:30+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr "циркулярная пила"
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
"Входной\n"
"материал"
#: circular_saw.lua
msgid "Left-over"
msgstr "Остатки"
#: circular_saw.lua
msgid "Max"
msgstr "Кол."
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
"Пере-\n"
"обработка"
#: circular_saw.lua
msgid "Set"
msgstr "ОК"
#: circular_saw.lua
msgid "owned by @1"
msgstr "принадлежит @1"
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr "циркулярная пила пустая"
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr "циркулярная пила, @1 в обработке"
#: init.lua
msgid "[MOD] moreblocks loaded."
msgstr "[MOD] moreblocks загружен."
#: nodes.lua
msgid "Deprecated"
msgstr "устаревший"
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr "всестороннее бревно акации"
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr "всестороннее бревно осины"
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr "всестороннее бревно дерева джунглей"
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr "всестороннее бревно сосновое"
#: nodes.lua
msgid "All-faces Tree"
msgstr "всестороннее бревно дерева"
#: nodes.lua
msgid "Cactus Brick"
msgstr "кирпич из кактуса"
#: nodes.lua
msgid "Cactus Checker"
msgstr "мозаика из кактуса"
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr "деревянная мозаика (центр)"
#: nodes.lua
msgid "Checker Stone Tile"
msgstr "каменная мозаика"
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr "кольцевой камень"
#: nodes.lua
msgid "Clean Glass"
msgstr "чистое стекло"
#: nodes.lua
msgid "Coal Checker"
msgstr "угольная мозаика"
#: nodes.lua
msgid "Coal Glass"
msgstr "угольное стекло"
#: nodes.lua
msgid "Coal Stone"
msgstr "угольный камень"
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr "угольно-каменный кирпич"
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr "прессованный булыжник"
#: nodes.lua
msgid "Compressed Dirt"
msgstr "прессованная земля"
#: nodes.lua
msgid "Copper Patina Block"
msgstr "медный патинированный блок"
#: nodes.lua
msgid "Empty Shelf"
msgstr "пустые полки"
#: nodes.lua
msgid "Full Wooden Tile"
msgstr "деревянная мозаика"
#: nodes.lua
msgid "Glow Glass"
msgstr "светящееся стекло"
#: nodes.lua
msgid "Iron Checker"
msgstr "стальная мозаика"
#: nodes.lua
msgid "Iron Glass"
msgstr "металлизированное стекло"
#: nodes.lua
msgid "Iron Stone"
msgstr "железный камень"
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr "железно-каменный кирпич"
#: nodes.lua
msgid "Plankstone"
msgstr "дерево-каменная мозаика"
#: nodes.lua
msgid "Rope"
msgstr "верёвка"
#: nodes.lua
msgid "Split Stone Tile"
msgstr "каменная мозаика"
#: nodes.lua
msgid "Stone Bricks"
msgstr "каменный кирпич"
#: nodes.lua
msgid "Stone Tile"
msgstr "каменная плитка"
#: nodes.lua
msgid "Super Glow Glass"
msgstr "супер светящееся стекло"
#: nodes.lua
msgid "Sweeper"
msgstr "метёлка"
#: nodes.lua
msgid "Tar"
msgstr "смола"
#: nodes.lua
msgid "Trap Desert Stone"
msgstr "мнимый пустынный камень"
#: nodes.lua
msgid "Trap Glass"
msgstr "мнимое стекло"
#: nodes.lua
msgid "Trap Glow Glass"
msgstr "мнимое светящееся стекло"
#: nodes.lua
msgid "Trap Obsidian"
msgstr "мнимый обсидиан"
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr "мнимое обсидиановое стекло"
#: nodes.lua
msgid "Trap Sandstone"
msgstr "мнимый песчаник"
#: nodes.lua
msgid "Trap Stone"
msgstr "мнимый камень"
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr "мнимое супер светящееся стекло"
#: nodes.lua
msgid "Wooden Tile"
msgstr "деревянная мозаика"
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr "деревянная мозаика (сверху)"
# @deprecated
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr "деревянная мозаика (снизу)"
# @deprecated
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr "деревянная мозаика (слева)"
# @deprecated
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr "деревянная мозаика (справа)"
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr "Извините, это принадлежит @1."
#: ownership.lua
msgid "someone"
msgstr "кому-то"
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr "%s (микроблок)"
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr "%s (плита)"
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr "%s (наклон)"
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr "%s (панель)"
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr "%s (лестница)"

View File

@ -1,284 +0,0 @@
# Template translation for More Blocks.
# Copyright © 2011-2020 Hugo Locurcio and contributors
# This file is distributed under the same license as the More Blocks package.
# CodeXP <codexp@gmx.net>, 2018.
msgid ""
msgstr ""
"Project-Id-Version: More Blocks\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-07-13 12:37+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: CodeXP <codexp@gmx.net>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: circular_saw.lua
msgid "Circular Saw"
msgstr ""
#: circular_saw.lua
msgid ""
"Input\n"
"material"
msgstr ""
#: circular_saw.lua
msgid "Left-over"
msgstr ""
#: circular_saw.lua
msgid "Max"
msgstr ""
#: circular_saw.lua
msgid ""
"Recycle\n"
"output"
msgstr ""
#: circular_saw.lua
msgid "Set"
msgstr ""
#: circular_saw.lua
msgid "owned by @1"
msgstr ""
#: circular_saw.lua
msgid "Circular Saw is empty"
msgstr ""
#: circular_saw.lua
msgid "Circular Saw is working on @1"
msgstr ""
#: init.lua
msgid "[moreblocks] loaded."
msgstr ""
#: nodes.lua
msgid "Deprecated"
msgstr ""
#: nodes.lua
msgid "All-faces Acacia Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Aspen Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Jungle Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Pine Tree"
msgstr ""
#: nodes.lua
msgid "All-faces Tree"
msgstr ""
#: nodes.lua
msgid "Cactus Brick"
msgstr ""
#: nodes.lua
msgid "Cactus Checker"
msgstr ""
#: nodes.lua
msgid "Centered Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Checker Stone Tile"
msgstr ""
#: nodes.lua
msgid "Circle Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Clean Glass"
msgstr ""
#: nodes.lua
msgid "Coal Checker"
msgstr ""
#: nodes.lua
msgid "Coal Glass"
msgstr ""
#: nodes.lua
msgid "Coal Stone"
msgstr ""
#: nodes.lua
msgid "Coal Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Compressed Cobblestone"
msgstr ""
#: nodes.lua
msgid "Compressed Dirt"
msgstr ""
#: nodes.lua
msgid "Copper Patina Block"
msgstr ""
#: nodes.lua
msgid "Empty Shelf"
msgstr ""
#: nodes.lua
msgid "Full Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Glow Glass"
msgstr ""
#: nodes.lua
msgid "Iron Checker"
msgstr ""
#: nodes.lua
msgid "Iron Glass"
msgstr ""
#: nodes.lua
msgid "Iron Stone"
msgstr ""
#: nodes.lua
msgid "Iron Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Plankstone"
msgstr ""
#: nodes.lua
msgid "Rope"
msgstr ""
#: nodes.lua
msgid "Split Stone Tile"
msgstr ""
#: nodes.lua
msgid "Stone Bricks"
msgstr ""
#: nodes.lua
msgid "Stone Tile"
msgstr ""
#: nodes.lua
msgid "Super Glow Glass"
msgstr ""
#: nodes.lua
msgid "Sweeper"
msgstr ""
#: nodes.lua
msgid "Tar"
msgstr ""
#: nodes.lua
msgid "Trap Desert Stone"
msgstr ""
#: nodes.lua
msgid "Trap Glass"
msgstr ""
#: nodes.lua
msgid "Trap Glow Glass"
msgstr ""
#: nodes.lua
msgid "Trap Obsidian"
msgstr ""
#: nodes.lua
msgid "Trap Obsidian Glass"
msgstr ""
#: nodes.lua
msgid "Trap Sandstone"
msgstr ""
#: nodes.lua
msgid "Trap Stone"
msgstr ""
#: nodes.lua
msgid "Trap Super Glow Glass"
msgstr ""
#: nodes.lua
msgid "Wooden Tile"
msgstr ""
#: nodes.lua
msgid "Offset Wooden Tile"
msgstr ""
# @deprecated
#: nodes.lua
msgid "Downwards Wooden Tile"
msgstr ""
# @deprecated
#: nodes.lua
msgid "Leftwards Wooden Tile"
msgstr ""
# @deprecated
#: nodes.lua
msgid "Rightwards Wooden Tile"
msgstr ""
#: ownership.lua
msgid "Sorry, @1 owns that spot."
msgstr ""
#: ownership.lua
msgid "someone"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Microblock"
msgstr ""
#: stairsplus/common.lua stairsplus/slabs.lua
#, lua-format
msgid "%s Slab"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Slope"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Panel"
msgstr ""
#: stairsplus/common.lua
#, lua-format
msgid "%s Stairs"
msgstr ""

View File

@ -1,4 +1,4 @@
name = moreblocks
description = Adds various miscellaneous blocks to the game.
depends = default
optional_depends = stairs,farming,wool,basic_materials
optional_depends = default,stairs,farming,wool,basic_materials
min_minetest_version = 5.0.0

View File

@ -7,15 +7,15 @@ Licensed under the zlib license. See LICENSE.md for more information.
local S = moreblocks.S
local sound_dirt = default.node_sound_dirt_defaults()
local sound_wood = default.node_sound_wood_defaults()
local sound_stone = default.node_sound_stone_defaults()
local sound_glass = default.node_sound_glass_defaults()
local sound_leaves = default.node_sound_leaves_defaults()
local sound_dirt = moreblocks.node_sound_dirt_defaults()
local sound_wood = moreblocks.node_sound_wood_defaults()
local sound_stone = moreblocks.node_sound_stone_defaults()
local sound_glass = moreblocks.node_sound_glass_defaults()
local sound_leaves = moreblocks.node_sound_leaves_defaults()
-- Don't break on 0.4.14 and earlier.
local sound_metal = (default.node_sound_metal_defaults
and default.node_sound_metal_defaults() or sound_stone)
local sound_metal = (moreblocks.node_sound_metal_defaults
and moreblocks.node_sound_metal_defaults() or sound_stone)
local function tile_tiles(name)
local tex = "moreblocks_" ..name.. ".png"
@ -175,6 +175,12 @@ local nodes = {
is_ground_content = false,
sounds = sound_stone,
},
["desert_cobble_compressed"] = {
description = S("Compressed Desert Cobblestone"),
groups = {cracky = 1},
is_ground_content = false,
sounds = sound_stone,
},
["plankstone"] = {
description = S("Plankstone"),
paramtype2 = "facedir",
@ -188,6 +194,7 @@ local nodes = {
description = S("Iron Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^[colorize:#DEDEDE", "default_glass_detail.png^[colorize:#DEDEDE"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -198,6 +205,7 @@ local nodes = {
description = S("Coal Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^[colorize:#828282", "default_glass_detail.png^[colorize:#828282"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -208,6 +216,7 @@ local nodes = {
description = S("Clean Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png", "moreblocks_clean_glass_detail.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -307,6 +316,7 @@ local nodes = {
description = S("Trap Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^moreblocks_trap_box_glass.png", "default_glass_detail.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -319,6 +329,7 @@ local nodes = {
description = S("Trap Obsidian Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_obsidian_glass.png^moreblocks_trap_box_glass.png", "default_obsidian_glass_detail.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -338,6 +349,19 @@ local nodes = {
sounds = sound_stone,
no_stairs = true,
},
["trap_clean_glass"] = {
description = S("Trap Clean Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png^moreblocks_trap_box_glass.png", "moreblocks_clean_glass_detail.png"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
no_stairs = true,
},
["trap_sandstone"] = {
description = S("Trap Sandstone"),
drawtype = "glasslike_framed",
@ -388,6 +412,19 @@ local nodes = {
description = S("Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^[colorize:#E9CD61", "default_glass_detail.png^[colorize:#E9CD61"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
light_source = 11,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
},
["clean_glow_glass"] = {
description = S("Clean Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png^[colorize:#E9CD61", "moreblocks_clean_glass_detail.png^[colorize:#E9CD61"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -399,6 +436,21 @@ local nodes = {
description = S("Trap Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^[colorize:#E9CD61^moreblocks_trap_box_glass.png", "default_glass_detail.png^[colorize:#E9CD61"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
light_source = 11,
walkable = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
no_stairs = true,
},
["trap_clean_glow_glass"] = {
description = S("Trap Clean Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png^[colorize:#E9CD61^moreblocks_trap_box_glass.png", "moreblocks_clean_glass_detail.png^[colorize:#E9CD61"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -412,6 +464,19 @@ local nodes = {
description = S("Super Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^[colorize:#FFFF78", "default_glass_detail.png^[colorize:#FFFF78"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
light_source = default.LIGHT_MAX,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
},
["clean_super_glow_glass"] = {
description = S("Clean Super Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png^[colorize:#FFFF78", "moreblocks_clean_glass_detail.png^[colorize:#FFFF78"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
@ -423,6 +488,21 @@ local nodes = {
description = S("Trap Super Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"default_glass.png^[colorize:#FFFF78^moreblocks_trap_box_glass.png", "default_glass_detail.png^[colorize:#FFFF78"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
light_source = default.LIGHT_MAX,
walkable = false,
groups = {cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
no_stairs = true,
},
["trap_clean_super_glow_glass"] = {
description = S("Trap Clean Super Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png^[colorize:#FFFF78^moreblocks_trap_box_glass.png", "moreblocks_clean_glass_detail.png^[colorize:#FFFF78"},
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,

View File

@ -5,45 +5,87 @@ Copyright © 2011-2020 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
-- Redefinitions of some default crafting recipes:
local modname = minetest.get_current_modname()
minetest.register_craft({
output = "default:sign_wall 4",
recipe = {
{"default:wood", "default:wood", "default:wood"},
{"default:wood", "default:wood", "default:wood"},
{"", "default:stick", ""},
}
})
-- Redefine some of the default crafting recipes to be more productive
minetest.register_craft({
output = "default:ladder 4",
recipe = {
{"default:stick", "", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "", "default:stick"},
-- Auxiliary function: take a recipe as returned by get_all_craft_recipes
-- and turn it into a table that can be used to clear a craft or declare a new one
local reconstruct_internal_craft = function(recipe)
local recp = {
{ "", "", "" },
{ "", "", "" },
{ "", "", "" },
}
})
local width = recipe.width
for idx, item in pairs(recipe.items) do
local row = math.ceil(idx / width)
local col = idx - (row-1)*width
recp[row][col] = item
end
return recp
end
minetest.clear_craft({
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"}
}
})
minetest.register_craft({
output = "default:paper 4",
recipe = {
{"default:papyrus", "default:papyrus", "default:papyrus"},
}
})
-- Change the amount produced by recipe by apply func to the old amount
local change_recipe_amount = function(product, recipe, func)
-- if width == 0, this is a shapeless recipe, for which the
-- internal and Lua API recipe table is the same.
-- Otherwise we need to reconstruct the table for the shaped recipe.
local shapeless = (recipe.width == 0)
local recp = shapeless and recipe.items or reconstruct_internal_craft(recipe)
minetest.register_craft({
output = "default:rail 24",
recipe = {
{"default:steel_ingot", "", "default:steel_ingot"},
{"default:steel_ingot", "default:stick", "default:steel_ingot"},
{"default:steel_ingot", "", "default:steel_ingot"},
}
local oldamount = tonumber(recipe.output:match(" [0-9]+$") or "1")
local newamount = func(oldamount)
-- remove old crafting recipe
local redo = { recipe = recp }
-- preserve shapelessness
if shapeless then
redo.type = "shapeless"
end
minetest.clear_craft(redo)
-- new output
redo.output = ("%s %d"):format(product, newamount)
minetest.register_craft(redo)
minetest.log("action", ("[MOD]%s: recipe for %s production: %d => %d"):format(modname, product, oldamount, newamount))
end
local increase_craft_production = function(product, func)
local recipes = minetest.get_all_craft_recipes(product)
for _, r in pairs(recipes) do
if r.type == "normal" or r.method == "normal" then
change_recipe_amount(product, r, func)
end
end
end
-- Increase the crafting production according to the rules from the table, which is in the form:
-- {
-- { detector, amount changing function }
-- { detector, amount changing function }
-- }
-- TODO: consider exporting this function to other mods
local increase_craft_production_table = function(map_table)
for product, _ in pairs(minetest.registered_items) do
for _, tab in pairs(map_table) do
local detector = tab[1]
local func = tab[2]
if detector(product) then
increase_craft_production(product, func)
-- only apply one boost
break
end
end
end
end
increase_craft_production_table({
{ function(n) return n:match('^default:sign_wall') end, function(old) return old + 1 end },
{ function(n) return n == 'default:paper' end, function(old) return old*4 end },
{ function(n) return n:match('^carts:.*rail$') or n:match('^default:.*rail$') end, function(old) return old + old/2 end },
})
minetest.register_craft({

View File

@ -1,2 +1,3 @@
# If enabled, Stairs+ nodes will be displayed in the inventory when playing in creative mode.
# Disabling this can speed up loading times for clients as fewer nodes need to be registered in the creative inventory.
moreblocks.stairsplus_in_creative_inventory (Display Stairs+ nodes in creative inventory) bool true

20
sounds.lua Normal file
View File

@ -0,0 +1,20 @@
--[[
More Blocks: sound definitions
Copyright © 2011-2021 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
local has_default_mod = minetest.get_modpath("default")
for _, sound in ipairs({"dirt", "wood", "stone", "metal", "glass", "leaves"}) do
-- use sound-function from default if available
-- otherwise fall back to a no-op function (no sounds)
local sound_function_name = "node_sound_" .. sound .. "_defaults"
if has_default_mod then
-- use default sounds
moreblocks[sound_function_name] = default[sound_function_name]
else
-- no-op
moreblocks[sound_function_name] = function() end
end
end

View File

@ -10,7 +10,7 @@
description = "Wooden",
tiles = {"default_wood.png"},
groups = {oddly_breakabe_by_hand=1},
sounds = default.node_sound_wood_defaults(),
sounds = moreblocks.node_sound_wood_defaults(),
})
```
The following register only a particular type of microblock.

View File

@ -15,7 +15,112 @@ local descriptions = {
["stair"] = "Stairs",
}
-- Extends the standad rotate_node placement so that it takes into account
-- the side (top/bottom or left/right) of the face being pointed at.
-- As with the standard rotate_node, sneak can be used to force the perpendicular
-- placement (wall placement on floor/ceiling, floor/ceiling placement on walls).
-- Additionally, the aux / sprint / special key can be used to place the node
-- as if from the opposite side.
--
-- When placing a node next to one of the same category (e.g. slab to slab or
-- stair to stair), the default placement (regardless of sneak) is to copy the
-- under node's param2, flipping if placed above or below it. The aux key disable
-- this behavior.
local wall_right_dirmap = {9, 18, 7, 12}
local wall_left_dirmap = {11, 16, 5, 14}
local ceil_dirmap = {20, 23, 22, 21}
-- extract the stairsplus category from a node name
-- assumes the name is in the form mod_name:category_original_ndoe_name
local function name_to_category(name)
local colon = name:find(":") or 0
colon = colon + 1
local under = name:find("_", colon)
return name:sub(colon, under)
end
stairsplus.rotate_node_aux = function(itemstack, placer, pointed_thing)
local sneak = placer and placer:get_player_control().sneak
local aux = placer and placer:get_player_control().aux1
-- category for what we are placing
local item_prefix = name_to_category(itemstack:get_name())
-- category for what we are placing against
local under = pointed_thing.under
local under_node = minetest.get_node(under)
local under_prefix = under_node and name_to_category(under_node.name)
local same_cat = item_prefix == under_prefix
-- standard (floor) facedir, also used for sneak placement against the lower half of the wall
local p2 = placer and minetest.dir_to_facedir(placer:get_look_dir()) or 0
-- check which face and which quadrant we are interested in
-- this is used both to check if we're handling parallel placement in the same-category case,
-- and in general for sneak placement
local face_pos = minetest.pointed_thing_to_face_pos(placer, pointed_thing)
local face_off = vector.subtract(face_pos, under)
-- we cannot trust face_off to tell us the correct directionif the
-- under node has a non-standard shape, so use the distance between under and above
local wallmounted = minetest.dir_to_wallmounted(vector.subtract(pointed_thing.above, under))
if same_cat and not aux then
p2 = under_node.param2
-- flip if placing above or below an upright or upside-down node
-- TODO should we also flip when placing next to a side-mounted node?
if wallmounted < 2 then
if p2 < 4 then
p2 = (p2 + 2) % 4
p2 = ceil_dirmap[p2 + 1]
elseif p2 > 19 then
p2 = ceil_dirmap[p2 - 19] - 20
p2 = (p2 + 2) % 4
end
end
else
-- for same-cat placement, aux is used to disable param2 copying
if same_cat then
aux = not aux
end
local remap = nil
-- standard placement against the wall
local use_wallmap = (wallmounted > 1 and not sneak) or (wallmounted < 2 and sneak)
-- standard placement against the ceiling, or sneak placement against the upper half of the wall
local use_ceilmap = wallmounted == 1 and not sneak
use_ceilmap = use_ceilmap or (wallmounted > 1 and sneak and face_off.y > 0)
if use_wallmap then
local left = (p2 == 0 and face_off.x < 0) or
(p2 == 1 and face_off.z > 0) or
(p2 == 2 and face_off.x > 0) or
(p2 == 3 and face_off.z < 0)
if aux then
left = not left
end
remap = left and wall_left_dirmap or wall_right_dirmap
elseif use_ceilmap then
remap = ceil_dirmap
end
if aux then
p2 = (p2 + 2) % 4
end
if remap then
p2 = remap[p2 + 1]
end
end
return minetest.item_place(itemstack, placer, pointed_thing, p2)
end
stairsplus.register_single = function(category, alternate, info, modname, subname, recipeitem, fields)
local src_def = minetest.registered_nodes[recipeitem] or {}
local desc_base = S("@1 "..descriptions[category], fields.description)
local def = {}
@ -31,6 +136,9 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
def.drawtype = "nodebox"
def.paramtype = "light"
def.paramtype2 = def.paramtype2 or "facedir"
if def.use_texture_alpha == nil then
def.use_texture_alpha = src_def.use_texture_alpha
end
-- This makes node rotation work on placement
def.place_param2 = nil
@ -38,7 +146,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
-- Darken light sources slightly to make up for their smaller visual size
def.light_source = math.max(0, (def.light_source or 0) - 1)
def.on_place = minetest.rotate_node
def.on_place = stairsplus.rotate_node_aux
def.groups = stairsplus:prepare_groups(fields.groups)
if category == "slab" then

View File

@ -69,7 +69,7 @@ local function register_custom_subset(subset, modname, subname, recipeitem, grou
description = description,
drop = drop,
light_source = light,
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
end

View File

@ -25,7 +25,7 @@ function stairsplus:prepare_groups(groups)
local result = {}
if groups then
for k, v in pairs(groups) do
if k ~= "wood" and k ~= "stone" then
if k ~= "wood" and k ~= "stone" and k ~= "wool" and k ~= "tree" then
result[k] = v
end
end

View File

@ -15,7 +15,7 @@ local function register_micro(modname, subname, recipeitem, groups, images, desc
description = description,
drop = drop,
light_source = light,
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
end

View File

@ -15,7 +15,7 @@ local function register_panel(modname, subname, recipeitem, groups, images, desc
description = description,
drop = drop,
light_source = light,
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
end

View File

@ -6,75 +6,77 @@ Licensed under the zlib license. See LICENSE.md for more information.
--]]
local S = moreblocks.S
-- default registrations
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"stone",
"stone_block",
"cobble",
"mossycobble",
"brick",
"sandstone",
"steelblock",
"goldblock",
"copperblock",
"bronzeblock",
"diamondblock",
"tinblock",
"desert_stone",
"desert_stone_block",
"desert_cobble",
"meselamp",
"glass",
"tree",
"wood",
"jungletree",
"junglewood",
"pine_tree",
"pine_wood",
"acacia_tree",
"acacia_wood",
"aspen_tree",
"aspen_wood",
"obsidian",
"obsidian_block",
"obsidianbrick",
"obsidian_glass",
"stonebrick",
"desert_stonebrick",
"sandstonebrick",
"silver_sandstone",
"silver_sandstone_brick",
"silver_sandstone_block",
"desert_sandstone",
"desert_sandstone_brick",
"desert_sandstone_block",
"sandstone_block",
"coral_skeleton",
"ice",
}
if minetest.get_modpath("default") then
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"stone",
"stone_block",
"cobble",
"mossycobble",
"brick",
"sandstone",
"steelblock",
"goldblock",
"copperblock",
"bronzeblock",
"diamondblock",
"tinblock",
"desert_stone",
"desert_stone_block",
"desert_cobble",
"meselamp",
"glass",
"tree",
"wood",
"jungletree",
"junglewood",
"pine_tree",
"pine_wood",
"acacia_tree",
"acacia_wood",
"aspen_tree",
"aspen_wood",
"obsidian",
"obsidian_block",
"obsidianbrick",
"obsidian_glass",
"stonebrick",
"desert_stonebrick",
"sandstonebrick",
"silver_sandstone",
"silver_sandstone_brick",
"silver_sandstone_block",
"desert_sandstone",
"desert_sandstone_brick",
"desert_sandstone_block",
"sandstone_block",
"coral_skeleton",
"ice",
}
for _, name in pairs(default_nodes) do
local mod = "default"
local nodename = mod .. ":" .. name
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
for _, name in pairs(default_nodes) do
local mod = "default"
local nodename = mod .. ":" .. name
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
-- Stone and desert_stone drop cobble and desert_cobble respectively.
if type(ndef.drop) == "string" then
ndef.drop = ndef.drop:gsub(".+:", "")
-- Stone and desert_stone drop cobble and desert_cobble respectively.
if type(ndef.drop) == "string" then
ndef.drop = ndef.drop:gsub(".+:", "")
end
-- Use the primary tile for all sides of cut glasslike nodes and disregard paramtype2.
if #ndef.tiles > 1 and ndef.drawtype and ndef.drawtype:find("glass") then
ndef.tiles = {ndef.tiles[1]}
ndef.paramtype2 = nil
end
mod = "moreblocks"
stairsplus:register_all(mod, name, nodename, ndef)
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
minetest.register_alias_force("stairs:stair_outer_" .. name, mod .. ":stair_" .. name .. "_outer")
minetest.register_alias_force("stairs:stair_inner_" .. name, mod .. ":stair_" .. name .. "_inner")
minetest.register_alias_force("stairs:slab_" .. name, mod .. ":slab_" .. name)
end
-- Use the primary tile for all sides of cut glasslike nodes and disregard paramtype2.
if #ndef.tiles > 1 and ndef.drawtype and ndef.drawtype:find("glass") then
ndef.tiles = {ndef.tiles[1]}
ndef.paramtype2 = nil
end
mod = "moreblocks"
stairsplus:register_all(mod, name, nodename, ndef)
minetest.register_alias_force("stairs:stair_" .. name, mod .. ":stair_" .. name)
minetest.register_alias_force("stairs:stair_outer_" .. name, mod .. ":stair_" .. name .. "_outer")
minetest.register_alias_force("stairs:stair_inner_" .. name, mod .. ":stair_" .. name .. "_inner")
minetest.register_alias_force("stairs:slab_" .. name, mod .. ":slab_" .. name)
end
-- farming registrations
@ -106,9 +108,6 @@ if minetest.get_modpath("wool") then
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
-- Prevent dye+cut wool recipy from creating a full wool block.
ndef.groups.wool = nil
stairsplus:register_all(mod, name, nodename, ndef)
end
end
@ -121,7 +120,7 @@ if minetest.get_modpath("basic_materials") then
description = S("Concrete"),
tiles = {"basic_materials_concrete_block.png",},
groups = {cracky=1, level=2, concrete=1},
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
minetest.register_alias("prefab:concrete_stair","technic:stair_concrete")
@ -131,7 +130,7 @@ if minetest.get_modpath("basic_materials") then
description = S("Cement"),
tiles = {"basic_materials_cement_block.png"},
groups = {cracky=2, not_in_creative_inventory=1},
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
sunlight_propagates = true,
})

View File

@ -15,7 +15,7 @@ local function register_slab(modname, subname, recipeitem, groups, images, descr
description = description,
drop = drop,
light_source = light,
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
end

View File

@ -15,7 +15,7 @@ local function register_slope(modname, subname, recipeitem, groups, images, desc
description = description,
drop = drop,
light_source = light,
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
end

View File

@ -15,7 +15,7 @@ local function register_stair(modname, subname, recipeitem, groups, images, desc
description = description,
drop = drop,
light_source = light,
sounds = default.node_sound_stone_defaults(),
sounds = moreblocks.node_sound_stone_defaults(),
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB