# create first necessity items under cursor category = $script_args[0] || 'help' mat_raw = $script_args[1] || 'list' count = $script_args[2] category = df.match_rawname(category, ['help', 'bars', 'boulders', 'plants', 'logs', 'webs', 'anvils']) || 'help' if category == 'help' puts < 5 df.curview.feed_keys(:CURSOR_DOWN_Z) df.curview.feed_keys(:CURSOR_UP_Z) else df.curview.feed_keys(:CURSOR_UP_Z) df.curview.feed_keys(:CURSOR_DOWN_Z) end