Differences From
Artifact [5670d710ce]:
16 16 cost = 1;
17 17 tone = {232,102,255};
18 18 desc = 'tools last longer before wearing out';
19 19 affinity = 'counterpraxic';
20 20 groups = allgroups;
21 21 recipe = {
22 22 {lens = 'convex', gem = 'amethyst', dmg = 2};
23 - {lens = 'rectifier', gem = 'emerald', dmg = 4};
23 + {item = 'default:obsidian_shard'};
24 24 {lens = 'convex', gem = 'emerald', dmg = 2};
25 25 };
26 26 apply = function(stack,power,base)
27 27 local caps = table.copy(stack:get_definition().tool_capabilities)
28 28 for g,v in pairs(caps.groupcaps) do
29 29 local unit = base.groupcaps[g].uses * 0.6
30 30 caps.groupcaps[g].uses = v.uses + unit*power
................................................................................
42 42 groups = digtools;
43 43 affinity = 'cognic';
44 44 cost = 1;
45 45 tone = {255,235,195};
46 46 desc = 'Leave a trail of light hanging in the air as you dig';
47 47 recipe = {
48 48 {lens = 'convex', gem = 'sapphire', dmg = 2};
49 - {lens = 'concave', gem = 'ruby', dmg = 1};
49 + {item = 'sorcery:gem_luxite_shard'};
50 50 {lens = 'concave', gem = 'sapphire', dmg = 1};
51 51 };
52 52 on_dig = function(ctx)
53 53 local chance = 10 -- make dependent on power somehow?
54 54 if math.random(chance) == 1 then
55 55 local lightlevel = math.floor(math.min(minetest.LIGHT_MAX,4*ctx.power))
56 56 -- spawn a light block
................................................................................
69 69 cost = 0; -- energy is only depleted when repair takes place
70 70 tone = {255,84,187};
71 71 affinity = 'syncretic';
72 72 groups = {
73 73 'pick'; 'pickaxe'; 'sword';
74 74 };
75 75 recipe = {
76 - {lens = 'amplifier', gem = 'ruby', dmg = 5};
77 - {lens = 'concave', gem = 'mese', dmg = 1};
78 - {lens = 'concave', gem = 'sapphire', dmg = 1};
76 + {lens = 'amplifier', gem = 'ruby', dmg = 5};
77 + {item = 'sorcery:powder_tungsten'};
78 + {item = 'sorcery:extract_rye'};
79 79 };
80 80 desc = 'some damage is repaired when used to mine ore or kill an attacker';
81 + info = {
82 + note = 'Consumes <b>3</b> thaum-seconds of charge when repair takes place';
83 + };
81 84 on_dig = function(ctx)
82 85 local orepfx = "stone_with_" -- }:<
83 86 -- local oredrop = ' lump'
84 87 local barename = string.sub(ctx.node.name, string.find(ctx.node.name, ':') + 1)
85 88 if sorcery.itemclass.get(ctx.node.name,'ore') then
86 89 ctx.tool:add_wear(-(sorcery.enchant.strength(ctx.tool,'harvest') * 2000))
87 90 ctx.cost = 3
................................................................................
92 95 name = 'Conserve';
93 96 tone = {84,255,144};
94 97 cost = 0;
95 98 desc = 'enchantments last longer before running out of power to sustain them';
96 99 groups = allgroups;
97 100 affinity = 'syncretic';
98 101 recipe = {
99 - {lens = 'rectifier', gem = 'mese', dmg = 7};
102 + {item = 'default:mese_crystal_fragment'};
100 103 {lens = 'rectifier', gem = 'sapphire', dmg = 2};
101 104 {lens = 'rectifier', gem = 'amethyst', dmg = 2};
102 105 };
103 106 -- implemented in sorcery/enchanter.lua:register_on_dig
104 107 };
105 108 dowse = { -- send up flare when valuable ores are nearby
106 109 name = 'Dowse';
107 110 tone = {241,251,113};
108 111 cost = 1;
109 112 desc = 'strike colored sparks when used to dig near valuable ore.';
110 113 groups = {'pick','pickaxe'};
111 114 affinity = 'cognic';
112 115 recipe = {
113 - {lens = 'concave', gem = 'ruby', dmg = 3};
116 + {item = 'sorcery:gem_luxite'};
114 117 {lens = 'concave', gem = 'emerald', dmg = 3};
115 118 {lens = 'concave', gem = 'sapphire', dmg = 3};
116 119 };
117 120 on_dig = function(ctx)
118 121 local range = 4*sorcery.enchant.strength(ctx.tool,'dowse')
119 122 local colors = {
120 123 ['default:stone_with_gold' ] = {255,234,182};
................................................................................
150 153 name = 'Glitter';
151 154 cost = 10;
152 155 tone = {255,50,60};
153 156 desc = 'dramatically improve your chances of finding gems while mining veins';
154 157 groups = {'pick','pickaxe'};
155 158 affinity = 'entropic';
156 159 recipe = {
160 + {item = 'sorcery:oil_luck'};
157 161 {lens = 'amplifier', gem = 'diamond', dmg = 12};
158 162 {lens = 'rectifier', gem = 'sapphire', dmg = 9};
159 - {lens = 'convex', gem = 'ruby', dmg = 7};
160 163 };
161 164 };
162 165 pierce = { -- faster mining speed
163 166 name = 'Pierce';
164 167 cost = 3;
165 168 tone = {113,240,251};
166 169 groups = digtools;
167 - {
168 - 'pick';'pickaxe';'axe';'shovel';'sickle';
169 - };
170 170 desc = 'rip through solid stone or wood like a hot knife through butter';
171 171 recipe = {
172 172 {lens = 'amplifier', gem = 'diamond', dmg = 4};
173 173 {lens = 'amplifier', gem = 'ruby', dmg = 4};
174 - {lens = 'rectifier', gem = 'diamond', dmg = 2};
174 + {item = 'default:flint'};
175 175 };
176 176 affinity = 'praxic';
177 177 apply = function(stack,power,base)
178 178 local caps = table.copy(stack:get_definition().tool_capabilities)
179 179 for g,v in pairs(caps.groupcaps) do
180 180 for i,t in pairs(v.times) do
181 181 local unit = base.groupcaps[g].times[i] * 0.15
................................................................................
188 188 };
189 189 rend = { -- more damage / mine higher level blocks
190 190 name = 'Rend';
191 191 affinity = 'praxic';
192 192 tone = {251,203,113};
193 193 groups = {'sword';'pick';'pickaxe';};
194 194 recipe = {
195 - {lens = 'convex', gem = 'mese', dmg = 3};
196 195 {lens = 'amplifier', gem = 'emerald', dmg = 7};
197 - {lens = 'amplifier', gem = 'diamond', dmg = 7};
196 + {item = 'flowers:flower_rose'};
197 + {item = 'sorcery:powder_silver'};
198 198 };
199 199 cost = 5;
200 200 desc = 'cleave through sturdy ores and tear mortal flesh with fearsome ease';
201 201 apply = function(stack,power,base)
202 202 local caps = table.copy(stack:get_definition().tool_capabilities)
203 203 for g,v in pairs(caps.groupcaps) do
204 204 local unit = 2
................................................................................
217 217 sanctify = {
218 218 desc = 'prolong the blessings of the heavens';
219 219 groups = {'sorcery_sanctify'};
220 220 affinity = 'entropic';
221 221 tone = {255,255,255};
222 222 cost = 7;
223 223 recipe = {
224 - {lens = 'amplifier', gem = 'ruby', dmg = 13};
224 + {item = 'sorcery:holy_water'};
225 225 {lens = 'amplifier', gem = 'ruby', dmg = 15};
226 226 {lens = 'amplifier', gem = 'ruby', dmg = 18};
227 227 };
228 228 };
229 229 }