diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-06-25 18:24:51 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-06-25 18:24:51 +0200 |
commit | cec7e775320343b49024c1c03cc19b5e7366d034 (patch) | |
tree | 835269141d6eb3cfd7ded64fca4112fd1d708bf3 /src | |
parent | 40594d35f44fe301af61b8d003a7c9cdbd035a5b (diff) | |
download | 2017-01-16_17:13:37-cec7e775320343b49024c1c03cc19b5e7366d034.tar 2017-01-16_17:13:37-cec7e775320343b49024c1c03cc19b5e7366d034.tar.gz 2017-01-16_17:13:37-cec7e775320343b49024c1c03cc19b5e7366d034.tar.bz2 2017-01-16_17:13:37-cec7e775320343b49024c1c03cc19b5e7366d034.tar.xz 2017-01-16_17:13:37-cec7e775320343b49024c1c03cc19b5e7366d034.zip |
values to inspect
Diffstat (limited to 'src')
-rw-r--r-- | src/Sequence/Utils.hs | 58 |
1 files changed, 57 insertions, 1 deletions
diff --git a/src/Sequence/Utils.hs b/src/Sequence/Utils.hs index ba6ce95..bfc4743 100644 --- a/src/Sequence/Utils.hs +++ b/src/Sequence/Utils.hs | |||
@@ -151,5 +151,61 @@ instance Argument (Formula Stats) GameState where | |||
151 | MaybeT . preuse $ gFocus' . eStats . folding accessor | 151 | MaybeT . preuse $ gFocus' . eStats . folding accessor |
152 | 152 | ||
153 | statAccessors :: Map (CI String) (Stats -> Maybe (Formula Stats)) | 153 | statAccessors :: Map (CI String) (Stats -> Maybe (Formula Stats)) |
154 | statAccessors = [ | 154 | statAccessors = [ ("Stärke", preview sAStrength) |
155 | , ("Ausdauer", preview sAEndurance) | ||
156 | , ("Masse", preview sAMass) | ||
157 | , ("Reflexe", preview sAReflexes) | ||
158 | , ("Beweglichkeit", preview sAMobility) | ||
159 | , ("Geschicklichkeit", preview sADexterity) | ||
160 | , ("Intelligenz", preview sAIntelligence) | ||
161 | , ("Charisma", preview sACharisma) | ||
162 | , ("Wahrnehmung", preview sAPerception) | ||
163 | , ("Entschlossenheit", preview sAWillpower) | ||
164 | |||
165 | , ("Archaische Distanzwaffen", preview sSArchaicRanged) | ||
166 | , ("Handfeuerwaffen", preview sSFirearms) | ||
167 | , ("Schwere Waffen", preview sSHeavyWeapons) | ||
168 | , ("Energiewaffen", preview sSEnergyWeapons) | ||
169 | , ("Waffenloser Nahkampf", preview sSUnarmedMelee) | ||
170 | , ("Bewaffneter Nahkampf", preview sSArmedMelee) | ||
171 | , ("Wurfwaffen", preview sSThrownWeapons) | ||
172 | , ("Tarnen & Schleichen", preview sSStealth) | ||
173 | , ("Diebeshandwerk & Betrügerei", preview sSThievery) | ||
174 | , ("Schlösser Knacken", preview sSLockpicking) | ||
175 | , ("Fallen Stellen & Entschärfen", preview sSTrapping) | ||
176 | , ("Naturwissenschaften", preview sSSciences) | ||
177 | , ("Erste Hilfe", preview sSFirstAid) | ||
178 | , ("Medizinische Praktik", preview sSMedicine) | ||
179 | , ("Geisteswissenschaften", preview sSHumanities) | ||
180 | , ("Ingenieurwesen & Reperatur", preview sSEngineering) | ||
181 | , ("Handwerkskunst", preview sSCraft) | ||
182 | , ("Interface", preview sSInterface) | ||
183 | , ("Redekunst", preview sSSpeech) | ||
184 | , ("Führung", preview sSLeadership) | ||
185 | , ("Hauswirtschaft", preview sSHomeEconomics) | ||
186 | , ("Überlebenskunst", preview sSSurvival) | ||
187 | , ("Motorrad", preview sSMotorcycle) | ||
188 | , ("Radfahrzeug", preview sSWheeled) | ||
189 | , ("Schwebefahrzeug", preview sSHovercraft) | ||
190 | , ("Tragflächenmaschine", preview sSAircraft) | ||
191 | , ("Raumfahrzeug", preview sSSpacecraft) | ||
192 | , ("Wasserfahrzeug", preview sSWatercraft) | ||
193 | , ("Kettenfahrzeug", preview sSTracked) | ||
194 | , ("Exoskelett", preview sSExoskeleton) | ||
195 | |||
196 | , ("Beißen", preview sSBiting) | ||
197 | , ("Aufspüren", preview sSSearching) | ||
198 | , ("Betragen", preview sSDemeanour) | ||
199 | |||
200 | , ("Rammen", preview sSRamming) | ||
201 | , ("Zielerfassung", preview sSTargeting) | ||
202 | , ("Verständnis", preview sSComprehension) | ||
203 | |||
204 | , ("Maximale Vitalität", preview sMaxVitality) | ||
205 | , ("Sequenzwert", preview sSeqVal) | ||
206 | , ("Schmerztoleranz", preview sPainTolerance) | ||
207 | , ("Erschöpfungstoleranz", preview sFatigueTolerance) | ||
208 | |||
209 | , ("Vitalität", liftM2 (-) <$> preview sMaxVitality <*> preview (sTotalDamage . to return)) | ||
210 | , ("Erschöpfung", preview $ sFatigue . to return) | ||
155 | ] | 211 | ] |