-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharmor.lua
More file actions
49 lines (47 loc) · 1.69 KB
/
Copy patharmor.lua
File metadata and controls
49 lines (47 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--
-- Armor
--
minetest.register_tool("aftools:helmet_coralie", {
description = "Muskegirls Helm",
inventory_image = "coralie_helm.png",
groups = {armor_head=1, armor_heal=0, armor_use=2000, flammable=1},
armor_groups = {fleshy=5},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
})
minetest.register_tool("aftools:chestplate_coralie", {
description = "Muskegirls Shirt",
inventory_image = "coralie_shirt.png",
groups = {armor_torso=1, armor_heal=0, armor_use=2000, flammable=1},
armor_groups = {fleshy=10},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
})
minetest.register_tool("aftools:leggings_coralie", {
description = "Muskegirls Rock",
inventory_image = "coralie_rock.png",
groups = {armor_legs=1, armor_heal=0, armor_use=2000, flammable=1},
armor_groups = {fleshy=10},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
})
minetest.register_tool("aftools:boots_muskegirl", {
description = "Muskegirls Stiefel",
inventory_image = "coralie_stiefel.png",
armor_groups = {fleshy=5},
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1},
groups = {armor_feet=1, armor_heal=0, armor_use=2000, flammable=1},
})
--[[
minetest.register_tool("aftools:shield_coralie", {
description = "Muskegirls Schild",
inventory_image = "coralie_schild.png",
groups = {armor_shield=1, armor_heal=12, armor_use=100, armor_fire=1},
armor_groups = {fleshy=15},
damage_groups = {cracky=2, snappy=1, level=3},
reciprocate_damage = true,
on_damage = function(player, index, stack)
play_sound_effect(player, "default_glass_footstep")
end,
on_destroy = function(player, index, stack)
play_sound_effect(player, "default_break_glass")
end,
})
]]--