sorcery  Diff

Differences From Artifact [6f8ef41220]:

To Artifact [af0360a5f2]:

  • 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
20
21
22
23
24
25



26
27
28
29
30
31
32
..
78
79
80
81
82
83
84



85
86
87
88
89
90
91
				if tune then return 0.3 else return 0 end
			end
		};
		attune = {
			class = 'sorcery:raycaster', accepts = 'sorcery:raycaster';
			source = true, target = true, reciprocal = true;
		};



		farcaster = {
			partner = function(pos)
				local tune = sorcery.attunement.verify(pos)
				if not tune then return nil end
				minetest.load_area(tune.partner)
				local vis = false
				local ignored
................................................................................
				end
			end;
		};
		attune = {
			class = 'sorcery:farcaster', accepts = 'sorcery:farcaster';
			source = true, target = true, reciprocal = true;
		};



		farcaster = {
			partner = function(pos)
				local tune = sorcery.attunement.verify(pos)
				if not tune then return nil end

				return tune.partner
			end;







>
>
>







 







>
>
>







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

				return tune.partner
			end;