mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-26 01:30:29 +01:00
Various fixes about shields and moreores
- Fixed crash with moreore - Fixed textures' name for blackmithril shield
This commit is contained in:
parent
5ef58d517c
commit
17f4daba5d
@ -101,7 +101,7 @@ if ARMOR_MATERIALS.mithril then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ARMOR_MATERIALS.blackmithril then
|
if ARMOR_MATERIALS.blackmithril then
|
||||||
minetest.register_tool("shields:shield_black_mithril_warrior", {
|
minetest.register_tool("shields:shield_blackmithril", {
|
||||||
description = "Black Mithril Shield (Warrior)",
|
description = "Black Mithril Shield (Warrior)",
|
||||||
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
||||||
groups = {armor_shield=15, armor_heal=0, armor_use=50},
|
groups = {armor_shield=15, armor_heal=0, armor_use=50},
|
||||||
|
Before Width: | Height: | Size: 657 B After Width: | Height: | Size: 657 B |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
@ -1,7 +1,7 @@
|
|||||||
if ARMOR_MATERIALS.reinforcedleather then
|
if ARMOR_MATERIALS.reinforcedleather then
|
||||||
-- Register helmets :
|
-- Register helmets :
|
||||||
minetest.register_tool(":3d_armor:helmet_reinforcedleather", {
|
minetest.register_tool(":3d_armor:helmet_reinforcedleather", {
|
||||||
description = "Hunter's Reinforced Leather Helmet (Hunter)",
|
description = "Reinforced Leather Helmet (Hunter)",
|
||||||
inventory_image = "3d_armor_inv_helmet_reinforcedleather.png",
|
inventory_image = "3d_armor_inv_helmet_reinforcedleather.png",
|
||||||
groups = {armor_head = 6, armor_heal = 0, armor_use = 40},
|
groups = {armor_head = 6, armor_heal = 0, armor_use = 40},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
|
@ -286,7 +286,7 @@ local oredefs = {
|
|||||||
tools = {}
|
tools = {}
|
||||||
},
|
},
|
||||||
mithril = {
|
mithril = {
|
||||||
description = "Mithril",
|
description = "Mithril (Warrior) ",
|
||||||
makes = {ore = true, block = true, lump = true, ingot = true, chest = false},
|
makes = {ore = true, block = true, lump = true, ingot = true, chest = false},
|
||||||
oredef = {clust_scarcity = moreores_mithril_chunk_size * moreores_mithril_chunk_size * moreores_mithril_chunk_size,
|
oredef = {clust_scarcity = moreores_mithril_chunk_size * moreores_mithril_chunk_size * moreores_mithril_chunk_size,
|
||||||
clust_num_ores = moreores_mithril_ore_per_chunk,
|
clust_num_ores = moreores_mithril_ore_per_chunk,
|
||||||
@ -320,7 +320,6 @@ local oredefs = {
|
|||||||
damage_groups = {fleshy = 5},
|
damage_groups = {fleshy = 5},
|
||||||
full_punch_interval = 0.5,
|
full_punch_interval = 0.5,
|
||||||
},
|
},
|
||||||
description = "Mithril (Warrior)",
|
|
||||||
sword = {
|
sword = {
|
||||||
groupcaps = {
|
groupcaps = {
|
||||||
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 1},
|
fleshy = {times = {[2] = 0.65, [3] = 0.25}, uses = 200, maxlevel= 1},
|
||||||
|
Loading…
Reference in New Issue
Block a user