sorcery  Diff

Differences From Artifact [b53d891f54]:

To Artifact [913cc0d6da]:


7
8
9
10
11
12
13




































			if meta:get_string('sorcery_seal_mode') == 'wand' or name ~= meta:get_string('owner') then
				return true
			end
		end
		return nextfn(pos,name)
	end
end











































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
			if meta:get_string('sorcery_seal_mode') == 'wand' or name ~= meta:get_string('owner') then
				return true
			end
		end
		return nextfn(pos,name)
	end
end

if minetest.get_modpath('hopper') then
	hopper:add_container {
		{'side',  'group:sorcery_device_generator','fuel'};
		{'bottom','group:sorcery_device_generator','fuel'};

		{'side',  'sorcery:coin_press','ingot'};
		{'bottom','sorcery:coin_press','gem'};
		-- output handled on our side; requires automation

		{'bottom','sorcery:infuser','infusion'};
		{'side',  'sorcery:infuser','potions'};
		-- output handled on our side

		{'top',   'sorcery:displacer','cache'};
		{'side',  'sorcery:displacer','cache'};
		{'bottom','sorcery:displacer','cache'};

		{'side','sorcery:displacer_transmit_gem','code'};
		{'side','sorcery:displacer_receive_gem', 'code'};

		{'side','group:sorcery_device_kiln','fuel'};
		{'top', 'group:sorcery_device_kiln','output'};

		{'top',   'group:sorcery_device_smelter','output'};
		{'bottom','group:sorcery_device_smelter','input'};
		{'side',  'group:sorcery_device_smelter','fuel'};

		{'top',    'sorcery:mill', 'output'};
		{'side',   'sorcery:mill', 'grinder'};
		{'bottom', 'sorcery:mill', 'input'};

		{'bottom', 'sorcery:harvester', 'charge'};
		-- output handled on our side
	}
end