write something there
166
mods/3d_armor/armor_diamond/init.lua
Normal file
|
@ -0,0 +1,166 @@
|
|||
|
||||
--- Registered armors.
|
||||
--
|
||||
-- @topic armor
|
||||
|
||||
|
||||
-- support for i18n
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
--- Diamond
|
||||
--
|
||||
-- Requires setting `armor_material_diamond`.
|
||||
--
|
||||
-- @section diamond
|
||||
|
||||
if armor.materials.diamond then
|
||||
--- Diamond Helmet
|
||||
--
|
||||
-- @helmet 3d_armor:helmet_diamond
|
||||
-- @img 3d_armor_inv_helmet_diamond.png
|
||||
-- @grp armor_head 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 200
|
||||
-- @armorgrp fleshy 15
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp choppy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:helmet_diamond", {
|
||||
description = S("Diamond Helmet"),
|
||||
inventory_image = "3d_armor_inv_helmet_diamond.png",
|
||||
groups = {armor_head=1, armor_heal=12, armor_use=200},
|
||||
armor_groups = {fleshy=15},
|
||||
damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
|
||||
})
|
||||
--- Diamond Chestplate
|
||||
--
|
||||
-- @chestplate 3d_armor:chestplate_diamond
|
||||
-- @img 3d_armor_inv_chestplate_diamond.png
|
||||
-- @grp armor_torso 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 200
|
||||
-- @armorgrp fleshy 20
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp choppy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:chestplate_diamond", {
|
||||
description = S("Diamond Chestplate"),
|
||||
inventory_image = "3d_armor_inv_chestplate_diamond.png",
|
||||
groups = {armor_torso=1, armor_heal=12, armor_use=200},
|
||||
armor_groups = {fleshy=20},
|
||||
damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
|
||||
})
|
||||
--- Diamond Leggings
|
||||
--
|
||||
-- @leggings 3d_armor:leggings_diamond
|
||||
-- @img 3d_armor_inv_leggings_diamond.png
|
||||
-- @grp armor_legs 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 200
|
||||
-- @armorgrp fleshy 20
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp choppy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:leggings_diamond", {
|
||||
description = S("Diamond Leggings"),
|
||||
inventory_image = "3d_armor_inv_leggings_diamond.png",
|
||||
groups = {armor_legs=1, armor_heal=12, armor_use=200},
|
||||
armor_groups = {fleshy=20},
|
||||
damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
|
||||
})
|
||||
--- Diamond Boots
|
||||
--
|
||||
-- @boots 3d_armor:boots_diamond
|
||||
-- @img 3d_armor_inv_boots_diamond.png
|
||||
-- @grp armor_feet 1
|
||||
-- @grp armor_heal 12
|
||||
-- @grp armor_use 200
|
||||
-- @armorgrp fleshy 15
|
||||
-- @damagegrp cracky 2
|
||||
-- @damagegrp snappy 1
|
||||
-- @damagegrp choppy 1
|
||||
-- @damagegrp level 3
|
||||
armor:register_armor(":3d_armor:boots_diamond", {
|
||||
description = S("Diamond Boots"),
|
||||
inventory_image = "3d_armor_inv_boots_diamond.png",
|
||||
groups = {armor_feet=1, armor_heal=12, armor_use=200},
|
||||
armor_groups = {fleshy=15},
|
||||
damage_groups = {cracky=2, snappy=1, choppy=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 = "diamond"
|
||||
local m = armor.materials.diamond
|
||||
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
mods/3d_armor/armor_diamond/locale/armor_diamond.de.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Diamanthelm
|
||||
Diamond Chestplate=Diamantbrustplatte
|
||||
Diamond Leggings=Diamanthose
|
||||
Diamond Boots=Diamantstiefel
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.eo.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Diamanta Kasko
|
||||
Diamond Chestplate=Diamanta Kiraso
|
||||
Diamond Leggings=Diamanta Pantalono
|
||||
Diamond Boots=Diamantaj Botoj
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.es.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Casco de diamante
|
||||
Diamond Chestplate=Peto de diamante
|
||||
Diamond Leggings=Grebas de diamante
|
||||
Diamond Boots=Botas de diamante
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.fr.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Casque en diamant
|
||||
Diamond Chestplate=Cuirasse en diamant
|
||||
Diamond Leggings=Jambières en diamant
|
||||
Diamond Boots=Bottes en diamant
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.it.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Elmo di diamante
|
||||
Diamond Chestplate=Corazza di diamante
|
||||
Diamond Leggings=Gambali di diamante
|
||||
Diamond Boots=Stivali di diamante
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.ms.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Helmet Intan
|
||||
Diamond Chestplate=Perisai Dada Intan
|
||||
Diamond Leggings=Perisai Kaki Intan
|
||||
Diamond Boots=But Intan
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.pt.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Capacete de Diamante
|
||||
Diamond Chestplate=Peitoral de Diamante
|
||||
Diamond Leggings=Calças de Diamante
|
||||
Diamond Boots=Botas de Diamante
|
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Capacete de Diamante
|
||||
Diamond Chestplate=Peitoral de Diamante
|
||||
Diamond Leggings=Calças de Diamante
|
||||
Diamond Boots=Botas de Diamante
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.ru.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=алмазный шлем
|
||||
Diamond Chestplate=алмазный нагрудник
|
||||
Diamond Leggings=алмазные штаны
|
||||
Diamond Boots=алмазные ботинки
|
5
mods/3d_armor/armor_diamond/locale/armor_diamond.sv.tr
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=Diamanthjälm
|
||||
Diamond Chestplate=Diamantbröstplatta
|
||||
Diamond Leggings=Diamantbyxor
|
||||
Diamond Boots=Diamantstövlar
|
5
mods/3d_armor/armor_diamond/locale/template.txt
Normal file
|
@ -0,0 +1,5 @@
|
|||
# textdomain: armor_diamond
|
||||
Diamond Helmet=
|
||||
Diamond Chestplate=
|
||||
Diamond Leggings=
|
||||
Diamond Boots=
|
3
mods/3d_armor/armor_diamond/mod.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = armor_diamond
|
||||
depends = 3d_armor
|
||||
description = Adds craftable diamond armor.
|
BIN
mods/3d_armor/armor_diamond/textures/3d_armor_boots_diamond.png
Normal file
After Width: | Height: | Size: 265 B |
After Width: | Height: | Size: 270 B |
After Width: | Height: | Size: 429 B |
After Width: | Height: | Size: 290 B |
BIN
mods/3d_armor/armor_diamond/textures/3d_armor_helmet_diamond.png
Normal file
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 269 B |
After Width: | Height: | Size: 220 B |
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 294 B |
After Width: | Height: | Size: 308 B |