Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/Sandrem/FlyCasual in…
Browse files Browse the repository at this point in the history
…to development
  • Loading branch information
Sandrem committed Mar 30, 2019
2 parents a988120 + 35405c3 commit 5ae19a5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private bool SetupFilter()
DistanceInfo distInfo = new DistanceInfo(HostShip, enemyShip);
if (distInfo.Range < 4)
{
Messages.ShowErrorToHuman("Boba Fett's Ability: Invalid location for this ship:\nThe range to " + enemyShip.PilotInfo.PilotName + " is " + distInfo.Range + ". It must be beyond range 3.");
Messages.ShowErrorToHuman("Boba Fett's Ability: The range to the closest enemy is " + distInfo.Range + ". It must be beyond range 3.");
return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public override bool ThisShipCanBeSelected(GenericShip ship, int mouseKeyIsPress
}
else
{
Messages.ShowErrorToHuman(ship.PilotInfo.PilotName + " cannot be selected.\n The ship must be owned by " + RequiredPlayer + " and have a pilot skill of " + RequiredPilotSkill);
Messages.ShowErrorToHuman("This ship cannot be selected. The ship must be owned by " + RequiredPlayer + " and have a pilot skill of " + RequiredPilotSkill + ".");
}
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Model/Phases/SubPhases/CombatSubPhase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public override bool ThisShipCanBeSelected(GenericShip ship, int mouseKeyIsPress
}
else
{
Messages.ShowErrorToHuman(ship.PilotInfo.PilotName + " cannot be selected. \nThe ship must be owned by " + Tools.PlayerToInt(RequiredPlayer) + " and have an initiative of " + RequiredPilotSkill);
Messages.ShowErrorToHuman("This ship cannot be selected. The ship must be owned by " + Tools.PlayerToInt(RequiredPlayer) + " and have an initiative of " + RequiredPilotSkill + ".");
}

return result;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Model/Phases/SubPhases/GenericSubPhase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public virtual bool ThisShipCanBeSelected(GenericShip ship, int mouseKeyIsPresse
}
else
{
Messages.ShowErrorToHuman(ship.PilotName + " cannot be selected.\n The ship must be owned by " + Phases.CurrentSubPhase.RequiredPlayer + " and have a pilot skill of " + Phases.CurrentSubPhase.RequiredPilotSkill);
Messages.ShowErrorToHuman("This ship cannot be selected. The ship must be owned by " + Phases.CurrentSubPhase.RequiredPlayer + " and have a pilot skill of " + Phases.CurrentSubPhase.RequiredPilotSkill + ".");
}
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Model/Phases/SubPhases/SetupSubPhase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public override bool ThisShipCanBeSelected(GenericShip ship, int mouseKeyIsPress
}
else
{
Messages.ShowErrorToHuman(ship.PilotInfo.PilotName + " cannot be selected:\n The ship must be owned by " + Phases.CurrentSubPhase.RequiredPlayer + " and have a pilot skill of " + Phases.CurrentSubPhase.RequiredPilotSkill);
Messages.ShowErrorToHuman("This ship cannot be selected. The ship must be owned by " + Phases.CurrentSubPhase.RequiredPlayer + " and have a pilot skill of " + Phases.CurrentSubPhase.RequiredPilotSkill + ".");
}
return result;
}
Expand Down
8 changes: 8 additions & 0 deletions Assets/_TerrainAutoUpgrade.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ae19a5

Please sign in to comment.