diff --git a/examples/creaturedump.cpp b/examples/creaturedump.cpp index 89016c45f..5f216e92b 100644 --- a/examples/creaturedump.cpp +++ b/examples/creaturedump.cpp @@ -168,6 +168,14 @@ void printCreature(DFHack::API & DF, const DFHack::t_creature & creature) cout << ", trans name: " << transName; addendl=true; } + + transName = Tran->TranslateName(creature.name,true); + if(!transName.empty()) + { + cout << ", last name: " << transName; + addendl=true; + } + /* cout << ", likes: "; diff --git a/output/Memory.xml b/output/Memory.xml index 81a695cfc..297c12dc7 100644 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -1405,7 +1405,7 @@ map_data_1b60_offset 0x1B9c Translations ============ WORLD + 0x54E50 -
0x016AFFD8
+
0x016B1020
WORLD + 0x54E80
0x16B1050