Scripts

TR_m4_q_PickledFishBarrelSc

TR_Mainland.esm
Source
1Begin TR_m4_q_PickledFishBarrelSc 2 3if ( OnActivate ) 4 PlaySound "item misc up" 5 player->additem TR_m4_barrel_pickled_fish 1 6 disable 7 set TR_m4_q_PickledFishStolen to 1 8 if ( GetDeadCount "TR_m4_Hyrrik the Rude" == 0 ) 9 "TR_m4_Hyrrik the Rude"->ModDisposition -100 10 "TR_m4_Hyrrik the Rude"->setfight 100 11 ; no startcombat for stealthy players 12 endif 13endif 14 15if ( TR_m4_q_PickledFishStolen ) 16 if ( GetDisabled == 0 ) 17 disable 18 endif 19endif 20 21End