Scripts

BILL_MT_WritVarro

Morrowind.esm
Variables 2
Local Variables
CL1
CL2
Source
1Begin BILL_MT_WritVarro 2; log a journal entry for each successful 'hit' the player performs for the Morag Tong 3 4; script location: should be placed on each and every target of the Morag Tong, with 5; changes to reflect the person it is running on. 6 7short CL1 8short CL2 9 10if ( MenuMode == 1 ) 11 return 12endif 13 14if ( CellChanged == 1 ) 15 set CL1 to GetPCCrimeLevel 16endif 17 18if ( OnDeath == 1 ) 19 ; when we are killed... 20 21 if ( GetJournalIndex MT_WritVarro > 0 ) 22 ; ... and if the player has a writ for us... 23 24 set CL2 to GetPCCrimeLevel 25 if ( CL2 > CL1 ) 26 ; ... append a journal entry if the execution is seen ... 27 Player->Journal MT_WritVarro 80 28 else 29 ; ... append a journal entry if the execution is NOT seen ... 30 Player->Journal MT_WritVarro 90 31 endif 32 endif 33endif 34 35End