mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
parent
0d88b4443f
commit
3fd2d1bbf4
@ -100,7 +100,7 @@ if ARMOR_MATERIALS.mithril then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if ARMOR_MATERIALS.black_mithril then
|
if ARMOR_MATERIALS.blackmithril then
|
||||||
minetest.register_tool("shields:shield_black_mithril_warrior", {
|
minetest.register_tool("shields:shield_black_mithril_warrior", {
|
||||||
description = "Black Mithril Shield",
|
description = "Black Mithril Shield",
|
||||||
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
inventory_image = "shields_inv_shield_black_mithril_warrior.png",
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
pclasses.api.register_class("warrior", {
|
pclasses.api.register_class("warrior", {
|
||||||
determination = function(player)
|
determination = function(player)
|
||||||
return pclasses.api.util.does_wear_full_armor(player:get_player_name(), "blackmithril", true)
|
return pclasses.api.util.does_wear_full_armor(player:get_player_name(), "blackmithril", false)
|
||||||
end,
|
end,
|
||||||
on_assigned = function(pname)
|
on_assigned = function(pname)
|
||||||
minetest.sound_play("pclasses_full_warrior")
|
minetest.sound_play("pclasses_full_warrior")
|
||||||
|
Loading…
Reference in New Issue
Block a user