modding API: node group thats kept in active memory?

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

modding API: node group thats kept in active memory?

by mauvebic » Thu May 03, 2012 10:56

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 :-)
"Fuck the hat." - Paulie Gualtieri
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Thu May 03, 2012 18:04

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.
DON'T mention coding style!
(c) sapier all rights reserved
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 29 guests

cron