-
Edit
NPC_HEROES_CUSTOM_PATH
at 6th line of main.js to path tonpc_heroes_custom.txt
of your custom game -
Run script
node main.js
Script's output file is facets.kv
with following format:
"Facets"
{
"HeroID1"
{
"1" "facet_name_1"
"2" "facet_name_2"
}
"HeroID2"
{
"1" "facet_name_1"
"2" "facet_name_2"
}
}
Where HeroID1
, HeroID2
are value of HeroID
in hero's KV