packages feed

werewolf 0.4.2.2 → 0.4.2.3

raw patch · 4 files changed

+34/−6 lines, 4 files

Files

CHANGELOG.md view
@@ -2,6 +2,13 @@  #### Upcoming +#### v0.4.2.3++*Revisions*++* Fixed grammar for the `currentStageMessages`. ([#83](https://github.com/hjwylde/werewolf/issues/83))+* Fixed the `heal` command help message to not require a `PLAYER` argument. ([#82](https://github.com/hjwylde/werewolf/issues/82))+ #### v0.4.2.2  *Revisions*@@ -20,13 +27,20 @@  * Added the Villager role. ([#37](https://github.com/hjwylde/werewolf/issues/37)) +#### v0.4.1.3++*Revisions*++* Fixed grammar for the `currentStageMessages`. ([#83](https://github.com/hjwylde/werewolf/issues/83))+* Fixed the `heal` command help message to not require a `PLAYER` argument. ([#82](https://github.com/hjwylde/werewolf/issues/82))+ #### v0.4.1.2  *Revisions*  * Added missing module to Cabal file.->>>>>>> release/0.4.1 + #### v0.4.1.1  *Revisions*@@ -38,6 +52,12 @@ *Minor*  * Added the Witch role. ([#5](https://github.com/hjwylde/werewolf/issues/5))++#### v0.4.0.1++*Revisions*++* Fixed grammar for the `currentStageMessages`. ([#83](https://github.com/hjwylde/werewolf/issues/83))  #### v0.4.0.0 
app/Werewolf/Commands/Help.hs view
@@ -64,8 +64,8 @@     "end",     "- Ends the current game."     ], [-    "heal PLAYER",-    "- Heal a devoured player. The Witch may heal a devoured player at nighttime."+    "heal",+    "- Heal the devoured player. The Witch may heal the devoured player at nighttime."     ], [     "pass",     "- Pass. A Witch may pass on poisoning a player."
src/Game/Werewolf/Response.hs view
@@ -266,10 +266,18 @@ currentStageMessages to GameOver    = [gameIsOverMessage to] currentStageMessages _ Sunrise      = [] currentStageMessages _ Sunset       = []-    -- TODO (hjw): pluralise this correctly for the Seer currentStageMessages to turn        = [privateMessage to $ T.concat [-    "It's currently the ", T.pack $ show turn, "' turn."+    "It's currently the ", showTurn turn, " turn."     ]]+    where+        showTurn :: Stage -> Text+        showTurn GameOver       = undefined+        showTurn SeersTurn      = "Seer's"+        showTurn Sunrise        = undefined+        showTurn Sunset         = undefined+        showTurn VillagesTurn   = "Village's"+        showTurn WerewolvesTurn = "Werewolves'"+        showTurn WitchsTurn     = "Witch's"  rolesInGameMessage :: Maybe Text -> [Role] -> Message rolesInGameMessage mTo roles = Message mTo $ T.concat [
werewolf.cabal view
@@ -1,5 +1,5 @@ name:           werewolf-version:        0.4.2.2+version:        0.4.2.3  author:         Henry J. Wylde maintainer:     public@hjwylde.com