TR_m3_OE_RumaDisableSCP
TR_Mainland.esm
Variables
8
Local Variables
control
controlQ
NoLore
doOnce
Topics
T_Local_NPC
TR_Map
T_Local_NoLore
Source
1begin TR_m3_OE_RumaDisableSCP
2
3;a script that disables and enables certain NPCs and items that are needed in one TG quest
4
5short control
6short controlQ
7short NoLore
8short doOnce
9short Topics
10short T_Local_NPC
11short TR_Map
12short T_Local_NoLore
13
14if ( TR_Map != 3 )
15 set TR_Map to 3
16endif
17
18if ( OnDeath )
19 set TR_m3_OE_RumaDead to 1
20endif
21
22if ( GetDisabled )
23 if ( GetJournalIndex "TR_m3_TG_Fentus3b" < 10 )
24 return
25 elseif ( GetJournalIndex "TR_m3_TG_Fentus3b" >= 100 )
26 return
27 endif
28endif
29
30if ( GetJournalIndex "TR_m3_TG_Fentus3b" < 10 )
31 Disable
32 return
33elseif ( GetJournalIndex "TR_m3_TG_Fentus3b" >= 100 )
34 Disable
35 return
36endif
37
38if ( GetJournalIndex "TR_m3_TG_Fentus3b" == 10 )
39 if ( doOnce < 2 )
40 enable
41; addtopic "Colovian battlewine"
42; addtopic "Cyrodiilic brandy"
43; addtopic "Wayrest spiced wine"
44 set doOnce to 2
45 endif
46endif
47
48end