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

@@ -15,6 +15,9 @@ local importView = UI.Window {
},
sortColumn = 'slot',
help = 'Edit this entry',
accelerators = {
delete = 'remove_entry',
},
},
text = UI.Text {
x = 2, y = -2,
@@ -38,7 +41,11 @@ local importView = UI.Window {
function importView:isValidType(node)
local m = device[node.name]
return m and m.pullItems and { name = 'Generic Inventory', value = 'machine' }
return m and m.pullItems and {
name = 'Generic Inventory',
value = 'machine',
help = 'Chest, furnace... (has an inventory)',
}
end
function importView:isValidFor(node)