예제 #1
0
 public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer)
 {
     if (Conditions.NotHandicapped(pPlayer, Activity.JumpOverGap) &&
         Conditions.Contains(pPlayer, rIObj))
     {
         return(Activity.JumpOverGap);
     }
     return(Activity.None);
 }
예제 #2
0
 public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer)
 {
     if (Conditions.NotHandicapped(pPlayer, Activity.UseWell) &&
         Conditions.AtRightSideOfWell(pPlayer, rIObj)
         )
     {
         return(Activity.UseWell);
     }
     return(Activity.None);
 }
예제 #3
0
 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);
 }
예제 #4
0
 public override Activity GetPossibleActivity(Player pPlayer, Player pOtherPlayer)
 {
     if (Conditions.NotHandicapped(pPlayer, Activity.UseAmulet) &&
         Conditions.ActivityNotInUseByOtherPlayer(pOtherPlayer, this) &&
         !pPlayer.Lantern &&
         !m2ndState
         )
     {
         return(Activity.UseAmulet);
     }
     return(Activity.None);
 }
예제 #5
0
 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);
 }
예제 #6
0
 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);
 }
예제 #7
0
 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);
 }