Scripts

TR_m7_q_kwama_leash_sc

TR_Mainland.esm
Source
1Begin TR_m7_q_kwama_leash_sc 2 3if ( GetJournalIndex TR_m7_HO_CluelessEggminer_W > 0 ) 4 if ( TR_m7_q_CE_CanLeashWorkers ) 5 set TR_m7_q_CE_CanLeashWorkers to 0 6 endif 7 Return 8endif 9 10if ( MenuMode ) 11 if ( TR_m7_q_CE_CanLeashWorkers == 0 ) 12 if ( player->GetItemCount TR_m7_q_kwama_leash > 0 ) 13 set TR_m7_q_CE_CanLeashWorkers to 1 14 endif 15 elseif ( player->GetItemCount TR_m7_q_kwama_leash < 1 ) 16 set TR_m7_q_CE_CanLeashWorkers to 0 17 endif 18endif 19 20End