Differences From
Artifact [0e41979f02]:
- File
leylines.lua
— part of check-in
[72eebac4bc]
at
2020-09-26 18:49:51
on branch trunk
— add writing stand for editing codexes; add scissors, ink, erasure fluid, pens; touch up codex UI; add many recipe notes; add craft divination type for crafttools; defuckulate fucktarded crafttool impl; enhance table library with missing features like lua's table.unpack; many bug fixes and enhancements; blood for the blood god
(user:
lexi,
size: 25740)
[annotate]
[blame]
[check-ins using]
61 61 };
62 62 groups = {
63 63 sorcery_ley_device = 1;
64 64 cracky = 3;
65 65 };
66 66 _sorcery = {
67 67 ley = { mode = 'signal'; power = 100 };
68 + recipe = { note = 'Conducts up to <b>100 thaum</b>' };
68 69 };
69 70 })
70 71 minetest.register_craft {
71 72 output = 'sorcery:conduit 4';
72 73 recipe = {
73 74 {'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'};
74 75 {'default:copper_ingot', 'sorcery:electrumblock', 'default:copper_ingot'};
................................................................................
160 161 paramtype2 = 'facedir';
161 162 groups = {
162 163 cracky = 2;
163 164 choppy = 1;
164 165 sorcery_ley_device = 1;
165 166 };
166 167 _sorcery = {
167 - ley = { mode = 'signal'; power = 50; }
168 + ley = { mode = 'signal'; power = 50 };
169 + recipe = { note = 'Conducts up to <b>50 thaum</b>' };
168 170 };
169 171 tiles = tiles;
170 172 })
171 173 minetest.register_craft {
172 174 output = id .. ' 4';
173 175 recipe = {
174 176 {item, 'sorcery:conduit'};
................................................................................
206 208 drawtype = 'nodebox';
207 209 groups = {
208 210 sorcery_ley_device = 1; snappy = 3; attached = 1;
209 211 sorcery_ley_cable = 1;
210 212 };
211 213 _sorcery = {
212 214 ley = { mode = 'signal', power = metal.conduct };
213 - recipe = { note = 'Conducts up to ' .. metal.conduct .. ' thaum/sec'; };
215 + recipe = { note = 'Conducts up to <b>' .. metal.conduct .. ' thaum</b>'; };
214 216 };
215 217 sunlight_propagates = true;
216 218 node_box = {
217 219 type = 'connected';
218 220 disconnected = { -0.05, -0.35, -0.40; 0.05, -0.25, 0.40 };
219 221 connect_front = { -0.05, -0.35, -0.50; 0.05, -0.25, 0.05 };
220 222 connect_back = { -0.05, -0.35, -0.05; 0.05, -0.25, 0.50 };
................................................................................
320 322 power = function(pos,time)
321 323 return sorcery.ley.field_to_current(sorcery.ley.estimate(pos).force, time);
322 324 end;
323 325 affinity = function(pos)
324 326 return sorcery.ley.estimate(pos).aff
325 327 end;
326 328 };
329 + recipe = {
330 + note = 'Captures radiant force and suffuses it through distribution net. Energy production varies with local leyline strength.';
331 + };
327 332 };
328 333 })
329 334 end
330 335
331 336 minetest.register_craft {
332 337 output = 'sorcery:condenser';
333 338 recipe = {
................................................................................
784 789 ley = {
785 790 mode = 'produce', affinity = {'praxic'};
786 791 power = function(pos,delta)
787 792 local meta = minetest.get_meta(pos)
788 793 return meta:get_float('power') * delta;
789 794 end;
790 795 };
796 + recipe = {
797 + note = 'Temporarily provide up to <b>' ..tostring(constants.generator_max_energy_output) .. ' thaum</b> of ley-force from heat by burning fuel';
798 + };
791 799 };
792 800 })
793 801 end