Scripts

BILL_MT_WritBaladas

Morrowind.esm
Variables 5
Local Variables
noLore
CL1
CL2
givenReward
timer
Source
1Begin BILL_MT_WritBaladas 2; log a journal entry for each successful 'hit' the player performs for the Morag Tong 3 4short noLore 5 6; script location: should be placed on each and every target of the Morag Tong, with 7; changes to reflect the person it is running on. 8 9short CL1 10short CL2 11float timer 12 13;for doing his three book quests in House Telvanni 14;reward flag 15 16short givenReward 17 18if ( MenuMode == 1 ) 19 Return 20endif 21 22;below added for IL_RescueRagash behavior. Should not affects Bill's MT quest. 23 24if ( timer != -1 ) 25 ;flag set in dialogue to make him not attack 26 Set timer to ( timer + GetSecondsPassed ) 27endif 28 29if ( timer > 2 ) 30 set timer to 0 31 if ( GetDetected "ragash gra-shuzgub" == 1 ) 32 StartCombat "ragash gra-shuzgub" 33 endif 34endif 35 36 37if ( CellChanged == 1 ) 38 StopCombat 39 set CL1 to GetPCCrimeLevel 40endif 41 42if ( OnDeath == 1 ) 43 ; when we are killed... 44 45 Set TelvanniDead to ( TelvanniDead + 1 ) 46 ;this line for Telvanni Hortator... This Baladas is in too many quests! 47 48 if ( GetJournalIndex MT_WritBaladas > 0 ) 49 ; ... and if the player has a writ for us... 50 ;dug sez: er... NO. If the player is ON THE QUEST 51 ;otherwise if the player drops the writ, the quest is broke 52 53 set CL2 to GetPCCrimeLevel 54 if ( CL2 > CL1 ) 55 ; ... append a journal entry if the execution is seen ... 56 Player->Journal MT_WritBaladas 80 57 else 58 ; ... append a journal entry if the execution is NOT seen ... 59 Player->Journal MT_WritBaladas 90 60 endif 61 endif 62endif 63 64End