I've configured a formspec with fields, labels, dropdowns, and a checkbox. All of them display as expected when I right-click on the node. Within on_receive_fields, I can access the fields and dropdowns via fields.[field or dropdown name], but I can't access the checkbox in the same way. When I add
- Code: Select all
for k,v in pairs(fields) do
print(k)
end
to my on_receive_fields code, the log shows a list which includes all the fields and dropdowns, but doesn't include the checkbox. Where is the state of the checkbox stored?
