update plantlife, castles, basic_materials, cool_trees, currency,

digistuff, farming_redo, technic, glooptest, homedecor, maptools,
mesecons, moreblocks, moreores, pipeworks, teleport_request,
unified_inventory, unifieddyes, worldedit, and xban
master
Vanessa Dannenberg 2020-02-16 01:45:23 -05:00
parent f2b0bed218
commit f343969d2f
367 changed files with 5637 additions and 6655 deletions

View File

@ -1,2 +0,0 @@
default
flowers

2
3dmushrooms/mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = 3dmushrooms
depends = default, flowers

View File

@ -1,3 +0,0 @@
default
biome_lib
flowers_plus?

3
along_shore/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = along_shore
depends = default, biome_lib
optional_depends = flowers_plus

View File

@ -1 +1,4 @@
name = anvil
depends = default
optional_depends = doc, intllib
description = Hammer and anvil for repairing tools.

View File

@ -1,2 +0,0 @@
default
moreores?

View File

@ -1,27 +1,30 @@
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:silicon", {
description = "Silicon lump",
description = S("Silicon lump"),
inventory_image = "basic_materials_silicon.png",
})
minetest.register_craftitem("basic_materials:ic", {
description = "Simple Integrated Circuit",
description = S("Simple Integrated Circuit"),
inventory_image = "basic_materials_ic.png",
})
minetest.register_craftitem("basic_materials:motor", {
description = "Simple Motor",
description = S("Simple Motor"),
inventory_image = "basic_materials_motor.png",
})
minetest.register_craftitem("basic_materials:heating_element", {
description = "Heating element",
description = S("Heating element"),
inventory_image = "basic_materials_heating_element.png",
})
minetest.register_craftitem("basic_materials:energy_crystal_simple", {
description = "Simple energy crystal",
description = S("Simple energy crystal"),
inventory_image = "basic_materials_energy_crystal.png",
})

View File

@ -0,0 +1,33 @@
# textdomain: basic_materials
Silicon lump=Morceau de silicium
Simple Integrated Circuit=Circuit intégré simple
Simple Motor=Moteur simple
Heating element=Élément chauffant
Simple energy crystal=Cristal dénergie simple
Spool of steel wire=Bobine de fil dacier
Spool of copper wire=Bobine de fil de cuivre
Spool of silver wire=Bobine de fil dargent
Spool of gold wire=Bobine de fil dor
Steel Strip=Bande de acier
Copper Strip=Bande de cuivre
Steel Bar=Barre dacier
Chainlinks (brass)=Maillon en laiton
Chainlinks (steel)=Maillon en acier
Brass Ingot=Lingot de laiton
Steel gear=Rouage en acier
Padlock=Cadenas
Chain (steel, hanging)=Chaine en acier
Chain (brass, hanging)=Chaine en laiton
Brass Block=Bloc de laiton
Oil extract=Extrait dhuile
Unprocessed paraffin=Paraffine non transformée
Uncooked Terracotta Base=Argile crue
Wet Cement=Ciment humide
Cement=Ciment
Concrete Block=Bloc de béton
Plastic sheet=Morceau de plastique
Plastic strips=Bande de plastique
Empty wire spool=Bobine de fil vide

View File

