mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
[3d_armor] Reactivate mithril armors
This commit is contained in:
parent
790118cf67
commit
211b127223
@ -9,7 +9,7 @@ ARMOR_MATERIALS = {
|
||||
bronze = "default:bronze_ingot",
|
||||
diamond = "default:diamond",
|
||||
gold = "default:gold_ingot",
|
||||
mithril = "moreores:mithril_ingot",
|
||||
mithril = "default:mithril_ingot",
|
||||
crystal = "ethereal:crystal_ingot",
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ ARMOR_MATERIALS = {
|
||||
bronze = "default:bronze_ingot",
|
||||
diamond = "default:diamond",
|
||||
gold = "default:gold_ingot",
|
||||
mithril = "moreores:mithril_ingot",
|
||||
mithril = "default:mithril_ingot",
|
||||
crystal = "ethereal:crystal_ingot",
|
||||
-- Hunter armors (A déc-ommenter quand activation de l'armure au total)
|
||||
hardenedleather = "3d_armor:hardenedleather",
|
||||
@ -59,9 +59,6 @@ if input then
|
||||
input:close()
|
||||
input = nil
|
||||
end
|
||||
if not minetest.get_modpath("moreores") then
|
||||
ARMOR_MATERIALS.mithril = nil
|
||||
end
|
||||
if not minetest.get_modpath("ethereal") then
|
||||
ARMOR_MATERIALS.crystal = nil
|
||||
end
|
||||
|
@ -17,8 +17,8 @@ Helmets:
|
||||
[3d_armor:helmet_bronze] X = [default:bronze_ingot]
|
||||
[3d_armor:helmet_diamond] X = [default:diamond]
|
||||
[3d_armor:helmet_gold] X = [default:gold_ingot]
|
||||
[3d_armor:helmet_mithril] X = [moreores:mithril_ingot] *
|
||||
[3d_armor:helmet_crystal] X = [ethereal:crystal_ingot] **
|
||||
[3d_armor:helmet_mithril] X = [default:mithril_ingot]
|
||||
[3d_armor:helmet_crystal] X = [ethereal:crystal_ingot] *
|
||||
|
||||
Chestplates:
|
||||
|
||||
@ -36,8 +36,8 @@ Chestplates:
|
||||
[3d_armor:chestplate_bronze] X = [default:bronze_ingot]
|
||||
[3d_armor:chestplate_diamond] X = [default:diamond]
|
||||
[3d_armor:chestplate_gold] X = [default:gold_ingot]
|
||||
[3d_armor:chestplate_mithril] X = [moreores:mithril_ingot] *
|
||||
[3d_armor:chestplate_crystal] X = [ethereal:crystal_ingot] **
|
||||
[3d_armor:chestplate_mithril] X = [default:mithril_ingot]
|
||||
[3d_armor:chestplate_crystal] X = [ethereal:crystal_ingot] *
|
||||
|
||||
Leggings:
|
||||
|
||||
@ -55,8 +55,8 @@ Leggings:
|
||||
[3d_armor:leggings_bronze] X = [default:bronze_ingot]
|
||||
[3d_armor:leggings_diamond] X = [default:diamond]
|
||||
[3d_armor:leggings_gold] X = [default:gold_ingot]
|
||||
[3d_armor:leggings_mithril] X = [moreores:mithril_ingot] *
|
||||
[3d_armor:leggings_crystal] X = [ethereal:crystal_ingot] **
|
||||
[3d_armor:leggings_mithril] X = [default:mithril_ingot]
|
||||
[3d_armor:leggings_crystal] X = [ethereal:crystal_ingot] *
|
||||
|
||||
Boots:
|
||||
|
||||
@ -72,8 +72,7 @@ Boots:
|
||||
[3d_armor:boots_bronze] X = [default:bronze_ingot
|
||||
[3d_armor:boots_diamond] X = [default:diamond]
|
||||
[3d_armor:boots_gold] X = [default:gold_ingot]
|
||||
[3d_armor:boots_mithril] X = [moreores:mithril_ingot] *
|
||||
[3d_armor:boots_crystal] X = [ethereal:crystal_ingot] **
|
||||
[3d_armor:boots_mithril] X = [default:mithril_ingot]
|
||||
[3d_armor:boots_crystal] X = [ethereal:crystal_ingot] *
|
||||
|
||||
* Requires moreores mod by Calinou - https://forum.minetest.net/viewtopic.php?id=549
|
||||
** Requires ethereal mod by Chinchow & TenPlus1 - https://github.com/tenplus1/ethereal
|
||||
* Requires ethereal mod by Chinchow & TenPlus1 - https://github.com/tenplus1/ethereal
|
||||
|
@ -15,7 +15,7 @@ Shields -- Crafting Guide
|
||||
[shields:shield_bronze] X = [default:bronze_ingot]
|
||||
[shields:shield_diamond] X = [default:diamond]
|
||||
[shields:shield_gold] X = [default:gold_ingot]
|
||||
[shields:shield_mithril] X = [moreores:mithril_ingot]
|
||||
[shields:shield_mithril] X = [default:mithril_ingot]
|
||||
[shields:shield_crystal] X = [ethereal:crystal_ingot]
|
||||
|
||||
Enhanced Shields
|
||||
|
@ -1,5 +1,3 @@
|
||||
local use_moreores = minetest.get_modpath("moreores")
|
||||
|
||||
-- Regisiter Shields
|
||||
|
||||
minetest.register_tool("shields:shield_admin", {
|
||||
|
@ -11,12 +11,10 @@ if minetest.get_modpath("technic") then
|
||||
carbon="technic:carbon_steel_ingot",
|
||||
stainless="technic:stainless_steel_ingot",
|
||||
}
|
||||
if minetest.get_modpath("moreores") then
|
||||
stats.tin = { name="Tin", armor=1.6, heal=0, use=750 }
|
||||
stats.silver = { name="Silver", armor=1.8, heal=0, use=650 }
|
||||
mats.tin = "moreores:tin_ingot"
|
||||
mats.silver = "moreores:silver_ingot"
|
||||
end
|
||||
stats.tin = { name="Tin", armor=1.6, heal=0, use=750 }
|
||||
stats.silver = { name="Silver", armor=1.8, heal=0, use=650 }
|
||||
mats.tin = "default:tin_ingot"
|
||||
mats.silver = "default:silver_ingot"
|
||||
|
||||
for k, v in pairs(stats) do
|
||||
minetest.register_tool("technic_armor:helmet_"..k, {
|
||||
|
Loading…
Reference in New Issue
Block a user