The comparison value seems to be used inconsistently in vanilla dialogues. For example, here are two responses not spoken by Dunmers, with different conditions using the function 'Not race':
- An info record with a condition 'Not race Dark Elf == 0':
Code: Select all
Record: INFO '' Id: 26653148642147220888 Previous ID: 28808202713101558 Next ID: 1816415572264858065 Text: Morrowind is a peculiar mixture of Dunmer tradition and Imperial modernism. The council system of government works well, and the Temple provides shelter, education, and health for all. At the same time, the Legions and magistrates guarantee rule of law and justice, and free trade has made everybody in Vvardenfell prosperous. But there's still a lot of race hatred, and slavery ought to be outlawed, regardless of 'sacred Dunmer customs.' And the proud Dunmer will always be bitter about the Occupation. Class: Noble Factionless: 0 Disposition: 50 Result Script: [skipped] Quest Status: None (0) Unknown1: 0 Unknown2: 0 Select Rule: Not Race Dark Elf == variant int: 0 Select Rule: Not Local NoLore == variant int: 0
- An other info record with a condition 'Not race Dark Elf == 1':
Code: Select all
Record: INFO '' Id: 1099415527244467957 Previous ID: 555729883470615831 Next ID: 61353802131015109 Text: Dark Elves are the dark-skinned, red-eyed Elven peoples of Morrowind. The 'dark' part may come from their dark grey skin, but it also fits their gloomy dispositions. Folks call them 'Dark Elf' in the West, but they call themselves the 'Dunmer.' They have no sense of humor, and always take themselves very seriously. They look down their noses at all the other races -- particularly the Khajiit and Argonians, which they treat like animals. Class: Noble Factionless: 0 Disposition: 30 Result Script: [skipped] Quest Status: None (0) Unknown1: 0 Unknown2: 0 Select Rule: Not Local NoLore == variant int: 0 Select Rule: Not Race Dark Elf == variant int: 1
Code: Select all
Record: INFO ''
Id: 274456285702816317
Previous ID: 885081952991516541
Next ID: 1845225656310539227
Text: Excuse me, sera.
Race: Argonian
Class: Slave
Factionless: 0
Disposition: 50
Gender:
Sound File: vo\a\f\Hlo_AF071.mp3
Result Script: [skipped]
Quest Status: Invalid (1836204320)
Unknown1: 1
Unknown2: 0
Select Rule: Not Race Argonian == variant int: 1
Here are my changes for the moment: https://github.com/PotatoesMaster/openm ... efb45be6a7