Differences From
Artifact [4c792fc807]:
39 39 maxcost = #tgts * constants.cost_per_barrier * time;
40 40 mincost = math.min(1,#tgts) * constants.cost_per_barrier * time;
41 41 targets = tgts;
42 42 }
43 43 end
44 44 for i=1,10 do
45 45 minetest.register_node('sorcery:air_barrier_' .. tostring(i), {
46 - drawtype = 'airlike';
46 + drawtype = 'glasslike';
47 47 walkable = true;
48 48 pointable = false;
49 49 sunlight_propagates = true;
50 50 paramtype = 'light';
51 51 light_source = i;
52 + tiles = {'sorcery_transparent.png'};
52 53 groups = {
54 + air = 1;
55 + sorcery_air = 1;
53 56 sorcery_force_barrier = i;
54 57 };
55 58 -- _proto = {
56 59 -- strength = i;
57 60 -- };
58 61 on_construct = function(pos)
59 62 minetest.get_node_timer(pos):start(1)
................................................................................
102 105 end
103 106 minetest.register_node('sorcery:emitter_barrier', {
104 107 description = "Barrier Screen Emitter";
105 108 paramtype2 = 'facedir';
106 109 groups = {
107 110 cracky = 2;
108 111 sorcery_ley_device = 1;
112 + sorcery_magitech = 1;
109 113 };
110 114 tiles = {
111 115 'sorcery_emitter_barrier_top.png';
112 116 'sorcery_emitter_barrier_bottom.png';
113 117 'sorcery_emitter_barrier_front.png^[transformR270';
114 118 'sorcery_emitter_barrier_front.png^[transformFXR90';
115 119 'sorcery_emitter_barrier_side.png';