Vampire Compatibility

Vampire Compatibility

Solves an incompatibility between those two addons :
Eoland's Vampire Race : https://te4.org/games/addons/tome/eolandvampire
Inferno Race Pack : https://te4.org/games/addons/tome/infernoracepack

The two vampire races can now be selected separately.
Eoland's is Undead/vampire, Inferno's is Vampire/Vampire.


Vampire Compatibility on Steam's Workshop
See addon usage in the character's vault.
0
Your rating: None
Name Module Version Required Released File
Fixed case 1.7.2 2021-06-02 01:29
tome-VampireCompat.teaa
Fix for chat & vault 1.7.2 2021-04-19 19:35
tome-VampireCompat.teaa
Misplaced file fix 1.7.2 2021-04-19 16:28
tome-VampireCompat.teaa
VampireCompat 1.7.2 2021-04-19 15:45
tome-VampireCompat.teaa

a question

Does it also saves an incompatibility of Inferno's mod due to talent changes in 1.7.? That one failed to start for some time..

config file

That's probably because you have the necrosis tweak enabled from an earlier version.
Go to C/users/username/T-engine/4.0/settings and delete "tome.inferno_undead_necrosis"
It should solve your problem.

My addon doesn't change any talent and doesn't actually makes changes to the inferno race pack. Only the birth file for Eoland's vampire.

Note for addon creators

Did you know that while talents use "name" for the name of the talent and "short _name" for the technical name, classes and races use "display_name" for their name and "name" for the technical name?
So, if you use "display_name", you can write something longer in "name" and avoid conflicts with other addons.

Edit :
Nevermind, it works but both the chat and the character vault use "name" and not "display_name"
"short_name" exists in the code of the birther but where it should get used, "name" gets used instead.

Edit2 :
The chat/vault issue can be solved by placing this inside "copy" :
for races :
descriptor = {subrace = "Race name" },
for classes :
descriptor = {subclass = "Class name" },

Not quite.

I'm still working on a solution but when added directly to the data and not in overload, descriptor = {subrace = "Race name" } in copy {} throws a null ref error.

Worked out a solution.

Managed to get ahold of inferno on discord and we worked a solution out for that compatibility. Your descriptor = {subrace = "Vampire" } solution is tying into something from Inferno's mod and that was why I was getting an error on my own thing. Inferno worked out an if then check which I implemented. My mod now checks to see if you have his installed and mine will use that solution, otherwise it will work as before.

The last ToME update made

The last ToME update made changes to the way classes/races are registered so it's not really strange for my workaround to be outdated.