05-03-2014, 08:11 AM
How about this, then?
kits =
{
tools =
{
delay = 10,
items =
{
{272, 1},
{273, 1},
{274, 1},
{275, 1},
},
},
dtools =
{
delay = 600,
items =
{
...
},
},
}
Notice that this "config" is actually a Lua source code, so you can take full advantage of that, and use Lua's loadfile() to do all the work for you. That's how Gallery processes its config file, have a look: https://github.com/mc-server/Gallery/blo...#L253-L276

