Page 1 of 1

modding API: node group thats kept in active memory?

PostPosted: Thu May 03, 2012 10:56
by mauvebic
I dont know if this is possible with the current state of the api, but id like to see a node group for nodes that i want to be kept in active memory. this would make my powerlines (and probably mesecon circuits too) work properly over long distances.

As it stands, i flick a switch on one of my long circuits, and at the chunks edge the lines "break" (part on, part off) because circuit_activate() has to stop at name=='ignore' - im thinking of making circuits catch fire at those "breakpoints" in the meantime :-)

PostPosted: Thu May 03, 2012 18:04
by sapier
I'm not quite sure if this helps but in minecraft there are repeaters. In my oppinion a similar concept can be used to solve your distance problem. If you require a repeater every, lets say 10 blocks. This repeater could be a entity instead of a node and entitys may contain dynamic data. Of course this would only work as unidirectional repeaters without additional precautions to prevent perpetuum mobiles.