11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
..
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
...
124
125
126
127
128
129
130
131
132
133
134
135
136
137
...
174
175
176
177
178
179
180
181
|
'shovel'; 'axe';
}
return {
endure = { -- withstand more blows
name = 'Endure';
cost = 1;
tone = {232,102,255};
desc = 'durability magnified';
affinity = 'counterpraxic';
groups = allgroups;
recipe = {
{lens = 'convex', gem = 'amethyst', dmg = 2};
{lens = 'rectifier', gem = 'emerald', dmg = 4};
{lens = 'convex', gem = 'emerald', dmg = 2};
};
................................................................................
end
end;
};
conserve = { -- use less magical energy
name = 'Conserve';
tone = {84,255,144};
cost = 0;
desc = 'enchantments last longer before running out of power to sustain them.';
groups = allgroups;
affinity = 'syncretic';
recipe = {
{lens = 'rectifier', gem = 'mese', dmg = 7};
{lens = 'rectifier', gem = 'sapphire', dmg = 2};
{lens = 'rectifier', gem = 'amethyst', dmg = 2};
};
................................................................................
ctx.sparks[#ctx.sparks+1] = {
color = sorcery.lib.color(colors[minetest.get_node(n).name]);
count = 100 * dstfac;
}
end
end
end;
};
pierce = { -- faster mining speed
name = 'Pierce';
cost = 3;
tone = {113,240,251};
groups = digtools;
{
................................................................................
local unit = 2
caps.groupcaps[g].maxlevel = caps[g].maxlevel + math.floor(unit*power)
end
stack:get_meta():set_tool_capabilities(caps)
return stack
end;
};
}
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
..
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
...
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
...
187
188
189
190
191
192
193
194
195
196
|
'shovel'; 'axe';
}
return {
endure = { -- withstand more blows
name = 'Endure';
cost = 1;
tone = {232,102,255};
desc = 'tools last longer before wearing out';
affinity = 'counterpraxic';
groups = allgroups;
recipe = {
{lens = 'convex', gem = 'amethyst', dmg = 2};
{lens = 'rectifier', gem = 'emerald', dmg = 4};
{lens = 'convex', gem = 'emerald', dmg = 2};
};
................................................................................
end
end;
};
conserve = { -- use less magical energy
name = 'Conserve';
tone = {84,255,144};
cost = 0;
desc = 'enchantments last longer before running out of power to sustain them';
groups = allgroups;
affinity = 'syncretic';
recipe = {
{lens = 'rectifier', gem = 'mese', dmg = 7};
{lens = 'rectifier', gem = 'sapphire', dmg = 2};
{lens = 'rectifier', gem = 'amethyst', dmg = 2};
};
................................................................................
ctx.sparks[#ctx.sparks+1] = {
color = sorcery.lib.color(colors[minetest.get_node(n).name]);
count = 100 * dstfac;
}
end
end
end;
};
glitter = { -- increase odds of finding gem
name = 'Glitter';
cost = 10;
tone = {255,50,60};
desc = 'dramatically improve your chances of finding gems while mining veins';
groups = {'pick','pickaxe'};
affinity = 'entropic';
recipe = {
{lens = 'amplifier', gem = 'diamond', dmg = 12};
{lens = 'rectifier', gem = 'sapphire', dmg = 9};
{lens = 'convex', gem = 'ruby', dmg = 7};
};
};
pierce = { -- faster mining speed
name = 'Pierce';
cost = 3;
tone = {113,240,251};
groups = digtools;
{
................................................................................
local unit = 2
caps.groupcaps[g].maxlevel = caps[g].maxlevel + math.floor(unit*power)
end
stack:get_meta():set_tool_capabilities(caps)
return stack
end;
};
-- multiply = {}; -- add a chance of receiving multiple drops of ore/coal
-- leech = {}; -- draw power from local leylines
}
|