TR_m3_OE_ScNPC_NeelGymont
TR_Mainland.esm
Variables
10
Local Variables
TR_Map
control
controlQ
TR_m3_OE_rich
bowlCount
bowlOne
bowlTwo
bowlThree
T_Local_NPC
NoLore
Source
1Begin TR_m3_OE_ScNPC_NeelGymont
2
3; Script on NPC "TR_m3_Neel Gymont" for quest "TR_m3_OE_Inspiration".
4; Counts the bowls carried by the player. Did you know how many different kinds
5; of bowls there are? I bet you didn't. Probably the list is outdated by the time you're
6; reading it.
7;
8; Now only needs to keep track of purple glass bowls - Boyos
9
10short TR_Map
11short control
12short controlQ
13short TR_m3_OE_rich
14short bowlCount
15short bowlOne
16short bowlTwo
17short bowlThree
18short T_Local_NPC
19short NoLore
20
21if ( GetJournalIndex "TR_m3_OE_Inspiration" == 30 )
22 Set bowlOne to ( player->GetItemCount "T_De_PurpleGlassBowl_01" )
23 Set bowlTwo to ( player->GetItemCount "T_De_PurpleGlassBowl_02" )
24 Set bowlThree to ( player->GetItemCount "T_De_PurpleGlassBowl_03" )
25 Set bowlCount to ( bowlOne + bowlTwo + bowlThree )
26endif
27
28if ( onDeath )
29 if ( GetJournalIndex "TR_m3_OE_Inspiration" >= 10 )
30 Journal "TR_m3_OE_Inspiration" 150
31 endif
32endif
33
34if ( TR_Map == 3 )
35 return
36endif
37
38set TR_Map to 3
39set TR_m3_OE_rich to 1
40
41End