--- supply_converter-old.lua 2014-07-20 22:52:12.000000000 -0600
+++ supply_converter.lua 2014-07-25 17:08:44.000000000 -0600
@@ -10,7 +10,7 @@
local S = technic.getter
local run = function(pos, node)
- local demand = 10000
+ local demand = -1
local remain = 0.9
-- Machine information
local machine_name = S("Supply Converter")
@@ -26,6 +26,7 @@
if from and to then
local input = meta:get_int(from.."_EU_input")
+ if input > 0 then demand = input end
meta:set_int(from.."_EU_demand", demand)
meta:set_int(from.."_EU_supply", 0)
meta:set_int(to.."_EU_demand", 0)
--- switching_station-old.lua 2014-07-20 22:52:12.000000000 -0600
+++ switching_station.lua 2014-07-25 17:17:29.000000000 -0600
@@ -278,7 +278,11 @@
for _, pos1 in pairs(RE_nodes) do
meta1 = minetest.get_meta(pos1)
local eu_demand = meta1:get_int(eu_demand_str)
- meta1:set_int(eu_input_str, eu_demand)
+ if eu_demand < 0 then
+ meta1:set_int(eu_input_str, PR_eu_supply)
+ else
+ meta1:set_int(eu_input_str, eu_demand)
+ end
end
-- We have a surplus, so distribute the rest equally to the BA nodes
-- Let's calculate the factor of the demand
07:30:58: ERROR[main]: Failed to load and run script from
07:30:59: ERROR[main]: D:\minetest-0.4.10-win32-msvc\minetest-0.4.10\bin\..\mods
\technic\technic_worldgen\init.lua:
07:30:59: ERROR[main]: ...st-0.4.10\bin\..\mods\technic\technic_worldgen/nodes.l
ua:154: bad argument #1 to 'ipairs' (table expected, got string)
07:30:59: ERROR[main]: stack traceback:
07:30:59: ERROR[main]: [C]: in function 'ipairs'
07:30:59: ERROR[main]: ...st-0.4.10\bin\..\mods\technic\technic_worldgen/nodes.
lua:154: in function 'action'
07:30:59: ERROR[main]: ...st-0.4.10\bin\..\mods\technic\technic_worldgen/nodes.
lua:141: in function 'for_each_registered_node'
07:30:59: ERROR[main]: ...st-0.4.10\bin\..\mods\technic\technic_worldgen/nodes.
lua:145: in main chunk
07:30:59: ERROR[main]: [C]: in function 'dofile'
07:30:59: ERROR[main]: ...est-0.4.10\bin\..\mods\technic\technic_worldgen\init.
lua:10: in main chunk
interrupt(0.25) port.a = not pin.a
Wayward_One wrote:Hi, can someone tell me how to use the forcefield emitter?
LionsDen wrote:It may be that no one knows how the forcefield emitter works. I tried playing with it a LONG time ago when I was still using the technic mod and the technic game and could never get it to work. I also asked about the stargate and never got any help with that either so there are probably parts that are not working or understood.
Nore wrote:It is explained in the manual here: https://github.com/minetest-technic/technic/blob/master/manual.md#uranium-enrichment. Basically, you'll need a lot of centrifuges, which are MV machines.
Marshall_maz wrote:Nore wrote:It is explained in the manual here: https://github.com/minetest-technic/technic/blob/master/manual.md#uranium-enrichment. Basically, you'll need a lot of centrifuges, which are MV machines.
Thanx for the link. Doesn't help much though.
I have no idea how to set up the centrifuges with tube segments and can't find anywhere help on how that must actually look :(
Nore wrote:Well, try all the different sides, you'll finally find the correct direction. Moreover, tubes only work with MV machines, not LV ones. About the picture, the idea is that each tube is a sorting tube, that will send the item in the machine if it's the correct one, or in the correct direction else: next to 0.7% machine you would have a tube that would send 0.7% dusts in the machine, 0.6% one side and 0.8% the other side.
Users browsing this forum: Bing [Bot] and 17 guests