smartfs-cd2025/init.lua
bell07 3de2eacda5 Add views and containers
* Views and Containers support

* completed the checkbox-fix

* Add getContainerState() to the documentation

* changed implementation for fields processing
Removed again _sfs_process_value_ and _sfs_process_action_
use element:submit() and element:setValue() instead utilizating new state:_get_element_recursive_()
Additional bugfix: container location was missed

* runtime optimization. Do _get_element_recursive_ once for setValue and submit
2017-08-12 00:01:35 +01:00

7 lines
284 B
Lua

smartfs = dofile(minetest.get_modpath("smartfs").."/smartfs.lua")
-- dofile(minetest.get_modpath("smartfs").."/docs/example.lua")
-- dofile(minetest.get_modpath("smartfs").."/docs/example-container.lua")
assert(minetest.is_yes(true) == true)
assert(minetest.is_yes(false) == false)