diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-09 14:45:50 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-07-09 14:45:50 +0200 |
commit | 1f7f1f67c87ed5c5580dde228f88ce55bccd9b77 (patch) | |
tree | c8a12822cce2e6d2b918387565b434a444a89c42 | |
parent | 2acf38c0ec4b1a37422d6f9bc55e4db0b46690ac (diff) | |
download | 2017-01-16_17:13:37-1f7f1f67c87ed5c5580dde228f88ce55bccd9b77.tar 2017-01-16_17:13:37-1f7f1f67c87ed5c5580dde228f88ce55bccd9b77.tar.gz 2017-01-16_17:13:37-1f7f1f67c87ed5c5580dde228f88ce55bccd9b77.tar.bz2 2017-01-16_17:13:37-1f7f1f67c87ed5c5580dde228f88ce55bccd9b77.tar.xz 2017-01-16_17:13:37-1f7f1f67c87ed5c5580dde228f88ce55bccd9b77.zip |
vehicles
-rw-r--r-- | src/Sequence/Contact/Archetypes.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Sequence/Contact/Archetypes.hs b/src/Sequence/Contact/Archetypes.hs index c0c043a..c93210d 100644 --- a/src/Sequence/Contact/Archetypes.hs +++ b/src/Sequence/Contact/Archetypes.hs | |||
@@ -24,6 +24,7 @@ import qualified Data.Set as Set | |||
24 | import Data.Default | 24 | import Data.Default |
25 | import Data.Maybe | 25 | import Data.Maybe |
26 | import Data.Ratio | 26 | import Data.Ratio |
27 | import Data.ExtendedReal | ||
27 | 28 | ||
28 | import Data.List | 29 | import Data.List |
29 | 30 | ||
@@ -52,6 +53,10 @@ archetypes = [ ("Requisite", prop) | |||
52 | , ("Kindersoldat", kindersoldat) | 53 | , ("Kindersoldat", kindersoldat) |
53 | , ("Passant", passant) | 54 | , ("Passant", passant) |
54 | , ("Großer Hund", grosserHund) | 55 | , ("Großer Hund", grosserHund) |
56 | |||
57 | , ("ATV", atv) | ||
58 | , ("FAV", fav) | ||
59 | , ("AUV", auv) | ||
55 | ] | 60 | ] |
56 | 61 | ||
57 | cTable :: Ord v => [(Integer, Integer, v)] -> Table v | 62 | cTable :: Ord v => [(Integer, Integer, v)] -> Table v |
@@ -445,6 +450,7 @@ childOfMu = human | |||
445 | & sSeqVal +~ d 10 | 450 | & sSeqVal +~ d 10 |
446 | & sPainTolerance -~ vMass `quot'` 2 | 451 | & sPainTolerance -~ vMass `quot'` 2 |
447 | 452 | ||
453 | |||
448 | grosserHund = dog | 454 | grosserHund = dog |
449 | & sAStrength .~ 5 | 455 | & sAStrength .~ 5 |
450 | & sAEndurance .~ 8 | 456 | & sAEndurance .~ 8 |
@@ -545,3 +551,15 @@ passant = human | |||
545 | & sAWillpower .~ 4 | 551 | & sAWillpower .~ 4 |
546 | & sSFirearms +~ 5 | 552 | & sSFirearms +~ 5 |
547 | & sSInterface +~ 4 | 553 | & sSInterface +~ 4 |
554 | |||
555 | vehicle robustness armor = prop | ||
556 | & sHitzones .~ [("Volumen", 1)] | ||
557 | & sRobustness ?~ robustness | ||
558 | & sArmor .~ const armor' | ||
559 | where | ||
560 | armor' Cold = return PosInf | ||
561 | armor' Toxic = return PosInf | ||
562 | armor' _ = return armor | ||
563 | atv = vehicle 100 3 | ||
564 | fav = vehicle 200 2 | ||
565 | auv = vehicle 400 10 | ||