WritBerano
Tribunal.esm
Variables
3
Local Variables
CL1
CL2
nolore
Source
1Begin WritBerano
2; log a journal entry for a successful 'hit' on Forven Berano
3
4
5short CL1
6short CL2
7short nolore
8
9if ( MenuMode == 1 )
10 return
11endif
12
13if ( CellChanged == 1 )
14 set CL1 to GetPCCrimeLevel
15endif
16
17if ( OnDeath == 1 )
18 ; when we are killed...
19
20 if ( GetJournalIndex TR08_Hlaalu >= 70 )
21 ; ... and if the player has a writ for us...
22
23 set CL2 to GetPCCrimeLevel
24 if ( CL2 > CL1 )
25 ; ... append a journal entry if the execution is seen ...
26 Journal TR08_Hlaalu_Berano_A 1
27 else
28 ; ... append a journal entry if the execution is NOT seen ...
29 Journal TR08_Hlaalu_Berano_A 5
30 endif
31 endif
32endif
33
34End