TR_m2_NPC_TelMuthadatower
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_Khajiit
NoLore
doOnce
Source
1Begin TR_m2_NPC_TelMuthadatower
2; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be
4; appropriate to the location the NPC is.
5
6short TR_Map
7short control
8short controlQ
9short T_Local_NPC
10short T_Local_Khajiit
11short NoLore
12short doOnce
13
14if ( doOnce == 0 )
15 if ( TR_m2_HT_Vaerin_RitualDone == 1 )
16 set doOnce to 1
17 SetAlarm 90
18 endif
19endif
20
21if ( T_Local_Khajiit )
22 return
23endif
24
25set T_Local_Khajiit to -1
26
27if ( GetRace "T_Els_Cathay" )
28 set T_Local_Khajiit to 1
29elseif ( GetRace "T_Els_Cathay-raht" )
30 set T_Local_Khajiit to 1
31elseif ( GetRace "T_Els_Dagi-raht" )
32 set T_Local_Khajiit to 1
33elseif ( GetRace "T_Els_Ohmes" )
34 set T_Local_Khajiit to 1
35elseif ( GetRace "T_Els_Ohmes-raht" )
36 set T_Local_Khajiit to 1
37elseif ( GetRace "T_Els_Suthay" )
38 set T_Local_Khajiit to 1
39elseif ( GetRace "T_Els_Tojay" )
40 set T_Local_Khajiit to 1
41elseif ( GetRace "Khajiit" )
42 set T_Local_Khajiit to 1
43endif
44set TR_Map to 2
45
46End