With the new table loot system, it is possible to change the data value for generated items with the function "set_data" (see exemples with the sheep colored loots tables)
But if I use the "set_data" function on a tool (axe, sword, etc.) the data value is not set, so it's not possible to create tools with custom damage value.
I join an exemple file, with this generator:
5 random color wools (that's work)
1 sword with fix data value (don't work)
1 axe with random "set_data" value (don't work)
For both tools, the damage value are set to 0 in game.
Confirmed