Thank you, Yang! I actually sent you a PM yesterday with that information, so you might still have it there. I was trying to write from the main Stonehearth mod. I’ve since separated my mod into an smod, which can be found here, along with the relevant user_settings and lua code:
http://discourse.stonehearth.net/t/moai-personal-thread/20070/18?u=moai