Open
Description
Is your feature request related to a problem? Please describe.
Quality of Life feature request for maps. Right now when you try to set a variable to a map. It just sets the first index to map.
example:
set {_enchants::*} to tool.getItem().getEnchants()
send {_enchants::*}
#output: {Enchantment[minecraft:fire_aspect, FIRE_ASPECT]=2, Enchantment[minecraft:unbreaking, DURABILITY]=3}
Describe the solution you'd like
When setting a variable to a map. skript-reflect would make the variable indexes to keys and their values to maps values.
set {_enchants::*} to tool.getItem().getEnchants()
send {_enchants::*}
#output: 2, 3
send indexes of {_enchants::*}
#output: fire_aspect, unbreaking
Describe alternatives you've considered
Each key in the map could be added to a list normally. Like {_enchants::1} = {Enchantment[minecraft:fire_aspect, FIRE_ASPECT]=2} and 2 is durability.