forked from mtcontrib/3d_armor
Make all admin armor to protect from drowning (#131)
This commit is contained in:
parent
f430395b64
commit
4bac73fc9e
|
@ -41,7 +41,7 @@ armor:register_armor(":3d_armor:chestplate_admin", {
|
|||
description = S("Admin Chestplate"),
|
||||
inventory_image = "3d_armor_inv_chestplate_admin.png",
|
||||
armor_groups = {fleshy=100},
|
||||
groups = {armor_torso=1, armor_heal=100, armor_use=0,
|
||||
groups = {armor_torso=1, armor_heal=100, armor_use=0, armor_water=1,
|
||||
not_in_creative_inventory=1},
|
||||
on_drop = function(itemstack, dropper, pos)
|
||||
return
|
||||
|
@ -61,7 +61,7 @@ armor:register_armor(":3d_armor:leggings_admin", {
|
|||
description = S("Admin Leggings"),
|
||||
inventory_image = "3d_armor_inv_leggings_admin.png",
|
||||
armor_groups = {fleshy=100},
|
||||
groups = {armor_legs=1, armor_heal=100, armor_use=0,
|
||||
groups = {armor_legs=1, armor_heal=100, armor_use=0, armor_water=1,
|
||||
not_in_creative_inventory=1},
|
||||
on_drop = function(itemstack, dropper, pos)
|
||||
return
|
||||
|
@ -82,7 +82,7 @@ armor:register_armor(":3d_armor:boots_admin", {
|
|||
inventory_image = "3d_armor_inv_boots_admin.png",
|
||||
armor_groups = {fleshy=100},
|
||||
groups = {armor_feet=1, armor_heal=100, armor_use=0, physics_speed=1,
|
||||
not_in_creative_inventory=1},
|
||||
armor_water=1, not_in_creative_inventory=1},
|
||||
on_drop = function(itemstack, dropper, pos)
|
||||
return
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue
Block a user