@ -1,62 +1,65 @@
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:steel_wire", {
description = "Spool of steel wire",
description = S("Spool of steel wire"),
inventory_image = "basic_materials_steel_wire.png"
})
minetest.register_craftitem("basic_materials:copper_wire", {
description = "Spool of copper wire",
description = S("Spool of copper wire"),
inventory_image = "basic_materials_copper_wire.png"
})
minetest.register_craftitem("basic_materials:silver_wire", {
description = "Spool of silver wire",
description = S("Spool of silver wire"),
inventory_image = "basic_materials_silver_wire.png"
})
minetest.register_craftitem("basic_materials:gold_wire", {
description = "Spool of gold wire",
description = S("Spool of gold wire"),
inventory_image = "basic_materials_gold_wire.png"
})
minetest.register_craftitem("basic_materials:steel_strip", {
description = "Steel Strip",
description = S("Steel Strip"),
inventory_image = "basic_materials_steel_strip.png"
})
minetest.register_craftitem("basic_materials:copper_strip", {
description = "Copper Strip",
description = S("Copper Strip"),
inventory_image = "basic_materials_copper_strip.png"
})
minetest.register_craftitem("basic_materials:steel_bar", {
description = "Steel Bar",
description = S("Steel Bar"),
inventory_image = "basic_materials_steel_bar.png",
})
minetest.register_craftitem("basic_materials:chainlink_brass", {
description = "Chainlinks (brass)",
description = S("Chainlinks (brass)"),
inventory_image = "basic_materials_chainlink_brass.png"
})
minetest.register_craftitem("basic_materials:chainlink_steel", {
description = "Chainlinks (steel)",
description = S("Chainlinks (steel)"),
inventory_image = "basic_materials_chainlink_steel.png"
})
minetest.register_craftitem("basic_materials:brass_ingot", {
description = "Brass Ingot",
description = S("Brass Ingot"),
inventory_image = "basic_materials_brass_ingot.png",
})
minetest.register_craftitem("basic_materials:gear_steel", {
description = "Steel gear",
description = S("Steel gear"),
inventory_image = "basic_materials_gear_steel.png"
})
minetest.register_craftitem("basic_materials:padlock", {
description = "Padlock",
description = S("Padlock"),
inventory_image = "basic_materials_padlock.png"
})
@ -76,7 +79,7 @@ local topchains_sbox = {
}
minetest.register_node("basic_materials:chain_steel", {
description = "Chain (steel, hanging)",
description = S("Chain (steel, hanging)"),
drawtype = "mesh",
mesh = "basic_materials_chains.obj",
tiles = {"basic_materials_chain_steel.png"},
@ -90,7 +93,7 @@ minetest.register_node("basic_materials:chain_steel", {
})
minetest.register_node("basic_materials:chain_brass", {
description = "Chain (brass, hanging)",
description = S("Chain (brass, hanging)"),
drawtype = "mesh",
mesh = "basic_materials_chains.obj",
tiles = {"basic_materials_chain_brass.png"},
@ -104,7 +107,7 @@ minetest.register_node("basic_materials:chain_brass", {
})
minetest.register_node("basic_materials:brass_block", {
description = "Brass Block",
description = S("Brass Block"),
tiles = { "basic_materials_brass_block.png" },
is_ground_content = false,
groups = {cracky=1, level=2},

View File

@ -1,29 +1,32 @@
--items
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:oil_extract", {
description = "Oil extract",
description = S("Oil extract"),
inventory_image = "basic_materials_oil_extract.png",
})
minetest.register_craftitem("basic_materials:paraffin", {
description = "Unprocessed paraffin",
description = S("Unprocessed paraffin"),
inventory_image = "basic_materials_paraffin.png",
})
minetest.register_craftitem("basic_materials:terracotta_base", {
description = "Uncooked Terracotta Base",
description = S("Uncooked Terracotta Base"),
inventory_image = "basic_materials_terracotta_base.png",
})
minetest.register_craftitem("basic_materials:wet_cement", {
description = "Wet Cement",
description = S("Wet Cement"),
inventory_image = "basic_materials_wet_cement.png",
})
-- nodes
minetest.register_node("basic_materials:cement_block", {
description = "Cement",
description = S("Cement"),
tiles = {"basic_materials_cement_block.png"},
is_ground_content = true,
groups = {cracky=2},
@ -31,7 +34,7 @@ minetest.register_node("basic_materials:cement_block", {
})
minetest.register_node("basic_materials:concrete_block", {
description = "Concrete Block",
description = S("Concrete Block"),
tiles = {"basic_materials_concrete_block.png",},
groups = {cracky=1, level=2, concrete=1},
sounds = default.node_sound_stone_defaults(),

3
basic_materials/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = basic_materials
depends = default
optional_depends = moreores

View File

@ -1,17 +1,20 @@
-- Translation support
local S = minetest.get_translator("basic_materials")
-- items
minetest.register_craftitem("basic_materials:plastic_sheet", {
description = "Plastic sheet",
description = S("Plastic sheet"),
inventory_image = "basic_materials_plastic_sheet.png",
})
minetest.register_craftitem("basic_materials:plastic_strip", {
description = "Plastic strips",
description = S("Plastic strips"),
inventory_image = "basic_materials_plastic_strip.png",
})
minetest.register_craftitem("basic_materials:empty_spool", {
description = "Empty wire spool",
description = S("Empty wire spool"),
inventory_image = "basic_materials_empty_spool.png"
})

View File

@ -1,5 +0,0 @@
default
biome_lib
plantlife_i18n
stonage?
sumpf?

View File

@ -7,7 +7,7 @@
-- Branch textures created by Neuromancer.
-- support for i18n
local S = plantlife_i18n.gettext
local S = minetest.get_translator("bushes")
abstract_bushes = {}
minetest.register_node("bushes:youngtree2_bottom", {

View File

@ -0,0 +1,11 @@
# textdomain: bushes
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Young Tree 2 (bottom)=Arbuste 2 (bas)
Bush Branches @1=Branches de buisson @1
Bush Leaves @1=Feuilles de buisson @1

View File

@ -0,0 +1,10 @@
# textdomain: bushes
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
Young Tree 2 (bottom)=
Bush Branches @1=
Bush Leaves @1=

3
bushes/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = bushes
depends = default, biome_lib
optional_depends = stonage, sumpf

View File

@ -1,5 +1,5 @@
-- support for i18n
local S = plantlife_i18n.gettext
local S = minetest.get_translator("bushes_classic")
-- Basket

View File

@ -1,4 +0,0 @@
biome_lib
plantlife_i18n
farming?
farming_plus?

View File

@ -4,7 +4,7 @@
bushes_classic = {}
-- support for i18n
local S = plantlife_i18n.gettext
local S = minetest.get_translator("bushes_classic")
bushes_classic.bushes = {
"strawberry",
@ -55,4 +55,4 @@ biome_lib:spawn_on_surfaces({
minetest.register_alias("bushes:basket_pies", "bushes:basket_strawberry")
print(S("[Bushes] Loaded."))
print("[Bushes] Loaded.")

View File

@ -0,0 +1,46 @@
# textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Xanthin, 2017.
#
Sugar=Zucker
Basket with Strawberry pies=Korb mit Erdbeertorten
Cooked Strawberry pie=Erdbeertorte
Raw Strawberry pie=Rohe Erdbeertorte
Slice of Strawberry pie=Erdbeertortenstueck
Strawberry=Erdbeere
Strawberry Bush=Erdbeerbusch
Basket with Blackberry pies=Korb mit Brombeertorten
Blackberry=Brombeere
Blackberry Bush=Brombeerbusch
Cooked Blackberry pie=Brombeertorte
Raw Blackberry pie=Rohe Brombeertorte
Slice of Blackberry pie=Brombeertortenstueck
Basket with Blueberry pies=Korb mit Blaubeertorten
Blueberry=Blaubeere
Blueberry Bush=Blaubeerbusch
Cooked Blueberry pie=Blaubeertorte
Raw Blueberry pie=Rohe Blaubeertorte
Slice of Blueberry pie=Blaubeertortenstueck
Basket with Raspberry pies=Korb mit Himbeertorten
Cooked Raspberry pie=Himbeertorte
Raspberry=Himbeere
Raspberry Bush=Himbeerbusch
Raw Raspberry pie=Rohe Himbeertorte
Slice of Raspberry pie=Himbeertortenstueck
Basket with Gooseberry pies=Korb mit Stachelbeertorten
Cooked Gooseberry pie=Stachelbeertorte
Gooseberry=Stachelbeere
Gooseberry Bush=Stachelbeerbusch
Raw Gooseberry pie=Rohe Stachelbeertorte
Slice of Gooseberry pie=Stachelbeertortenstueck
Basket with Mixed Berry pies=Korb mit Beerenmixtorten
Cooked Mixed Berry pie=Beerenmixtorte
Currently fruitless Bush=zur Zeit fruechteloser
Mixed Berry=Beerenmix
Raw Mixed Berry pie=Rohe Beerenmixtorte
Slice of Mixed Berry pie=Beerenmixtortenstueck
Basket=Korb

View File

@ -0,0 +1,46 @@
# textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Carlos Barraza <carlosbarrazaes@gmail.com>, 2017.
#
Sugar=Azúcar
Basket with Strawberry pies=Cesta con Pasteles de Frutilla
Cooked Strawberry pie=Pastel de Frutilla Cocido
Raw Strawberry pie=Pastel de Frutilla Crudo
Slice of Strawberry pie=Rebanada de Pastel de Frutilla
Strawberry=Frutilla
Strawberry Bush=Arbusto de Frutilla
Basket with Blackberry pies=Cesta con Pasteles de Mora
Blackberry=Mora
Blackberry Bush=Arbusto de Mora
Cooked Blackberry pie=Pastel de Mora Cocido
Raw Blackberry pie=Pastel de Mora Crudo
Slice of Blackberry pie=Rebanada de Pastel de Mora
Basket with Blueberry pies=Cesta con Pasteles de Arándano
Blueberry=Arándano
Blueberry Bush=Arbusto de Arándano
Cooked Blueberry pie=Pastel de Arándano Cocido
Raw Blueberry pie=Pastel de Arándano Crudo
Slice of Blueberry pie=Rebanada de Pastel de Arándano
Basket with Raspberry pies=Cesta con Pasteles de Frambuesa
Cooked Raspberry pie=Pastel de Frambuesa Cocido
Raspberry=Frambuesa
Raspberry Bush=Arbusto de Frambuesa
Raw Raspberry pie=Pastel de Frambuesa Crudo
Slice of Raspberry pie=Rebanada de Pastel de Frambuesa
Basket with Gooseberry pies=Cesta con Pasteles de Grosella
Cooked Gooseberry pie=Pastel de Grosella Cocido
Gooseberry=Grosella
Gooseberry Bush=Arbusto de Grosella
Raw Gooseberry pie=Pastel de Grosella Crudo
Slice of Gooseberry pie=Rebanada de Pastel de Grosella
Basket with Mixed Berry pies=Cesta con Pasteles de Mezcla de Baya
Cooked Mixed Berry pie=Pastel de Mezcla de Bayas Cocido
Currently fruitless Bush=Arbusto actualmente infructuoso
Mixed Berry=Mezcla de Baya
Raw Mixed Berry pie=Pastel de Mezcla de Bayas Cruda
Slice of Mixed Berry pie=Rebanada de Pastel de Mezcla de Bayas
Basket=Cesta

View File

@ -0,0 +1,46 @@
# textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# fat115 <fat115@framasoft.org>, 2017.
#
Sugar=Sucre
Basket with Strawberry pies=Panier de tartes aux fraises
Cooked Strawberry pie=Tarte aux fraises (cuite)
Raw Strawberry pie=Tarte aux fraises (crue)
Slice of Strawberry pie=Part de tarte aux fraises
Strawberry=Fraises
Strawberry Bush=Buisson de fraises
Basket with Blackberry pies=Panier de tartes aux fraises
Blackberry=Mûres
Blackberry Bush=Buisson de mûres
Cooked Blackberry pie=Tarte aux mûres (cuite)
Raw Blackberry pie=Tarte aux mûres (crue)
Slice of Blackberry pie=Part de tarte aux mûres
Basket with Blueberry pies=Panier de tartes aux mûres
Blueberry=Myrtilles
Blueberry Bush=Buisson de myrtilles
Cooked Blueberry pie=Tarte aux myrtilles (cuite)
Raw Blueberry pie=Tarte aux myrtilles (crue)
Slice of Blueberry pie=Part de tarte aux myrtilles
Basket with Raspberry pies=Panier de tartes aux framboises
Cooked Raspberry pie=Tarte aux framboises (cuite)
Raspberry=Framboises
Raspberry Bush=Buisson de framboises
Raw Raspberry pie=Tarte aux framboises (crue)
Slice of Raspberry pie=Part de tarts aux framboises
Basket with Gooseberry pies=Panier de tartes aux groseilles
Cooked Gooseberry pie=Tarte aux groseilles (cuite)
Gooseberry=Groseilles
Gooseberry Bush=Buisson de groseilles
Raw Gooseberry pie=Tarte aux groseilles (crue)
Slice of Gooseberry pie=Part de tarte aux groseilles
Basket with Mixed Berry pies=Panier de tartes aux fruits rouges
Cooked Mixed Berry pie=Tarte aux fruits rouges (cuite)
Currently fruitless Bush=Buisson sans fruits pour l'instant
Mixed Berry=Fruits rouges
Raw Mixed Berry pie=Tarte aux fruits rouges (crue)
Slice of Mixed Berry pie=Part de tarte aux fruits rouges
Basket=Panier

View File

@ -0,0 +1,46 @@
# textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# mahmutelmas06@hotmail.com, 2017.
#
Sugar=Şeker
Basket with Strawberry pies=Çilekli pasta sepeti
Cooked Strawberry pie=Pişmiş çilekli pasta
Raw Strawberry pie=Çilekli çiğ pasta
Slice of Strawberry pie=Çilekli pasta dilimi
Strawberry=Çilek
Strawberry Bush=Çilek fidanı
Basket with Blackberry pies=Böğürtlenli pasta sepeti
Blackberry=Böğürtlen
Blackberry Bush=Böğürtlen fidanı
Cooked Blackberry pie=Pişmiş böğürtlenli pasta
Raw Blackberry pie=Böğürtlenli çiğ pasta
Slice of Blackberry pie=Böğürtlenli pasta dilimi
Basket with Blueberry pies=Yaban mersini pastalı sepet
Blueberry=Yaban mersini
Blueberry Bush=Yaban mersini fidanı
Cooked Blueberry pie=Pişmiş yaban mersinli pasta
Raw Blueberry pie=Yaban mersinli çiğ pasta
Slice of Blueberry pie=Yaban mersinli pasta dilimi
Basket with Raspberry pies=Ahududulu pasta sepeti
Cooked Raspberry pie=Pişmiş ahududulu pasta
Raspberry=Ahududu
Raspberry Bush=Ahududu fidanı
Raw Raspberry pie=Ahududulu çiğ pasta
Slice of Raspberry pie=Ahududulu pasta dilimi
Basket with Gooseberry pies=Bektaşi üzümlü pasta sepeti
Cooked Gooseberry pie=Pişmiş bektaşi üzümlü pasta
Gooseberry=Bektaşi üzümü
Gooseberry Bush=Bektaşi üzümü fidanı
Raw Gooseberry pie=Bektaşi üzümlü çiğ pasta
Slice of Gooseberry pie=Bektaşi üzümlü pasta dilimi
Basket with Mixed Berry pies=Dutlu pasta sepeti
Cooked Mixed Berry pie=Pişmiş dutlu pasta
Currently fruitless Bush=Fidanı şu anda meyvesiz
Mixed Berry=Dut
Raw Mixed Berry pie=Dutlu çiğ pasta
Slice of Mixed Berry pie=Dutlu pasta dilimi
Basket=Sepet

View File

@ -0,0 +1,46 @@
# textdomain: bushes_classic
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
Sugar=
Basket with Strawberry pies=
Cooked Strawberry pie=
Raw Strawberry pie=
Slice of Strawberry pie=
Strawberry=
Strawberry Bush=
Basket with Blackberry pies=
Blackberry=
Blackberry Bush=
Cooked Blackberry pie=
Raw Blackberry pie=
Slice of Blackberry pie=
Basket with Blueberry pies=
Blueberry=
Blueberry Bush=
Cooked Blueberry pie=
Raw Blueberry pie=
Slice of Blueberry pie=
Basket with Raspberry pies=
Cooked Raspberry pie=
Raspberry=
Raspberry Bush=
Raw Raspberry pie=
Slice of Raspberry pie=
Basket with Gooseberry pies=
Cooked Gooseberry pie=
Gooseberry=
Gooseberry Bush=
Raw Gooseberry pie=
Slice of Gooseberry pie=
Basket with Mixed Berry pies=
Cooked Mixed Berry pie=
Currently fruitless Bush=
Mixed Berry=
Raw Mixed Berry pie=
Slice of Mixed Berry pie=
Basket=

3
bushes_classic/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = bushes_classic
depends = biome_lib
optional_depends = farming, farming_plus

View File

@ -1,5 +1,5 @@
-- support for i18n
local S = plantlife_i18n.gettext
local S = minetest.get_translator("bushes_classic")
plantlife_bushes = {}

View File

@ -1,101 +0,0 @@
-- A simple special-purpose class, this is used for building up sets of three-dimensional points for fast reference
Pointset = {}
Pointset.__index = Pointset
function Pointset.create()
local set = {}
setmetatable(set,Pointset)
set.points = {}
return set
end
function Pointset:set(x, y, z, value)
-- sets a value in the 3D array "points".
if self.points[x] == nil then
self.points[x] = {}
end
if self.points[x][y] == nil then
self.points[x][y] = {}
end
self.points[x][y][z] = value
end
function Pointset:set_if_not_in(excluded, x, y, z, value)
-- If a value is not already set for this point in the 3D array "excluded", set it in "points"
if excluded:get(x, y, z) ~= nil then
return
end
self:set(x, y, z, value)
end
function Pointset:get(x, y, z)
-- return a value from the 3D array "points"
if self.points[x] == nil or self.points[x][y] == nil then
return nil
end
return self.points[x][y][z]
end
function Pointset:set_pos(pos, value)
self:set(pos.x, pos.y, pos.z, value)
end
function Pointset:set_pos_if_not_in(excluded, pos, value)
self:set_if_not_in(excluded, pos.x, pos.y, pos.z, value)
end
function Pointset:get_pos(pos)
return self:get(pos.x, pos.y, pos.z)
end
function Pointset:pop()
-- returns a point that's in the 3D array, and then removes it.
local pos = {}
local ytable
local ztable
local val
local count = 0
for _ in pairs(self.points) do count = count + 1 end
if count == 0 then
return nil
end
pos.x, ytable = next(self.points)
pos.y, ztable = next(ytable)
pos.z, val = next(ztable)
self.points[pos.x][pos.y][pos.z] = nil
count = 0
for _ in pairs(self.points[pos.x][pos.y]) do count = count + 1 end
if count == 0 then
self.points[pos.x][pos.y] = nil
end
count = 0
for _ in pairs(self.points[pos.x]) do count = count + 1 end
if count == 0 then
self.points[pos.x] = nil
end
return pos, val
end
function Pointset:get_pos_list(value)
-- Returns a list of all points with the given value in standard Minetest vector format. If no value is provided, returns all points
local outlist = {}
for x, ytable in ipairs(self.points) do
for y, ztable in ipairs(ytable) do
for z, val in ipairs(ztable) do
if (value == nil and val ~= nil ) or val == value then
table.insert(outlist, {x=x, y=y, z=z})
end
end
end
end
return outlist
end

View File

@ -1,6 +1,18 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_gates")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
if minetest.get_modpath("doors") then
doors.register("castle_gates:oak_door", {

View File

@ -1,5 +1,4 @@
local MP = minetest.get_modpath(minetest.get_current_modname())
dofile(MP.."/class_pointset.lua")
-- Given a facedir, returns a set of all the corresponding directions
local get_dirs = function(facedir)
@ -130,17 +129,16 @@ local get_door_layout = function(pos, facedir, player)
door.previous_move = minetest.get_meta(pos):get_string("previous_move")
-- temporary pointsets used while searching
local to_test = Pointset.create()
local tested = Pointset.create()
local can_slide_to = Pointset.create()
local to_test = {}
local tested = {}
local can_slide_to = {}
local castle_gate_group_value -- this will be populated from the first gate node we encounter, which will be the one that was clicked on
to_test:set_pos(pos, true)
local test_pos, _ = to_test:pop()
local test_pos = pos
while test_pos ~= nil do
tested:set_pos(test_pos, true) -- track nodes we've looked at
local test_pos_hash = minetest.hash_node_position(test_pos)
tested[test_pos_hash] = true -- track nodes we've looked at
local test_node = minetest.get_node(test_pos)
if test_node.name == "ignore" then
@ -153,7 +151,9 @@ local get_door_layout = function(pos, facedir, player)
end
local test_node_def = minetest.registered_nodes[test_node.name]
can_slide_to:set_pos(test_pos, test_node_def.buildable_to == true)
if test_node_def.buildable_to then
can_slide_to[test_pos_hash] = true
end
if test_node_def.paramtype2 == "facedir" and test_node.param2 <= 23 then -- prospective door nodes need to be of type facedir and have a valid param2
local test_node_dirs = get_dirs(test_node.param2)
@ -183,19 +183,23 @@ local get_door_layout = function(pos, facedir, player)
end
end
can_slide_to:set_pos(test_pos, true) -- since this is part of the door, other parts of the door can slide into it
can_slide_to[test_pos_hash] = true -- since this is part of the door, other parts of the door can slide into it
local test_directions = {"top", "bottom", "left", "right"}
for _, dir in pairs(test_directions) do
local adjacent_pos = vector.add(test_pos, door.directions[dir])
local adjacent_node = minetest.get_node(adjacent_pos)
local adjacent_def = minetest.registered_nodes[adjacent_node.name]
can_slide_to:set_pos(adjacent_pos, adjacent_def.buildable_to == true or adjacent_def.groups.castle_gate)
local adjacent_pos_hash = minetest.hash_node_position(adjacent_pos)
if adjacent_def.buildable_to then
can_slide_to[adjacent_pos_hash] = true
end
if test_node_def._gate_edges == nil or not test_node_def._gate_edges[dir] then -- if we ourselves are an edge node, don't look in the direction we're an edge in
if tested:get_pos(adjacent_pos) == nil then -- don't look at nodes that have already been looked at
if tested[adjacent_pos_hash] == nil then -- don't look at nodes that have already been looked at
if adjacent_def.paramtype2 == "facedir" then -- all doors are facedir nodes so we can pre-screen some targets
local edge_points_back_at_test_pos = false
-- Look at the adjacent node's definition. If it's got gate edges, check if they point back at us.
if adjacent_def._gate_edges ~= nil then
@ -209,7 +213,7 @@ local get_door_layout = function(pos, facedir, player)
end
if not edge_points_back_at_test_pos then
to_test:set_pos(adjacent_pos, true)
table.insert(to_test, adjacent_pos_hash)
end
end
end
@ -218,17 +222,20 @@ local get_door_layout = function(pos, facedir, player)
end
end
test_pos, _ = to_test:pop()
test_pos = table.remove(to_test)
if test_pos ~= nil then
test_pos = minetest.get_position_from_hash(test_pos)
end
end
if door.hinge == nil then
--sliding door, evaluate which directions it can go
door.can_slide = {top=true, bottom=true, left=true, right=true}
for _,door_node in pairs(door.all) do
door.can_slide.top = door.can_slide.top and can_slide_to:get_pos(vector.add(door_node.pos, door.directions.top))
door.can_slide.bottom = door.can_slide.bottom and can_slide_to:get_pos(vector.add(door_node.pos, door.directions.bottom))
door.can_slide.left = door.can_slide.left and can_slide_to:get_pos(vector.add(door_node.pos, door.directions.left))
door.can_slide.right = door.can_slide.right and can_slide_to:get_pos(vector.add(door_node.pos, door.directions.right))
door.can_slide.top = door.can_slide.top and can_slide_to[minetest.hash_node_position(vector.add(door_node.pos, door.directions.top))]
door.can_slide.bottom = door.can_slide.bottom and can_slide_to[minetest.hash_node_position(vector.add(door_node.pos, door.directions.bottom))]
door.can_slide.left = door.can_slide.left and can_slide_to[minetest.hash_node_position(vector.add(door_node.pos, door.directions.left))]
door.can_slide.right = door.can_slide.right and can_slide_to[minetest.hash_node_position(vector.add(door_node.pos, door.directions.right))]
end
else
--rotating door, evaluate which direction it can go. Slightly more complicated.

View File

@ -1,6 +1,15 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_gates")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
-- copied from castle_masonry in case that mod is not loaded
local get_material_properties = function(material)

View File

@ -1,6 +1,15 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_gates")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
minetest.register_alias("castle_gates:gate_edge", "castle_gates:wood_gate_edge")
minetest.register_alias("castle_gates:gate_edge_handle", "castle_gates:wood_gate_edge_handle")

View File

@ -0,0 +1,16 @@
# textdomain:castle_gates
Oak Door=Porta di quercia
Jail Door=Porta della prigione
Jail Bars=Sbarre della prigione
@1 Portcullis Bars=Sbarre della saracinesca di @1
@1 Portcullis Bottom=Estremità inferiore della saracinesca di @1
@1 Gate Door=Porta di @1 del cancello
@1 Gate Door Edge=Estremità della porta di @1 del cancello
@1 Gate Door With Handle=Porta di @1 con maniglia del cancello
@1 Gate Door With Hinge=Porta di @1 con cardine del cancello
Wooden=legno
Steel=acciaio
Stonebrick=mattone di pietra
@1 Gate Slot=Alloggio di @1 del cancello
@1 Gate Slot Reverse=Rovescio dell'alloggio di @1 del cancello

View File

@ -1,22 +1,22 @@
# ITALIAN LOCALE FILE FOR THE CASTLE GATES MODULE
# Copyright (C) 2017 Philipbenr And DanDuncombe
# This file is distributed under the same license as the CASTLE GATES package.
# Hamlet <h4mlet@riseup.net>, 2017.
# Hamlet <54187342+h4ml3t@users.noreply.github.com> 2017, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: Castle Gates\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-14 22:15-0600\n"
"PO-Revision-Date: 2017-09-26 23:51+0100\n"
"Last-Translator: Hamlet <h4mlet@riseup.net>\n"
"PO-Revision-Date: 2019-11-11 23:23+0100\n"
"Last-Translator: Hamlet <54187342+h4ml3t@users.noreply.github.com>\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"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.6.10\n"
"X-Generator: Poedit 2.2.1\n"
#: doc.lua:11
msgid "Heavy wooden bars designed to prevent entry even to siege equipment."
@ -237,46 +237,40 @@ msgid "Jail Bars"
msgstr "Sbarre della prigione"
#: gates.lua:23
#, fuzzy
msgid "@1 Portcullis Bars"
msgstr "Sbarre della saracinesca"
msgstr "Sbarre della saracinesca di @1"
#: gates.lua:53
#, fuzzy
msgid "@1 Portcullis Bottom"
msgstr "Estremità inferiore della saracinesca"
msgstr "Estremità inferiore della saracinesca di @1"
#: gates.lua:113
#, fuzzy
msgid "@1 Gate Door"
msgstr "Segmento di cancello, porta o portone"
msgstr "Porta di @1 del cancello"
#: gates.lua:145
#, fuzzy
msgid "@1 Gate Door Edge"
msgstr "Estremità di cancello, porta o portone"
msgstr "Estremità della porta di @1 del cancello"
#: gates.lua:184
#, fuzzy
msgid "@1 Gate Door With Handle"
msgstr "Cancello, porta o portone con maniglia"
msgstr "Porta di @1 con maniglia del cancello"
#: gates.lua:227
#, fuzzy
msgid "@1 Gate Door With Hinge"
msgstr "Cancello, porta o portone con cardine"
msgstr "Porta di @1 con cardine del cancello"
#: gates.lua:256
msgid "Wooden"
msgstr ""
msgstr "legno"
#: gates.lua:268
msgid "Steel"
msgstr ""
msgstr "acciaio"
#: gate_slots.lua:36
msgid "Stonebrick"
msgstr "Mattoni di pietra"
msgstr "mattone di pietra"
#: gate_slots.lua:45
msgid "@1 Gate Slot"
@ -285,4 +279,4 @@ msgstr "Alloggio di @1 per cancelli, porte, portoni e saracinesche"
#: gate_slots.lua:70
msgid "@1 Gate Slot Reverse"
msgstr ""
"Rovescio dell'alloggio di @1 per cancelli, porte, portoni e saracinesche."
"Rovescio dell'alloggio di @1 per cancelli, porte, portoni e saracinesche"

View File

@ -0,0 +1,16 @@
# textdomain:castle_gates
Oak Door=
Jail Door=
Jail Bars=
@1 Portcullis Bars=
@1 Portcullis Bottom=
@1 Gate Door=
@1 Gate Door Edge=
@1 Gate Door With Handle=
@1 Gate Door With Hinge=
Wooden=
Steel=
Stonebrick=
@1 Gate Slot=
@1 Gate Slot Reverse=

View File

@ -1 +1,4 @@
name = castle_gates
description = This is a mod all about creating castles and castle dungeons. Many of the nodes are used for the outer-walls or dungeons.
depends = default
optional_depends = castle_masonry, doors, xpanes, intllib, doc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 878 B

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 95 B

View File

@ -1,6 +1,18 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
castle_masonry.register_arrowslit = function(material)
local composition_def, burn_time, tile, desc = castle_masonry.get_material_properties(material)

View File

@ -1,7 +0,0 @@
default
moreblocks?
stairs?
building_blocks?
asphalt?
streets?
intllib?

View File

@ -1 +0,0 @@
This is a mod all about creating castles and castle dungeons. Many of the nodes are used for the outer-walls or dungeons.

View File

@ -7,7 +7,20 @@ dofile(MP.."/murder_holes.lua")
dofile(MP.."/stone_wall.lua")
dofile(MP.."/paving.lua")
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")
else
-- internationalization boilerplate
S, NS = dofile(MP.."/intllib.lua")
end
local read_setting = function(name, default)
local setting = minetest.settings:get_bool(name)
@ -82,7 +95,7 @@ castle_masonry.get_material_properties = function(material)
burn_time = minetest.get_craft_result({method="fuel", width=1, items={ItemStack(material.composition_material)}}).time
else
composition_def = minetest.registered_nodes[material.craft_material]
burn_time = minetest.get_craft_result({method="fuel", width=1, items={ItemStack(material.craft_materia)}}).time
burn_time = minetest.get_craft_result({method="fuel", width=1, items={ItemStack(material.craft_material)}}).time
end
local tiles = material.tile

View File

@ -0,0 +1,49 @@
# textdomain:castle_masonry
@1 Arrowslit=Feritoia per frecce di @1
@1 Arrowslit with Cross=Feritoia a croce per frecce di @1
@1 Arrowslit with Hole=Feritoia a foro per frecce di @1
@1 Embrasure=Feritoia di @1
Stonewall=muro di pietra
Cobble=ciottoli
Stonebrick=mattone di pietra
Sandstone Brick=mattone d'arenaria
Desert Stone Brick=mattone di pietra del deserto
Desert Sandstone Brick=mattone d'arenaria del deserto
Silver Sandstone Brick=mattone d'arenaria argentata
Stone=pietra
Sandstone=arenaria
Desert Stone=pietra del deserto
Desert Sandstone=arenaria del deserto
Silver Sandstone=arenaria argentata
Wood=legno
Ice=ghiaccio
Snow=neve
Obsidian Brick=mattone d'ossidiana
@1 Murder Hole=Buca assassina di @1
@1 Machicolation=Caditoia di @1
Paving Stone=Pietra pavimentale
Pavement Brick=Mattone pavimentale
Castle Pavement Stair=Scala pavimentale del castello
Castle Pavement Slab=Lastra pavimentale del castello
Roof Slates=Tegole d'ardesia
@1 Pillar Base=Base della colonna di @1
@1 Half Pillar Base=Mezza base della colonna di @1
@1 Pillar Top=Capitello di @1
@1 Half Pillar Top=Mezzo capitello di @1
@1 Pillar Middle=Fusto della colonna di @1
@1 Half Pillar Middle=Mezzo fusto della colonna di @1
@1 Crossbrace=Costolone di @1
@1 Extended Crossbrace=Costolone esteso di @1
Castle Wall=Muro del castello
Castle Rubble=Detriti del castello
Castle Corner=Angolo del castello
Stone Wall=Muro di pietra
Rubble=Detriti
Castle Stonewall Stair=Scala del castello in muro di pietra
Castle Stonewall Slab=Lastra del castello in muro di pietra
Castle Rubble Stair=Scala del castello in detriti
Castle Rubble Slab=Lastra del castello in detriti
Dungeon Stone=Pietra del sotterraneo
Dungeon Stone Stair=Scala di pietra del sotterraneo
Dungeon Stone Slab=Lastra di pietra del sotterraneo

View File

@ -8,182 +8,203 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-21 23:41-0700\n"
"POT-Creation-Date: 2019-11-12 13:31+0100\n"
"PO-Revision-Date: 2017-04-28 15:23-0400\n"
"Last-Translator: Carlos Barraza\n"
"Language-Team: Español\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: arrow_slits.lua:12
#: arrow_slits.lua
msgid "@1 Arrowslit"
msgstr "Aspillera de @1"
#: arrow_slits.lua:33
#: arrow_slits.lua
msgid "@1 Arrowslit with Cross"
msgstr "Aspillera con Crus de @1"
#: arrow_slits.lua:58
#: arrow_slits.lua
msgid "@1 Arrowslit with Hole"
msgstr "Aspillera con Agujero de @1"
#: arrow_slits.lua:81
#: arrow_slits.lua
msgid "@1 Embrasure"
msgstr "Aféizar de @1 "
#: init.lua:29
#: init.lua
msgid "Stonewall"
msgstr "Pared de piedra"
#: init.lua:32
#: init.lua
msgid "Cobble"
msgstr "Adoquín"
#: init.lua:35
#: init.lua
msgid "Stonebrick"
msgstr "Ladrillo de Piedra"
#: init.lua:38
#: init.lua
msgid "Sandstone Brick"
msgstr "Ladrillo de Arenisca"
#: init.lua:41
#: init.lua
msgid "Desert Stone Brick"
msgstr "Ladrillo de Piedra del Desierto"
#: init.lua:44
#: init.lua
#, fuzzy
msgid "Desert Sandstone Brick"
msgstr "Ladrillo de Piedra del Desierto"
#: init.lua
#, fuzzy
msgid "Silver Sandstone Brick"
msgstr "Ladrillo de Arenisca"
#: init.lua
msgid "Stone"
msgstr "Piedra"
#: init.lua:47
#: init.lua
msgid "Sandstone"
msgstr "Arenisca"
#: init.lua:50
#: init.lua
msgid "Desert Stone"
msgstr "Piedra del Desierto"
#: init.lua:53
#: init.lua
#, fuzzy
msgid "Desert Sandstone"
msgstr "Piedra del Desierto"
#: init.lua
#, fuzzy
msgid "Silver Sandstone"
msgstr "Arenisca"
#: init.lua
msgid "Wood"
msgstr "Madera"
#: init.lua:56
#: init.lua
msgid "Ice"
msgstr "Hielo"
#: init.lua:59
#: init.lua
msgid "Snow"
msgstr "Nieve"
#: init.lua:62
#: init.lua
msgid "Obsidian Brick"
msgstr "Ladrillo de Obsidiana"
#: murder_holes.lua:14
#: murder_holes.lua
msgid "@1 Murder Hole"
msgstr "Agujero de @1"
#: murder_holes.lua:33
#: murder_holes.lua
msgid "@1 Machicolation"
msgstr "Matacán de @1"
#: paving.lua:11
#: paving.lua
msgid "Paving Stone"
msgstr "Piedra Pavimentada"
#: paving.lua:30
#: paving.lua
msgid "Pavement Brick"
msgstr "Ladrillo Pavimentado"
#: paving.lua:40
#: paving.lua
msgid "Castle Pavement Stair"
msgstr "Escalera de Castillo Pavimentada"
#: paving.lua:41
#: paving.lua
msgid "Castle Pavement Slab"
msgstr "Pavimento de Castillo"
#: paving.lua:49
#: paving.lua
msgid "Roof Slates"
msgstr "Pizarras de Techo"
#: pillars.lua:18
#: pillars.lua
msgid "@1 Pillar Base"
msgstr "Base de Pilar de @1"
#: pillars.lua:36
#: pillars.lua
msgid "@1 Half Pillar Base"
msgstr "Base de Medio Pilar de @1"
#: pillars.lua:54
#: pillars.lua
msgid "@1 Pillar Top"
msgstr "Parte Superior de Pilar de @1"
#: pillars.lua:72
#: pillars.lua
msgid "@1 Half Pillar Top"
msgstr "Parte Superior de Medio Pilar @1"
#: pillars.lua:90
#: pillars.lua
msgid "@1 Pillar Middle"
msgstr "Medio Pilar de @1"
#: pillars.lua:106
#: pillars.lua
msgid "@1 Half Pillar Middle"
msgstr "Medio del Medio Pilar de @1"
#: pillars.lua:123
#: pillars.lua
msgid "@1 Crossbrace"
msgstr "Viga de @1"
#: pillars.lua:147
#: pillars.lua
msgid "@1 Extended Crossbrace"
msgstr "Viga Extendida de @1"
#: stone_wall.lua:11
#: stone_wall.lua
msgid "Castle Wall"
msgstr "Pared de Castillo"
#: stone_wall.lua:22
#: stone_wall.lua
msgid "Castle Rubble"
msgstr "Escombros de Castillo"
#: stone_wall.lua:57
#: stone_wall.lua
msgid "Castle Corner"
msgstr "Esquina de Castillo"
#: stone_wall.lua:78
#: stone_wall.lua
msgid "Stone Wall"
msgstr "Pared de Piedra"
#: stone_wall.lua:86
#: stone_wall.lua
msgid "Rubble"
msgstr "Escombros"
#: stone_wall.lua:100
#: stone_wall.lua
msgid "Castle Stonewall Stair"
msgstr "Escalera de Pared de Castillo"
#: stone_wall.lua:101
#: stone_wall.lua
msgid "Castle Stonewall Slab"
msgstr "Losa de Pared de Castillo"
#: stone_wall.lua:108
#: stone_wall.lua
msgid "Castle Rubble Stair"
msgstr "Escalera de Escombro de Castillo"
#: stone_wall.lua:109
#: stone_wall.lua
msgid "Castle Rubble Slab"
msgstr "Losa de Escombro de Castillo"
#: stone_wall.lua:117 stone_wall.lua:143
#: stone_wall.lua
msgid "Dungeon Stone"
msgstr "Piedra de Mazmorra"
#: stone_wall.lua:156
#: stone_wall.lua
msgid "Dungeon Stone Stair"
msgstr "Escalera de Piedra de Mazmorra"
#: stone_wall.lua:157
#: stone_wall.lua
msgid "Dungeon Stone Slab"
msgstr "Losa de Piedra de Mazmorra"

View File

@ -8,182 +8,203 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-21 23:41-0700\n"
"POT-Creation-Date: 2019-11-12 13:31+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: arrow_slits.lua:12
#: arrow_slits.lua
msgid "@1 Arrowslit"
msgstr "Meurtrière en @1"
#: arrow_slits.lua:33
#: arrow_slits.lua
msgid "@1 Arrowslit with Cross"
msgstr "Meurtrière en croix en @1"
#: arrow_slits.lua:58
#: arrow_slits.lua
msgid "@1 Arrowslit with Hole"
msgstr "Meurtrière avec trou en @1"
#: arrow_slits.lua:81
#: arrow_slits.lua
msgid "@1 Embrasure"
msgstr "Embrasure en @1"
#: init.lua:29
#: init.lua
msgid "Stonewall"
msgstr "Pierre brune"
#: init.lua:32
#: init.lua
msgid "Cobble"
msgstr "Pavé"
#: init.lua:35
#: init.lua
msgid "Stonebrick"
msgstr "Brique de pierre"
#: init.lua:38
#: init.lua
msgid "Sandstone Brick"
msgstr "Brique de grès"
#: init.lua:41
#: init.lua
msgid "Desert Stone Brick"
msgstr "Brique de pierre du désert"
#: init.lua:44
#: init.lua
#, fuzzy
msgid "Desert Sandstone Brick"
msgstr "Brique de pierre du désert"
#: init.lua
#, fuzzy
msgid "Silver Sandstone Brick"
msgstr "Brique de grès"
#: init.lua
msgid "Stone"
msgstr "Pierre"
#: init.lua:47
#: init.lua
msgid "Sandstone"
msgstr "Grès"
#: init.lua:50
#: init.lua
msgid "Desert Stone"
msgstr "Pierre du désert"
#: init.lua:53
#: init.lua
#, fuzzy
msgid "Desert Sandstone"
msgstr "Pierre du désert"
#: init.lua
#, fuzzy
msgid "Silver Sandstone"
msgstr "Grès"
#: init.lua
msgid "Wood"
msgstr "Bois"
#: init.lua:56
#: init.lua
msgid "Ice"
msgstr "Glace"
#: init.lua:59
#: init.lua
msgid "Snow"
msgstr "Neige"
#: init.lua:62
#: init.lua
msgid "Obsidian Brick"
msgstr "Brique d'obsidienne"
#: murder_holes.lua:14
#: murder_holes.lua
msgid "@1 Murder Hole"
msgstr "Trou en @1"
#: murder_holes.lua:33
#: murder_holes.lua
msgid "@1 Machicolation"
msgstr "Machicoulis en @1"
#: paving.lua:11
#: paving.lua
msgid "Paving Stone"
msgstr "Pierre de pavage"
#: paving.lua:30
#: paving.lua
msgid "Pavement Brick"
msgstr "Brique de pavage"
#: paving.lua:40
#: paving.lua
msgid "Castle Pavement Stair"
msgstr "Escaliers de chateau pavé"
#: paving.lua:41
#: paving.lua
msgid "Castle Pavement Slab"
msgstr "Dalle de chateau pavé"
#: paving.lua:49
#: paving.lua
msgid "Roof Slates"
msgstr "Toiture en ardoise"
#: pillars.lua:18
#: pillars.lua
msgid "@1 Pillar Base"
msgstr "Base de pilier en @1"
#: pillars.lua:36
#: pillars.lua
msgid "@1 Half Pillar Base"
msgstr "Base de demi pilier en @1"
#: pillars.lua:54
#: pillars.lua
msgid "@1 Pillar Top"
msgstr "Haut de pilier en @1"
#: pillars.lua:72
#: pillars.lua
msgid "@1 Half Pillar Top"
msgstr "Haut de demi pilier en @1"
#: pillars.lua:90
#: pillars.lua
msgid "@1 Pillar Middle"
msgstr "Milieu de pilier en @1"
#: pillars.lua:106
#: pillars.lua
msgid "@1 Half Pillar Middle"
msgstr "Milieu de demi pilier en @1"
#: pillars.lua:123
#: pillars.lua
msgid "@1 Crossbrace"
msgstr "Travers en @1"
#: pillars.lua:147
#: pillars.lua
msgid "@1 Extended Crossbrace"
msgstr "Travers entendu en @1"
#: stone_wall.lua:11
#: stone_wall.lua
msgid "Castle Wall"
msgstr "Pierre brune"
#: stone_wall.lua:22
#: stone_wall.lua
msgid "Castle Rubble"
msgstr "Gravats de chateau"
#: stone_wall.lua:57
#: stone_wall.lua
msgid "Castle Corner"
msgstr "Angle de chateau"
#: stone_wall.lua:78
#: stone_wall.lua
msgid "Stone Wall"
msgstr "Mur de pierre"
#: stone_wall.lua:86
#: stone_wall.lua
msgid "Rubble"
msgstr "Décombre"
#: stone_wall.lua:100
#: stone_wall.lua
msgid "Castle Stonewall Stair"
msgstr "Escalier en pierre brune"
#: stone_wall.lua:101
#: stone_wall.lua
msgid "Castle Stonewall Slab"
msgstr "Dalle en pierre brune"
#: stone_wall.lua:108
#: stone_wall.lua
msgid "Castle Rubble Stair"
msgstr "Escalier en gravats de chateau"
#: stone_wall.lua:109
#: stone_wall.lua
msgid "Castle Rubble Slab"
msgstr "Dalle en gravats de chateau"
#: stone_wall.lua:117 stone_wall.lua:143
#: stone_wall.lua
msgid "Dungeon Stone"
msgstr "Pierre de dongeon"
#: stone_wall.lua:156
#: stone_wall.lua
msgid "Dungeon Stone Stair"
msgstr "Escalier en pierre de dongeon"
#: stone_wall.lua:157
#: stone_wall.lua
msgid "Dungeon Stone Slab"
msgstr "Dalle en pierre de dongeon"

View File

@ -1,191 +1,207 @@
# ITALIAN LOCALE FILE FOR THE CASTLE MASONRY MODULE
# Copyright (C) 2017 Philipbenr And DanDuncombe
# This file is distributed under the same license as the CASTLE MASONRY package.
# Hamlet <h4mlet@riseup.net>, 2017.
# Hamlet <54187342+h4ml3t@users.noreply.github.com> 2017, 2019.
#
msgid ""
msgstr ""
"Project-Id-Version: Castle Masonry\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-21 23:41-0700\n"
"PO-Revision-Date: 2017-09-10 22:36+0100\n"
"Last-Translator: H4mlet <h4mlet@riseup.net>\n"
"POT-Creation-Date: 2019-11-12 12:13+0100\n"
"PO-Revision-Date: 2019-11-12 12:24+0100\n"
"Last-Translator: Hamlet <54187342+h4ml3t@users.noreply.github.com>\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"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: it\n"
"X-Generator: Poedit 1.6.10\n"
"X-Generator: Poedit 2.2.1\n"
#: arrow_slits.lua:12
#: arrow_slits.lua
msgid "@1 Arrowslit"
msgstr "Feritoia per frecce di @1"
#: arrow_slits.lua:33
#: arrow_slits.lua
msgid "@1 Arrowslit with Cross"
msgstr "Feritoia a croce per frecce di @1"
#: arrow_slits.lua:58
#: arrow_slits.lua
msgid "@1 Arrowslit with Hole"
msgstr "Feritoia a foro per frecce di @1"
#: arrow_slits.lua:81
#: arrow_slits.lua
msgid "@1 Embrasure"
msgstr "Feritoia di @1"
#: init.lua:29
#: init.lua
msgid "Stonewall"
msgstr "muro di pietra"
#: init.lua:32
#: init.lua
msgid "Cobble"
msgstr "ciottoli"
#: init.lua:35
#: init.lua
msgid "Stonebrick"
msgstr "mattoni di pietra"
msgstr "mattone di pietra"
#: init.lua:38
#: init.lua
msgid "Sandstone Brick"
msgstr "mattoni di arenaria del deserto"
msgstr "mattone d'arenaria del deserto"
#: init.lua:41
#: init.lua
msgid "Desert Stone Brick"
msgstr "mattoni di pietra del deserto"
msgstr "mattone di pietra del deserto"
#: init.lua:44
#: init.lua
msgid "Desert Sandstone Brick"
msgstr "mattone d'arenaria del deserto"
#: init.lua
msgid "Silver Sandstone Brick"
msgstr "mattone d'arenaria argentata"
#: init.lua
msgid "Stone"
msgstr "pietra"
#: init.lua:47
#: init.lua
msgid "Sandstone"
msgstr "arenaria"
#: init.lua:50
#: init.lua
msgid "Desert Stone"
msgstr "pietra del deserto"
#: init.lua:53
#: init.lua
msgid "Desert Sandstone"
msgstr "arenaria del deserto"
#: init.lua
msgid "Silver Sandstone"
msgstr "arenaria argentata"
#: init.lua
msgid "Wood"
msgstr "legno"
#: init.lua:56
#: init.lua
msgid "Ice"
msgstr "ghiaccio"
#: init.lua:59
#: init.lua
msgid "Snow"
msgstr "neve"
#: init.lua:62
#: init.lua
msgid "Obsidian Brick"
msgstr "mattoni di ossidiana"
msgstr "mattone d'ossidiana"
#: murder_holes.lua:14
#: murder_holes.lua
msgid "@1 Murder Hole"
msgstr "Buca assassina di @1"
#: murder_holes.lua:33
#: murder_holes.lua
msgid "@1 Machicolation"
msgstr "Caditoia di @1"
#: paving.lua:11
#: paving.lua
msgid "Paving Stone"
msgstr "Pietra pavimentale"
#: paving.lua:30
#: paving.lua
msgid "Pavement Brick"
msgstr "Mattoni pavimentali"
msgstr "Mattone pavimentale"
#: paving.lua:40
#: paving.lua
msgid "Castle Pavement Stair"
msgstr "Scala pavimentale del castello"
#: paving.lua:41
#: paving.lua
msgid "Castle Pavement Slab"
msgstr "Lastra pavimentale del castello"
#: paving.lua:49
#: paving.lua
msgid "Roof Slates"
msgstr "Tegole di ardesia"
msgstr "Tegole d'ardesia"
#: pillars.lua:18
#: pillars.lua
msgid "@1 Pillar Base"
msgstr "Base della colonna di @1"
#: pillars.lua:36
#: pillars.lua
msgid "@1 Half Pillar Base"
msgstr "Mezza base della colonna di @1"
#: pillars.lua:54
#: pillars.lua
msgid "@1 Pillar Top"
msgstr "Capitello di @1"
#: pillars.lua:72
#: pillars.lua
msgid "@1 Half Pillar Top"
msgstr "Mezzo capitello di @1"
#: pillars.lua:90
#: pillars.lua
msgid "@1 Pillar Middle"
msgstr "Fusto della colonna di @1"
#: pillars.lua:106
#: pillars.lua
msgid "@1 Half Pillar Middle"
msgstr "Mezzo fusto della colonna di @1"
#: pillars.lua:123
#: pillars.lua
msgid "@1 Crossbrace"
msgstr "Costolone di @1"
#: pillars.lua:147
#: pillars.lua
msgid "@1 Extended Crossbrace"
msgstr "Costolone esteso di @1"
#: stone_wall.lua:11
#: stone_wall.lua
msgid "Castle Wall"
msgstr "Muro del castello"
#: stone_wall.lua:22
#: stone_wall.lua
msgid "Castle Rubble"
msgstr "Detriti del castello"
#: stone_wall.lua:57
#: stone_wall.lua
msgid "Castle Corner"
msgstr "Angolo del castello"
#: stone_wall.lua:78
#: stone_wall.lua
msgid "Stone Wall"
msgstr "Muro di pietra"
#: stone_wall.lua:86
#: stone_wall.lua
msgid "Rubble"
msgstr "Detriti"
#: stone_wall.lua:100
#: stone_wall.lua
msgid "Castle Stonewall Stair"
msgstr "Scala del castello in muro di pietra"
#: stone_wall.lua:101
#: stone_wall.lua
msgid "Castle Stonewall Slab"
msgstr "Lastra del castello in muro di pietra"
#: stone_wall.lua:108
#: stone_wall.lua
msgid "Castle Rubble Stair"
msgstr "Scala del castello in detriti"
#: stone_wall.lua:109
#: stone_wall.lua
msgid "Castle Rubble Slab"
msgstr "Lastra del castello in detriti"
#: stone_wall.lua:117 stone_wall.lua:143
#: stone_wall.lua
msgid "Dungeon Stone"
msgstr "Pietra del sotterraneo"
#: stone_wall.lua:156
#: stone_wall.lua
msgid "Dungeon Stone Stair"
msgstr "Scala di pietra del sotterraneo"
#: stone_wall.lua:157
#: stone_wall.lua
msgid "Dungeon Stone Slab"
msgstr "Lastra di pietra del sotterraneo"

View File

@ -8,182 +8,199 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-21 23:41-0700\n"
"POT-Creation-Date: 2019-11-12 13:31+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: arrow_slits.lua:12
#: arrow_slits.lua
msgid "@1 Arrowslit"
msgstr ""
#: arrow_slits.lua:33
#: arrow_slits.lua
msgid "@1 Arrowslit with Cross"
msgstr ""
#: arrow_slits.lua:58
#: arrow_slits.lua
msgid "@1 Arrowslit with Hole"
msgstr ""
#: arrow_slits.lua:81
#: arrow_slits.lua
msgid "@1 Embrasure"
msgstr ""
#: init.lua:29
#: init.lua
msgid "Stonewall"
msgstr ""
#: init.lua:32
#: init.lua
msgid "Cobble"
msgstr ""
#: init.lua:35
#: init.lua
msgid "Stonebrick"
msgstr ""
#: init.lua:38
#: init.lua
msgid "Sandstone Brick"
msgstr ""
#: init.lua:41
#: init.lua
msgid "Desert Stone Brick"
msgstr ""
#: init.lua:44
#: init.lua
msgid "Desert Sandstone Brick"
msgstr ""
#: init.lua
msgid "Silver Sandstone Brick"
msgstr ""
#: init.lua
msgid "Stone"
msgstr ""
#: init.lua:47
#: init.lua
msgid "Sandstone"
msgstr ""
#: init.lua:50
#: init.lua
msgid "Desert Stone"
msgstr ""
#: init.lua:53
#: init.lua
msgid "Desert Sandstone"
msgstr ""
#: init.lua
msgid "Silver Sandstone"
msgstr ""
#: init.lua
msgid "Wood"
msgstr ""
#: init.lua:56
#: init.lua
msgid "Ice"
msgstr ""
#: init.lua:59
#: init.lua
msgid "Snow"
msgstr ""
#: init.lua:62
#: init.lua
msgid "Obsidian Brick"
msgstr ""
#: murder_holes.lua:14
#: murder_holes.lua
msgid "@1 Murder Hole"
msgstr ""
#: murder_holes.lua:33
#: murder_holes.lua
msgid "@1 Machicolation"
msgstr ""
#: paving.lua:11
#: paving.lua
msgid "Paving Stone"
msgstr ""
#: paving.lua:30
#: paving.lua
msgid "Pavement Brick"
msgstr ""
#: paving.lua:40
#: paving.lua
msgid "Castle Pavement Stair"
msgstr ""
#: paving.lua:41
#: paving.lua
msgid "Castle Pavement Slab"
msgstr ""
#: paving.lua:49
#: paving.lua
msgid "Roof Slates"
msgstr ""
#: pillars.lua:18
#: pillars.lua
msgid "@1 Pillar Base"
msgstr ""
#: pillars.lua:36
#: pillars.lua
msgid "@1 Half Pillar Base"
msgstr ""
#: pillars.lua:54
#: pillars.lua
msgid "@1 Pillar Top"
msgstr ""
#: pillars.lua:72
#: pillars.lua
msgid "@1 Half Pillar Top"
msgstr ""
#: pillars.lua:90
#: pillars.lua
msgid "@1 Pillar Middle"
msgstr ""
#: pillars.lua:106
#: pillars.lua
msgid "@1 Half Pillar Middle"
msgstr ""
#: pillars.lua:123
#: pillars.lua
msgid "@1 Crossbrace"
msgstr ""
#: pillars.lua:147
#: pillars.lua
msgid "@1 Extended Crossbrace"
msgstr ""
#: stone_wall.lua:11
#: stone_wall.lua
msgid "Castle Wall"
msgstr ""
#: stone_wall.lua:22
#: stone_wall.lua
msgid "Castle Rubble"
msgstr ""
#: stone_wall.lua:57
#: stone_wall.lua
msgid "Castle Corner"
msgstr ""
#: stone_wall.lua:78
#: stone_wall.lua
msgid "Stone Wall"
msgstr ""
#: stone_wall.lua:86
#: stone_wall.lua
msgid "Rubble"
msgstr ""
#: stone_wall.lua:100
#: stone_wall.lua
msgid "Castle Stonewall Stair"
msgstr ""
#: stone_wall.lua:101
#: stone_wall.lua
msgid "Castle Stonewall Slab"
msgstr ""
#: stone_wall.lua:108
#: stone_wall.lua
msgid "Castle Rubble Stair"
msgstr ""
#: stone_wall.lua:109
#: stone_wall.lua
msgid "Castle Rubble Slab"
msgstr ""
#: stone_wall.lua:117 stone_wall.lua:143
#: stone_wall.lua
msgid "Dungeon Stone"
msgstr ""
#: stone_wall.lua:156
#: stone_wall.lua
msgid "Dungeon Stone Stair"
msgstr ""
#: stone_wall.lua:157
#: stone_wall.lua
msgid "Dungeon Stone Slab"
msgstr ""

View File

@ -0,0 +1,49 @@
# textdomain:castle_masonry
@1 Arrowslit=
@1 Arrowslit with Cross=
@1 Arrowslit with Hole=
@1 Embrasure=
Stonewall=
Cobble=
Stonebrick=
Sandstone Brick=
Desert Stone Brick=
Desert Sandstone Brick=
Silver Sandstone Brick=
Stone=
Sandstone=
Desert Stone=
Desert Sandstone=
Silver Sandstone=
Wood=
Ice=
Snow=
Obsidian Brick=
@1 Murder Hole=
@1 Machicolation=
Paving Stone=
Pavement Brick=
Castle Pavement Stair=
Castle Pavement Slab=
Roof Slates=
@1 Pillar Base=
@1 Half Pillar Base=
@1 Pillar Top=
@1 Half Pillar Top=
@1 Pillar Middle=
@1 Half Pillar Middle=
@1 Crossbrace=
@1 Extended Crossbrace=
Castle Wall=
Castle Rubble=
Castle Corner=
Stone Wall=
Rubble=
Castle Stonewall Stair=
Castle Stonewall Slab=
Castle Rubble Stair=
Castle Rubble Slab=
Dungeon Stone=
Dungeon Stone Stair=
Dungeon Stone Slab=

View File

@ -1 +1,7 @@
name = castle_masonry
depends = default
optional_depends = moreblocks, stairs, building_blocks, asphalt, streets, intllib
description = """
This is a mod all about creating castles and castle dungeons.
Many of the nodes are used for the outer-walls or dungeons.
"""

View File

@ -1,6 +1,17 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
-------------------------------------------------------------------------------------

View File

@ -3,9 +3,20 @@ minetest.register_alias("castle:pavement_brick", "castle_masonry:pavement_brick"
minetest.register_alias("castle:roofslate", "castle_masonry:roofslate")
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
minetest.register_node("castle_masonry:pavement_brick", {
description = S("Paving Stone"),

View File

@ -1,6 +1,18 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
castle_masonry.register_pillar = function(material)
local composition_def, burn_time, tile, desc = castle_masonry.get_material_properties(material)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 KiB

After

Width:  |  Height:  |  Size: 281 KiB

View File

@ -1,6 +1,18 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_masonry")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
minetest.register_alias("castle:stonewall", "castle_masonry:stonewall")
minetest.register_alias("castle:dungeon_stone", "castle_masonry:dungeon_stone")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 659 B

View File

@ -2,9 +2,21 @@ minetest.register_alias("castle:shield", "castle_shields:shield_1")
minetest.register_alias("castle:shield_2", "castle_shields:shield_2")
minetest.register_alias("castle:shield_3", "castle_shields:shield_3")
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_shields")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
--The following colors are permitted:
-- "black", "blue", "brown", "cyan", "dark_green", "dark_grey", "green", "grey", "magenta", "orange", "pink", "red", "violet", "white", "yellow"
@ -15,4 +27,4 @@ local S, NS = dofile(MP.."/intllib.lua")
castle_shields.register_shield("shield_1", S("Mounted Shield"), "red", "blue", "slash")
castle_shields.register_shield("shield_2", S("Mounted Shield"), "cyan", "yellow", "chevron")
castle_shields.register_shield("shield_3", S("Mounted Shield"), "grey", "green", "cross")
castle_shields.register_shield("shield_3", S("Mounted Shield"), "grey", "green", "cross")

View File

@ -0,0 +1,3 @@
# textdomain:castle_shields
Mounted Shield=Scudo appeso

View File

@ -0,0 +1,3 @@
# textdomain:castle_shields
Mounted Shield=

View File

@ -1 +1,4 @@
name = castle_shields
description = Adds decorative wall shields
depends = default, dye
optional_depends = intllib

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,4 +1,4 @@
castle_shields.register_shield = function(name, desc, background_color, foreground_color, mask)
castle_shields.register_shield = function(name, desc, background_color, foreground_color, mask, disable_recipe)
local tile_side = "castle_shield_"..background_color..".png"
local tile_front = "castle_shield_"..background_color..".png^(castle_shield_"..foreground_color..".png^[mask:castle_shield_mask_"..mask..".png)"
@ -28,6 +28,11 @@ castle_shields.register_shield = function(name, desc, background_color, foregrou
},
})
if disable_recipe then
-- recipe disabled by caller
return
end
minetest.register_craft({
output = minetest.get_current_modname()..":"..name,
recipe = {
@ -36,4 +41,4 @@ castle_shields.register_shield = function(name, desc, background_color, foregrou
{"dye:"..background_color, "default:steel_ingot", "dye:"..foreground_color},
}
})
end
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 B

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 B

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

After

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 312 B

View File

@ -1,3 +0,0 @@
default
unifieddyes
intllib?

View File

@ -1 +0,0 @@
This is a mod for creating medieval tapestries, as found in castles

View File

@ -1,6 +1,18 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
-- Used for localization, choose either built-in or intllib.
local MP, S, NS = nil
if (minetest.get_modpath("intllib") == nil) then
S = minetest.get_translator("castle_tapestries")
else
-- internationalization boilerplate
MP = minetest.get_modpath(minetest.get_current_modname())
S, NS = dofile(MP.."/intllib.lua")
end
local tapestry = {}

View File

@ -0,0 +1,6 @@
# textdomain:castle_tapestries
Tapestry Top=Cima dell'arazzo
Tapestry=Arazzo
Tapestry (Long)=Arazzo (lungo)
Tapestry (Very Long)=Arazzo (molto lungo)

View File

@ -0,0 +1,6 @@
# textdomain:castle_tapestries
Tapestry Top=
Tapestry=
Tapestry (Long)=
Tapestry (Very Long)=

View File

@ -1 +1,4 @@
name = castle_tapestries
depends = default, unifieddyes
optional_depends = intllib
description = This is a mod for creating medieval tapestries, as found in castles.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -1,2 +0,0 @@
default
plantlife_i18n

Some files were not shown because too many files have changed in this diff Show More