Artefact2 / centralcasting

Generate random character (PCs or NPCs) backgrounds using the "Central Casting: Heroes of Legend" book
Do What The F*ck You Want To Public License
9 stars 3 forks source link

err:consistency:inconsistent names #6

Closed necrogami closed 4 years ago

necrogami commented 4 years ago
$ make data.json
./gendata 1000 > datap0.json
..err:consistency:inconsistent names for 101: got 'Character Race' and 'Racial mix'

PHP Error(2) in /mnt/c/Users/djnec/code/centralcasting/graph/gendata:27, assert(): assert(false) failed
#0  HeroesOfLegend\print_bt() called at [/mnt/c/Users/djnec/code/centralcasting/inc/root.php:34]
#1  HeroesOfLegend\{closure}()
#2  assert() called at [/mnt/c/Users/djnec/code/centralcasting/graph/gendata:27]
#3  HeroesOfLegend\maybe_name() called at [/mnt/c/Users/djnec/code/centralcasting/graph/gendata:48]
#4  HeroesOfLegend\analyze() called at [/mnt/c/Users/djnec/code/centralcasting/graph/gendata:55]
#5  HeroesOfLegend\analyze() called at [/mnt/c/Users/djnec/code/centralcasting/graph/gendata:43]
#6  HeroesOfLegend\analyze() called at [/mnt/c/Users/djnec/code/centralcasting/graph/gendata:85]
Makefile:22: recipe for target 'datap0.json' failed
make: *** [datap0.json] Error 251
Artefact2 commented 4 years ago

Fixed in 393cff5, thanks for reporting. If you just want to see the final graph, you can also see it here: https://artefact2.com/res/centralcasting.svg