Scripts

TR_m1_FW_StoneSummon

TR_Mainland.esm
Variables 3
Local Variables
OnPCEquip
control
doonce
Source
1begin TR_m1_FW_StoneSummon 2 3short OnPCEquip 4short control 5short doonce 6 7if ( MenuMode == 1 ) 8 return 9endif 10 11if ( OnPCEquip == 0 ) 12 set control to 0 13 return 14endif 15 16if ( control == 0 ) 17 if ( OnPCEquip == 1 ) 18 set control to 1 19 endif 20endif 21 22if ( control == 1 ) 23 if ( getjournalindex TR_m1_FW_TG6_Stone < 105 ) 24 PlaceAtPC, "TR_m1_FW_DremoraSummoner", 1, 128, 1 25 if ( doonce == 0 ) 26 if ( GetJournalIndex TR_m1_FW_TG6_Stone > 0 ) 27 Journal TR_m1_FW_TG6_Stone 50 28 set doonce to 1 29 endif 30 set TR_m1_FW_TG_StoneWorn to 1 31 endif 32 endif 33 set control to 2 34endif 35 36End