milo better user experience

This commit is contained in:
kepler155c
2018-11-12 20:22:14 -05:00
parent 52ea4e039c
commit 1eaaca2cc3
17 changed files with 204 additions and 82 deletions

View File

@@ -26,6 +26,7 @@ local storageView = UI.Window {
x = 16, ex = -2, y = 3,
value = '',
},
--[[
[4] = UI.Checkbox {
formLabel = 'Void', formKey = 'voidExcess',
help = 'Void excess if locked - TODO',
@@ -36,6 +37,7 @@ local storageView = UI.Window {
help = 'TODO',
pruneEmpty = true,
},
]]--
},
}
@@ -50,7 +52,11 @@ end
function storageView:isValidType(node)
local m = device[node.name]
return m and m.pullItems and { name = 'Storage', value = 'storage' }
return m and m.pullItems and {
name = 'Storage',
value = 'storage',
help = 'Use for item storage',
}
end
function storageView:isValidFor(node)