Much like $path before it, we've added a $modifier type. This is to be used as $modifier[Meat Drop] or $modifier[Four Songs] (for example), to use in functions like numeric_modifier(item, modifier) or effect_modifier and so on.
There is now also a function split_modifiers(string) that takes a $modifier[Modifiers] string and splits it into a map of modifiers to strings.
Some existing scripts may break. Most should be fixed quickly. If one you are using is not fixed, you can examine the error message for a message like:
> Reserved word 'modifier' cannot be a variable name (bastille.ash, line 2337, char 52 to char 60)
and find the relevant line and character, and adjust the variable "modifier" to be anything except "modifier" (for example, "mod").
There is now also a function split_modifiers(string) that takes a $modifier[Modifiers] string and splits it into a map of modifiers to strings.
Some existing scripts may break. Most should be fixed quickly. If one you are using is not fixed, you can examine the error message for a message like:
> Reserved word 'modifier' cannot be a variable name (bastille.ash, line 2337, char 52 to char 60)
and find the relevant line and character, and adjust the variable "modifier" to be anything except "modifier" (for example, "mod").