Breaking Change
This is a pretty big update as it paves the way for getting a GUI working.
The main change is that Rules
are no longer separate files. They will live only in YALM.LUA
. Helper functions now must be defined in yalm/config/functions/
and must be under functions
in YALM.LUA
. Here's an example
{
functions = {
GetClassList = {
name = "GetClassList",
},
GetEquipmentQuantity = {
name = "GetEquipmentQuantity",
},
},
rules: {
Defiant = {
category = "",
conditions = {
{
name = "Defiant",
setting = "Guild",
quantity = "GetEquipmentQuantity",
list = "GetClassList",
},
},
items = {},
name = "Defiant",
},
}
This also makes it easier to use functions in other files.