Merge commit '053c30b'
26
armor_crystal/LICENSE.txt
Normal 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
|
170
armor_crystal/init.lua
Normal file
@ -0,0 +1,170 @@
|
||||
|
||||
--- Registered armors.
|
||||
--
|
||||
-- @topic armor
|
||||
|
||||
|
||||
-- support for i18n
|
||||
local S = armor.get_translator
|
||||
|
||||
|
||||
--- Crystal
|
||||
--
|
||||
-- Requires `armor_material_crystal`.
|
||||
--
|
||||
-- @section crystal
|
||||
|
||||
if armor.materials.crystal then
|
||||
--- Crystal Helmet
|
||||
--
|
||||
-- @helmet 3d_armor:helmet_crystal
|
||||
-- @img 3d_armor_inv_helmet_crystal.png
|
||||
-- @grp armor_head 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 100
|
||||
-- @grp armor_fire 1
|
||||
-- @armorgrp fleshy 15
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:helmet_crystal", {
|
||||
description = S("Crystal Helmet"),
|
||||
inventory_image = "3d_armor_inv_helmet_crystal.png",
|
||||
groups = {armor_head=1, armor_heal=12, armor_use=100, armor_fire=1},
|
||||
armor_groups = {fleshy=15},
|
||||
damage_groups = {cracky=2, snappy=1, level=3},
|
||||
})
|
||||
--- Crystal Chestplate
|
||||
--
|
||||
-- @chestplate 3d_armor:chestplate_crystal
|
||||
-- @img 3d_armor_inv_chestplate_crystal.png
|
||||
-- @grp armor_torso 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 100
|
||||
-- @grp armor_fire 1
|
||||
-- @armorgrp fleshy 20
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:chestplate_crystal", {
|
||||
description = S("Crystal Chestplate"),
|
||||
inventory_image = "3d_armor_inv_chestplate_crystal.png",
|
||||
groups = {armor_torso=1, armor_heal=12, armor_use=100, armor_fire=1},
|
||||
armor_groups = {fleshy=20},
|
||||
damage_groups = {cracky=2, snappy=1, level=3},
|
||||
})
|
||||
--- Crystal Leggings
|
||||
--
|
||||
-- @leggings 3d_armor:leggings_crystal
|
||||
-- @img 3d_armor_inv_leggings_crystal.png
|
||||
-- @grp armor_legs 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 100
|
||||
-- @grp armor_fire 1
|
||||
-- @armorgrp fleshy 20
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:leggings_crystal", {
|
||||
description = S("Crystal Leggings"),
|
||||
inventory_image = "3d_armor_inv_leggings_crystal.png",
|
||||
groups = {armor_legs=1, armor_heal=12, armor_use=100, armor_fire=1},
|
||||
armor_groups = {fleshy=20},
|
||||
damage_groups = {cracky=2, snappy=1, level=3},
|
||||
})
|
||||
--- Crystal Boots
|
||||
--
|
||||
-- @boots 3d_armor:boots_crystal
|
||||
-- @img 3d_armor_inv_boots_crystal.png
|
||||
-- @grp armor_feet 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 100
|
||||
-- @grp physics_speed 1
|
||||
-- @grp physics_jump 0.5
|
||||
-- @grp armor_fire 1
|
||||
-- @armorgrp fleshy 15
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:boots_crystal", {
|
||||
description = S("Crystal Boots"),
|
||||
inventory_image = "3d_armor_inv_boots_crystal.png",
|
||||
groups = {armor_feet=1, armor_heal=12, armor_use=100, physics_speed=1,
|
||||
physics_jump=0.5, armor_fire=1},
|
||||
armor_groups = {fleshy=15},
|
||||
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 = "crystal"
|
||||
local m = armor.materials.crystal
|
||||
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
|
5
armor_crystal/locale/armor_crystal.de.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Kristallhelm
|
||||
Crystal Chestplate=Kristallbrustplatte
|
||||
Crystal Leggings=Kristallhose
|
||||
Crystal Boots=Kristallstiefel
|
5
armor_crystal/locale/armor_crystal.eo.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Kristala Kasko
|
||||
Crystal Chestplate=Kristala Brustkiraso
|
||||
Crystal Leggings=Kristala Pantalono
|
||||
Crystal Boots=Kristala Botoj
|
5
armor_crystal/locale/armor_crystal.es.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Casco de cristal
|
||||
Crystal Chestplate=Peto de cristal
|
||||
Crystal Leggings=Grebas de cristal
|
||||
Crystal Boots=Botas de cristal
|
5
armor_crystal/locale/armor_crystal.fr.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Casque en cristal
|
||||
Crystal Chestplate=Cuirasse en cristal
|
||||
Crystal Leggings=Jambières en cristal
|
||||
Crystal Boots=Bottes en cristal
|
5
armor_crystal/locale/armor_crystal.it.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Elmo di cristallo
|
||||
Crystal Chestplate=Corazza di cristallo
|
||||
Crystal Leggings=Gambali di cristallo
|
||||
Crystal Boots=Stivali di cristallo
|
5
armor_crystal/locale/armor_crystal.ms.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Helmet Kristal
|
||||
Crystal Chestplate=Perisai Dada Kristal
|
||||
Crystal Leggings=Perisai Kaki Kristal
|
||||
Crystal Boots=But Kristal
|
5
armor_crystal/locale/armor_crystal.pt.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Capacete de Cristal
|
||||
Crystal Chestplate=Peitoral de Cristal
|
||||
Crystal Leggings=Calças de Cristal
|
||||
Crystal Boots=Botas de Cristal
|
5
armor_crystal/locale/armor_crystal.pt_BR.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Capacete de Cristal
|
||||
Crystal Chestplate=Peitoral de Cristal
|
||||
Crystal Leggings=Calças de Cristal
|
||||
Crystal Boots=Botas de Cristal
|
5
armor_crystal/locale/armor_crystal.ru.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=кристалловый шлем
|
||||
Crystal Chestplate=кристалловый бронежилет
|
||||
Crystal Leggings=кристалловые гамаши
|
||||
Crystal Boots=кристалловые ботинки
|
5
armor_crystal/locale/armor_crystal.sv.tr
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=Kristallhjälm
|
||||
Crystal Chestplate=Kristallbröstplatta
|
||||
Crystal Leggings=Kristallbyxor
|
||||
Crystal Boots=Kristallstövlar
|
5
armor_crystal/locale/template.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# textdomain: armor_crystal
|
||||
Crystal Helmet=
|
||||
Crystal Chestplate=
|
||||
Crystal Leggings=
|
||||
Crystal Boots=
|
4
armor_crystal/mod.conf
Normal file
@ -0,0 +1,4 @@
|
||||
name = armor_crystal
|
||||
depends = 3d_armor
|
||||
optional_depends = ethereal
|
||||
description = Adds craftable crystal armor.
|
BIN
armor_crystal/textures/3d_armor_boots_crystal.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
armor_crystal/textures/3d_armor_boots_crystal_preview.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
armor_crystal/textures/3d_armor_chestplate_crystal.png
Normal file
After Width: | Height: | Size: 613 B |
BIN
armor_crystal/textures/3d_armor_chestplate_crystal_preview.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
armor_crystal/textures/3d_armor_helmet_crystal.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
armor_crystal/textures/3d_armor_helmet_crystal_preview.png
Normal file
After Width: | Height: | Size: 834 B |
BIN
armor_crystal/textures/3d_armor_inv_boots_crystal.png
Normal file
After Width: | Height: | Size: 129 B |
BIN
armor_crystal/textures/3d_armor_inv_chestplate_crystal.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
armor_crystal/textures/3d_armor_inv_helmet_crystal.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
armor_crystal/textures/3d_armor_inv_leggings_crystal.png
Normal file
After Width: | Height: | Size: 154 B |
BIN
armor_crystal/textures/3d_armor_leggings_crystal.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
armor_crystal/textures/3d_armor_leggings_crystal_preview.png
Normal file
After Width: | Height: | Size: 1.2 KiB |