hgwcScript
Morrowind.esm
Variables
1
Local Variables
doOnce
Source
1Begin hgwcScript
2
3;script on bk_hanginggardenswasten
4
5short doOnce
6
7if ( doOnce == 1 )
8 Return
9endif
10
11if ( OnActivate == 1 )
12 AddTopic "Hanging Gardens"
13 if ( GetJournalIndex MG_Excavation < 40 )
14 Journal MG_Excavation 40
15 endif
16 Set doOnce to 1
17 Activate
18endif
19
20if ( GetJournalIndex MG_Excavation >= 40 )
21 Return
22endif
23
24if ( GetDistance Player < 200 )
25 Journal MG_Excavation 40
26endif
27
28End