Adding new tower types and concept of tower deck
This commit is contained in:
parent
d1930a6b00
commit
117c77b4a8
16 changed files with 463 additions and 19 deletions
|
|
@ -72,6 +72,10 @@ namespace TD.Gameplay
|
|||
"Player must cancel pending jobs or wait for one to complete.")]
|
||||
public string MessageJobLimitReached = "Builder queue is full.";
|
||||
|
||||
[Tooltip("Shown when the player tries to place a tower they haven't unlocked in " +
|
||||
"their deck yet. Draft it first.")]
|
||||
public string MessageTowerNotInDeck = "You haven't unlocked that tower yet.";
|
||||
|
||||
[Tooltip("Shown for unexpected server-side errors (invalid tower type, etc.). " +
|
||||
"Should rarely appear in normal play.")]
|
||||
public string MessageServerError = "Placement failed. Please try again.";
|
||||
|
|
@ -92,6 +96,7 @@ namespace TD.Gameplay
|
|||
case PlacementRejectionReason.OutOfRange: return MessageOutOfRange;
|
||||
case PlacementRejectionReason.BlocksPath: return MessageBlocksPath;
|
||||
case PlacementRejectionReason.JobLimitReached: return MessageJobLimitReached;
|
||||
case PlacementRejectionReason.TowerNotInDeck: return MessageTowerNotInDeck;
|
||||
case PlacementRejectionReason.InvalidTowerType:
|
||||
case PlacementRejectionReason.ServerError:
|
||||
default: return MessageServerError;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue