Hey! I love the engine and trying to understand it as much as I can so this might be a silly one, but in the guided tour you mention that single grids could be used as a selection input. How do you know what value is selected with it? With Buttons with Checkboxes you have buttonName.value that you can compare, but I don't see how that would work with the grid widget. Thank you for the help!
I also don't understand how to add new items to a grid like an inventory system. I made an items grid that has two columns of Name And Description. I've looked at you helping someone with an inventory system yet when I try to re-create this function in the Decker script
on add_item n do i:get_items[] i.value:insert name:n into i.value end
I'm met with an error of "Expected name, but found:. It's an error that happens when I try to put this
n into i.value
I've even tried to add this code to a button
on click do
i:inventory.widgets.items
i.value:insert name:"sworde" into i.name
alert["ye have acquired ye sworde!"]
end
But I still get the same issue as before what am I doing wrong?