MoonAndStar
Morrowind.esm
Variables
2
Local Variables
pickedup
speech
Source
1begin MoonAndStar
2
3;this goes on the moon and star ring
4;handles the Azura speech when you first pick it up
5
6
7short pickedup
8short speech
9
10if ( menumode == 1 )
11 return
12endif
13
14if ( pickedup == 1 )
15 return
16endif
17
18
19if ( pickedup == 0 )
20
21 if ( GetDistance, Player > 200 )
22 rotate, x, 360 ;spins around in air above Azura's hand, I'd like to give it a light too.
23 endif
24
25 if ( OnActivate == 1 )
26 set speech to 1
27 PlayBink "mw_cavern.bik" 1
28 endif
29
30endif
31
32if ( speech == 1 )
33
34 ;player->additem, "Moon_and_Star", 1
35 "Azura Ring Light"->disable
36 set speech to 0
37 set pickedup to 1
38 activate
39 ;disable
40
41 ;faction reaction and journal stuff
42 Journal "A2_6_Incarnate" 50
43 player->modReputation 5
44 PCJoinFaction, Nerevarine
45
46 if ( GetPCRank, Redoran >= 0 )
47 modFactionReaction, "Redoran", "Nerevarine", 4
48 endif
49
50 if ( GetPCRank, Temple >= 0 )
51 modFactionReaction, "Temple", "Nerevarine", 4
52 endif
53
54 ;make all the ghosts appear
55 "ghost_npc_ane teria"->Enable
56 "ghost_npc_conoon chodal"->Enable
57 "ghost_npc_erur-dan"->Enable
58 "ghost_npc_hort_ledd"->Enable
59 "ghost_npc_idrenie nerot"->Enable
60 "ghost_npc_peakstar"->Enable
61
62 ;start scripts which track and total conditions for Nerevarine and Hortator
63 StartScript All_Nerevarine
64 StartScript All_Hortator
65 addtopic "Redoran councilors"
66 addtopic "Telvanni councilors"
67 addtopic "Hlaalu councilors"
68 addtopic "Redoran Hortator"
69 addtopic "Hlaalu Hortator"
70 addtopic "Telvanni Hortator"
71
72
73endif
74
75end