TR_m3_NPC_OE_AetiaNemesia
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
disableonce
done
T_Local_NPC
NoLore
Source
1Begin TR_m3_NPC_OE_AetiaNemesia
2
3; Script on NPC "TR_m3_Aetia Nemesia" for quests
4; "TR_m3_EEC_counterfeit"
5; "TR_m3_EEC_spoon"
6; and "TR_m3_EEC_curse".
7
8short TR_Map
9short control
10short controlQ
11short disableonce
12short done ;done talking to Silverspoon
13short T_Local_NPC
14short NoLore
15
16if ( disableonce )
17 return
18endif
19
20if ( GetJournalIndex "TR_m3_EEC_counterfeit" > 0 )
21 if ( GetJournalIndex "TR_m3_EEC_counterfeit" < 30 )
22 if ( MenuMode == 0 )
23 set TR_m3_EEC_CounterfeitCount to Player->GetItemCount "TR_m3_q_fakedwemercoin_1"
24 set TR_m3_EEC_CounterfeitReward to ( TR_m3_EEC_CounterfeitCount * 50 )
25 endif
26 endif
27endif
28
29if ( GetJournalIndex "TR_m3_EEC_spoon" >= 30 )
30 if ( CellChanged )
31 set done to 1
32 endif
33endif
34
35if ( GetJournalIndex "TR_m3_EEC_curse" >= 50 )
36 if ( CellChanged )
37 Disable
38 set disableonce to 1
39 endif
40endif
41
42if ( OnDeath )
43 if ( GetJournalIndex "TR_m3_EEC_curse_merx" > 0 )
44 if ( GetJournalIndex "TR_m3_EEC_curse_merx" < 100 )
45 Journal "TR_m3_EEC_curse_merx" 95
46 endif
47 endif
48endif
49
50if ( TR_Map == 3 )
51 return
52endif
53
54set TR_Map to 3
55
56End