Differences From
Artifact [6f8ef41220]:
- File
farcaster.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: 3967)
[annotate]
[blame]
[check-ins using]
19 19 if tune then return 0.3 else return 0 end
20 20 end
21 21 };
22 22 attune = {
23 23 class = 'sorcery:raycaster', accepts = 'sorcery:raycaster';
24 24 source = true, target = true, reciprocal = true;
25 25 };
26 + recipe = {
27 + note = 'Bridges ley-nets by beam. Line of sight between attuned casters required. Constant power draw of <b>0.3 thaum</b>.';
28 + };
26 29 farcaster = {
27 30 partner = function(pos)
28 31 local tune = sorcery.attunement.verify(pos)
29 32 if not tune then return nil end
30 33 minetest.load_area(tune.partner)
31 34 local vis = false
32 35 local ignored
................................................................................
78 81 end
79 82 end;
80 83 };
81 84 attune = {
82 85 class = 'sorcery:farcaster', accepts = 'sorcery:farcaster';
83 86 source = true, target = true, reciprocal = true;
84 87 };
88 + recipe = {
89 + note = 'Bridges ley-nets by nonlocality. Power draw increases <b>2 thaum/km</b> in distance between caster units.';
90 + };
85 91 farcaster = {
86 92 partner = function(pos)
87 93 local tune = sorcery.attunement.verify(pos)
88 94 if not tune then return nil end
89 95
90 96 return tune.partner
91 97 end;