milo node rework

This commit is contained in:
kepler155c
2018-11-11 21:59:13 -05:00
parent fe1fc6ea93
commit 9ee8ce9f33
13 changed files with 317 additions and 83 deletions

View File

@@ -36,6 +36,11 @@ local exportView = UI.Window {
},
}
function exportView:isValidType(node)
local m = device[node.name]
return m and m.pullItems and { name = 'Generic Inventory', value = 'machine' }
end
function exportView:isValidFor(node)
return node.mtype == 'machine'
end