public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer) { if (Conditions.NotHandicapped(pPlayer, Activity.JumpOverGap) && Conditions.Contains(pPlayer, rIObj)) { return(Activity.JumpOverGap); } return(Activity.None); }
public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer) { if (Conditions.NotHandicapped(pPlayer, Activity.SlipThroughRock) && Conditions.Contains(pPlayer, rIObj) && Conditions.ActivityNotInUseByOtherPlayer(pOtherPlayer, this) ) { return(Activity.SlipThroughRock); } return(Activity.None); }
public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer) { if (Conditions.Contains(pPlayer, rIObj)) { if (Conditions.NotHandicapped(pPlayer, Activity.PushDoor) && (pPlayer.Lantern || pOtherPlayer.Lantern) ) { return(Activity.PushDoor); } } return(Activity.None); }
public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer) { if ( Conditions.NotHandicapped(pPlayer, Activity.LegUpGrab) && Conditions.Contains(pPlayer, rIObj) ) { if (!m2ndState) { return(Activity.LegUp); } return(Activity.LegUpGrab); } return(Activity.None); }
public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer) { if (!m2ndState && Conditions.NotHandicapped(pPlayer, Activity.KnockOverTree) && Conditions.Contains(pPlayer, rIObj) && Conditions.NearestActionPosition1(pPlayer, rIObj) && Conditions.ActivityNotInUseByOtherPlayer(pOtherPlayer, this) ) { return(Activity.KnockOverTree); } if (m2ndState && Conditions.NotHandicapped(pPlayer, Activity.BalanceOverTree) && Conditions.Contains(pPlayer, rIObj) && Conditions.ActivityNotInUseByOtherPlayer(pOtherPlayer, this) ) { return(Activity.BalanceOverTree); } return(Activity.None); }