Scripts

TR_m3_OE_RumaBouncerSCP

TR_Mainland.esm
Variables 8
Local Variables
control
controlQ
NoLore
doOnce
Topics
T_Local_NPC
TR_Map
T_Local_NoLore
Source
1begin TR_m3_OE_RumaBouncerSCP 2 3;a script that disables and enables Ruma Soanix' bouncer in one TG quest 4 5short control 6short controlQ 7short NoLore 8short doOnce 9short Topics 10short T_Local_NPC 11short TR_Map 12short T_Local_NoLore 13 14if ( CellChanged ) 15 if ( GetDisabled ) 16 if ( GetJournalIndex "TR_m3_TG_Fentus3b" < 10 ) 17 return 18 elseif ( GetJournalIndex "TR_m3_TG_Fentus3b" >= 100 ) 19 return 20 endif 21 endif 22 23 if ( GetJournalIndex "TR_m3_TG_Fentus3b" < 10 ) 24 Disable 25 return 26 elseif ( GetJournalIndex "TR_m3_TG_Fentus3b" >= 100 ) 27 Disable 28 return 29 endif 30 31 if ( GetJournalIndex "TR_m3_TG_Fentus3b" == 10 ) 32 if ( doOnce < 2 ) 33 enable 34; addtopic "Colovian battlewine" 35; addtopic "Cyrodiilic brandy" 36; addtopic "Wayrest spiced wine" 37 set doOnce to 2 38 endif 39 endif 40endif 41 42if ( OnDeath ) 43 set TR_m3_OE_RumaDead to 1 44endif 45 46if ( TR_Map ) 47 return 48endif 49 50set TR_Map to 3 51 52end