Redstone: Add basic blastnode handling
This commit is contained in:
parent
d750e7f6d4
commit
b7b6f356fa
2 changed files with 8 additions and 0 deletions
|
@ -248,6 +248,7 @@ end
|
|||
|
||||
function mesecon.register_node(name, spec_common, spec_off, spec_on)
|
||||
spec_common.drop = spec_common.drop or name .. "_off"
|
||||
spec_common.on_blast = spec_common.on_blast or mesecon.on_blastnode
|
||||
spec_common.__mesecon_basename = name
|
||||
spec_on.__mesecon_state = "on"
|
||||
spec_off.__mesecon_state = "off"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue