Remove creature move type record

This commit is contained in:
2025-06-06 15:32:19 +01:00
parent e9b69be7de
commit 7292bc9012
16 changed files with 193 additions and 183 deletions
+3 -2
View File
@@ -2,6 +2,7 @@ module Dodge.Creature.Info (
yourInfo,
) where
import Dodge.Creature.Statistics
import Dodge.Inventory.CheckSlots
import Dodge.Data.Creature
import LensHelp
@@ -28,8 +29,8 @@ yourStatsInfo cr =
"You are " ++ statsModifier str "weak" "strength" "strong" ++ conj
++ statsModifier dex "clumsy." "dexterity." "dexterous."
where
str = cr ^. crStatistics . strength
dex = cr ^. crStatistics . dexterity
str = cr & crStrength
dex = cr & crDexterity
conj
| (str < 45 && dex < 45) || (str > 55 && dex > 55) || (mid str && mid dex) =
" and "