1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2025-07-15 06:30:25 +02:00

Merge commit '053c30b'

This commit is contained in:
2023-06-04 23:00:43 +02:00
329 changed files with 3031 additions and 1980 deletions

26
armor_mithril/LICENSE.txt Normal file
View File

@ -0,0 +1,26 @@
[mod] 3d Armor [3d_armor]
=========================
License Source Code
-------------------
Copyright (C) 2012-2019 stujones11, Stuart Jones <stujones111@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
License Textures
----------------
Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0

162
armor_mithril/init.lua Normal file
View File

@ -0,0 +1,162 @@
--- Registered armors.
--
-- @topic armor
-- support for i18n
local S = armor.get_translator
--- Mithril
--
-- Requires `armor_material_mithril`.
--
-- @section mithril
if armor.materials.mithril then
--- Mithril Helmet
--
-- @helmet 3d_armor:helmet_mithril
-- @img 3d_armor_inv_helmet_mithril.png
-- @grp armor_head 1
-- @grp armor_heal 12
-- @grp armor_use 100
-- @armorgrp fleshy 15
-- @damagegrp cracky 2
-- @damagegrp snappy 1
-- @damagegrp level 3
armor:register_armor(":3d_armor:helmet_mithril", {
description = S("Mithril Helmet"),
inventory_image = "3d_armor_inv_helmet_mithril.png",
groups = {armor_head=1, armor_heal=13, armor_use=66},
armor_groups = {fleshy=16},
damage_groups = {cracky=2, snappy=1, level=3},
})
--- Mithril Chestplate
--
-- @chestplate 3d_armor:chestplate_mithril
-- @img 3d_armor_inv_chestplate_mithril.png
-- @grp armor_torso 1
-- @grp armor_heal 12
-- @grp armor_use 100
-- @armorgrp fleshy 20
-- @damagegrp cracky 2
-- @damagegrp snappy 1
-- @damagegrp level 3
armor:register_armor(":3d_armor:chestplate_mithril", {
description = S("Mithril Chestplate"),
inventory_image = "3d_armor_inv_chestplate_mithril.png",
groups = {armor_torso=1, armor_heal=13, armor_use=66},
armor_groups = {fleshy=21},
damage_groups = {cracky=2, snappy=1, level=3},
})
--- Mithril Leggings
--
-- @leggings 3d_armor:leggings_mithril
-- @img 3d_armor_inv_leggings_mithril.png
-- @grp armor_legs 1
-- @grp armor_heal 12
-- @grp armor_use 100
-- @armorgrp fleshy 20
-- @damagegrp cracky 2
-- @damagegrp snappy 1
-- @damagegrp level 3
armor:register_armor(":3d_armor:leggings_mithril", {
description = S("Mithril Leggings"),
inventory_image = "3d_armor_inv_leggings_mithril.png",
groups = {armor_legs=1, armor_heal=13, armor_use=66},
armor_groups = {fleshy=21},
damage_groups = {cracky=2, snappy=1, level=3},
})
--- Mithril Boots
--
-- @boots 3d_armor:boots_mithril
-- @img 3d_armor_inv_boots_mithril.png
-- @grp armor_feet 1
-- @grp armor_heal 12
-- @grp armor_use 100
-- @armorgrp fleshy 15
-- @damagegrp cracky 2
-- @damagegrp snappy 1
-- @damagegrp level 3
armor:register_armor(":3d_armor:boots_mithril", {
description = S("Mithril Boots"),
inventory_image = "3d_armor_inv_boots_mithril.png",
groups = {armor_feet=1, armor_heal=13, armor_use=66},
armor_groups = {fleshy=16},
damage_groups = {cracky=2, snappy=1, level=3},
})
--- Crafting
--
-- @section craft
--- Craft recipes for helmets, chestplates, leggings, boots, & shields.
--
-- @craft armor
-- @usage
-- Key:
-- - m: material
-- - wood: group:wood
-- - cactus: default:cactus
-- - steel: default:steel_ingot
-- - bronze: default:bronze_ingot
-- - diamond: default:diamond
-- - gold: default:gold_ingot
-- - mithril: moreores:mithril_ingot
-- - crystal: ethereal:crystal_ingot
-- - nether: nether:nether_ingot
--
-- helmet: chestplate: leggings:
-- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐
-- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │
-- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤
-- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │
-- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤
-- │ │ │ │ │ m │ m │ m │ │ m │ │ m │
-- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘
--
-- boots: shield:
-- ┌───┬───┬───┐ ┌───┬───┬───┐
-- │ │ │ │ │ m │ m │ m │
-- ├───┼───┼───┤ ├───┼───┼───┤
-- │ m │ │ m │ │ m │ m │ m │
-- ├───┼───┼───┤ ├───┼───┼───┤
-- │ m │ │ m │ │ │ m │ │
-- └───┴───┴───┘ └───┴───┴───┘
local s = "mithril"
local m = armor.materials.mithril
minetest.register_craft({
output = "3d_armor:helmet_"..s,
recipe = {
{m, m, m},
{m, "", m},
{"", "", ""},
},
})
minetest.register_craft({
output = "3d_armor:chestplate_"..s,
recipe = {
{m, "", m},
{m, m, m},
{m, m, m},
},
})
minetest.register_craft({
output = "3d_armor:leggings_"..s,
recipe = {
{m, m, m},
{m, "", m},
{m, "", m},
},
})
minetest.register_craft({
output = "3d_armor:boots_"..s,
recipe = {
{m, "", m},
{m, "", m},
},
})
end

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Mithrilhelm
Mithril Chestplate=Mithrilbrustplatte
Mithril Leggings=Mithrilhose
Mithril Boots=Mithrilstiefel

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Mitrila Kasko
Mithril Chestplate=Mitrila Brustkiraso
Mithril Leggings=Mitrila Pantalono
Mithril Boots=Mitrila Botoj

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Casco de mitrilo
Mithril Chestplate=Peto de mitrilo
Mithril Leggings=Grebas de mitrilo
Mithril Boots=Botas de mitrilo

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Casque en mithril
Mithril Chestplate=Cuirasse en mithril
Mithril Leggings=Jambières en mithril
Mithril Boots=Bottes en mithril

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Elmo di mithril
Mithril Chestplate=Corazza di mithril
Mithril Leggings=Gambali di mithril
Mithril Boots=Stivali di mithril

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Helmet Mithril
Mithril Chestplate=Perisai Dada Mithril
Mithril Leggings=Perisai Kaki Mithril
Mithril Boots=But Mithril

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Capacete de Mithril
Mithril Chestplate=Peitoral de Mithril
Mithril Leggings=Calças de Mithril
Mithril Boots=Botas de Mithril

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Capacete de Mithril
Mithril Chestplate=Peitoral de Mithril
Mithril Leggings=Calças de Mithril
Mithril Boots=Botas de Mithril

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=мифриловый шлем
Mithril Chestplate=мифриловый бронежилет
Mithril Leggings=мифриловые гамаши
Mithril Boots=мифриловые ботинки

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=Mithrilhjälm
Mithril Chestplate=Mithrilbröstplatta
Mithril Leggings=Mithrilbyxor
Mithril Boots=Mithrilstövlar

View File

@ -0,0 +1,5 @@
# textdomain: armor_mithril
Mithril Helmet=
Mithril Chestplate=
Mithril Leggings=
Mithril Boots=

4
armor_mithril/mod.conf Normal file
View File

@ -0,0 +1,4 @@
name = armor_mithril
depends = 3d_armor
optional_depends = moreores
description = Adds craftable mithril armor.

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B