Scripts

TR_m1_FW_TulnusNoteRead

TR_Mainland.esm
Variables 3
Local Variables
OnPCEquip
PCSkipEquip
doonce
Source
1Begin TR_m1_FW_TulnusNoteRead 2 3short OnPCEquip 4short PCSkipEquip 5short doonce 6 7if ( doonce == 1 ) 8 return 9endif 10 11set PCSkipEquip to 0 12 13; Activating from the inventory 14 15if ( MenuMode ) 16 set PCSkipEquip to 1 17 if ( OnPCEquip ) 18 Journal "TR_m1_FW_OutOfOrder" 10 19 set doonce to 1 20 set OnPCEquip to 0 21 set PCSkipEquip to 0 ; OpenMW fails to open the book without this line 22 Activate 23 endif 24 return 25endif 26 27if ( OnActivate ) 28 Journal "TR_m1_FW_OutOfOrder" 10 29 set doonce to 1 30 Activate 31endif 32end