-
Notifications
You must be signed in to change notification settings - Fork 1
/
ice_armor.lua
57 lines (55 loc) · 1.76 KB
/
ice_armor.lua
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
50
51
52
53
54
55
56
57
minetest.register_tool("ice_armor:ice_helmet", {
description = "Ice Helmet",
inventory_image = "ice_armor_inv_helmet_ice.png",
groups = {armor_head=22, armor_heal=8, armor_use=50},
wear = 0,
})
minetest.register_tool("ice_armor:ice_chestplate", {
description = "Ice Chestplate",
inventory_image = "ice_armor_inv_chestplate_ice.png",
groups = {armor_torso=25, armor_heal=20, armor_use=50},
wear = 0,
})
minetest.register_tool("ice_armor:ice_leggings", {
description = "Ice Leggings",
inventory_image = "ice_armor_inv_leggings_ice.png",
groups = {armor_legs=25, armor_heal=20, armor_use=50},
wear = 0,
})
minetest.register_tool("ice_armor:ice_boots", {
description = "Ice Boots",
inventory_image = "ice_armor_inv_boots_ice.png",
groups = {armor_feet=22, armor_heal=8, armor_use=50, physics_speed=1.7, physics_jump=0.9},
wear = 0,
})
minetest.register_craft({
output = "ice_armor:ice_helmet",
recipe = {
{"ice_armor:ice_ingot", "ice_armor:ice_ingot", "ice_armor:ice_ingot"},
{"ice_armor:ice_ingot", "", "ice_armor:ice_ingot"},
{"", "", ""},
},
})
minetest.register_craft({
output = "ice_armor:ice_chestplate",
recipe = {
{"ice_armor:ice_ingot", "", "ice_armor:ice_ingot"},
{"ice_armor:ice_ingot", "ice_armor:ice_ingot", "ice_armor:ice_ingot"},
{"ice_armor:ice_ingot", "ice_armor:ice_ingot", "ice_armor:ice_ingot"},
},
})
minetest.register_craft({
output = "ice_armor:ice_leggings",
recipe = {
{"ice_armor:ice_ingot", "ice_armor:ice_ingot", "ice_armor:ice_ingot"},
{"ice_armor:ice_ingot", "", "ice_armor:ice_ingot"},
{"ice_armor:ice_ingot", "", "ice_armor:ice_ingot"},
},
})
minetest.register_craft({
output = "ice_armor:ice_boots",
recipe = {
{"ice_armor:ice_ingot", "", "ice_armor:ice_ingot"},
{"ice_armor:ice_ingot", "", "ice_armor:ice_ingot"},
},
})