2019-05-18 23:56:48 -04:00
module Cards where
import Types
getCardInfo :: CardSym -> CardLib -> CardInfo
getCardInfo c cl = snd $ head $ filter ( \ ( s , _ ) -> s == c ) cl
2019-05-20 06:51:06 -04:00
getCardLine :: CardSym -> CardLib -> String
getCardLine c cl = '"' : ciLine ( getCardInfo c cl ) ++ '"'
2019-05-18 23:56:48 -04:00
gCardLib :: CardLib
gCardLib =
[ ( S01_Shinji , ciS01_Shinji )
, ( S02_Asuka , ciS02_Asuka )
, ( S03_Rei , ciS03_Rei )
, ( S04_Misato , ciS04_Misato )
, ( S05_Ritsuko , ciS05_Ritsuko )
, ( S06_Gendo , ciS06_Gendo )
]
2019-05-19 20:30:50 -04:00
ciS01_Shinji :: CardInfo
2019-05-18 23:56:48 -04:00
ciS01_Shinji = CardInfo
{ ciName = " 3rd Child - Shinji Ikari "
, ciFaction = Blue
, ciType = Character
, ciText = " Can speak one blue card every turn. "
, ciTraits = [ Male ]
, ciLineMarks = Just [ ( Circle , Blue ) ]
, ciLine = Just " I feel like I belong here! "
, ciDP = Just 0
, ciStrength = Nothing
, ciLevel = Nothing
, ciNextInst = Nothing
}
2019-05-19 20:30:50 -04:00
ciS02_Asuka :: CardInfo
2019-05-18 23:56:48 -04:00
ciS02_Asuka = CardInfo
{ ciName = " 2nd Child - Asuka Langley-Soryu "
, ciFaction = Red
, ciType = Character
, ciText = " Can speak one red card every turn. "
, ciTraits = [ Female ]
, ciLineMarks = Just [ ( Triangle , Blue ) , ( Triangle , Green ) , ( Triangle , Yellow ) ]
, ciLine = Just " What're you, stupid?! "
, ciDP = Just 1
, ciStrength = Nothing
, ciLevel = Nothing
, ciNextInst = Nothing
}
2019-05-19 20:30:50 -04:00
ciS03_Rei :: CardInfo
2019-05-18 23:56:48 -04:00
ciS03_Rei = CardInfo
{ ciName = " 1st Child - Rei Ayanami "
, ciFaction = White
, ciType = Character
, ciText = " Can speak one white card every turn. All white lines are zero DP. If down at the start of the Opening Draw phase, Rei recovers automatically. "
, ciTraits = [ Female ]
, ciLineMarks = Just [ ( Circle , White ) ]
, ciLine = Just " I feel connected. "
, ciDP = Just ( - 1 )
, ciStrength = Nothing
, ciLevel = Nothing
, ciNextInst = Nothing
}
2019-05-19 20:30:50 -04:00
ciS04_Misato :: CardInfo
2019-05-18 23:56:48 -04:00
ciS04_Misato = CardInfo
{ ciName = " Misato Katsuragi "
, ciFaction = Green
, ciType = Character
, ciText = " Can speak one green card every turn. "
, ciTraits = [ Female ]
, ciLineMarks = Just [ ( Circle , Green ) ]
, ciLine = Just " We can't wait for a miracle, let's give it our best shot. "
, ciDP = Just 0
, ciStrength = Nothing
, ciLevel = Nothing
, ciNextInst = Nothing
}
2019-05-19 20:30:50 -04:00
ciS05_Ritsuko :: CardInfo
2019-05-18 23:56:48 -04:00
ciS05_Ritsuko = CardInfo
{ ciName = " Ritsuko Akagi "
, ciFaction = Yellow
, ciType = Character
, ciText = " Can speak one yellow card every turn. "
, ciTraits = [ Female ]
, ciLineMarks = Just [ ( Circle , Yellow ) ]
, ciLine = Just " The one Unit Zero was after was me. "
, ciDP = Just 0
, ciStrength = Nothing
, ciLevel = Nothing
, ciNextInst = Nothing
}
2019-05-19 20:30:50 -04:00
ciS06_Gendo :: CardInfo
2019-05-18 23:56:48 -04:00
ciS06_Gendo = CardInfo
{ ciName = " Gendo Ikari "
, ciFaction = Black
, ciType = Character
, ciText = " Can speak one black card every turn. "
, ciTraits = [ Male ]
, ciLineMarks = Just [ ( Circle , Black ) ]
, ciLine = Just " There is no problem. "
, ciDP = Just ( - 1 )
, ciStrength = Nothing
, ciLevel = Nothing
, ciNextInst = Nothing
}