Handle blasts (#356)

This commit is contained in:
DS
2017-10-07 00:44:49 +02:00
committed by Vitaliy
parent 8999597df2
commit 905260c8db
24 changed files with 124 additions and 56 deletions

View File

@ -178,6 +178,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"