sheet-parser-hs/lib/DND/Bob.hs

93 lines
2.8 KiB
Haskell
Raw Normal View History

2023-11-09 22:44:20 +01:00
module DND.Bob (bob) where
2024-11-18 17:24:26 +01:00
import DND.Sheet.Content
2023-11-09 22:44:20 +01:00
bob :: Character
2024-11-18 17:24:26 +01:00
bob = Character {skills = testSkills, trivia = testTrivia, stats = testStats, spells = Just testSpells, preamble = testPreamble, feats = Just testFeatures}
2023-11-09 22:44:20 +01:00
testStats :: [Stat]
2024-11-18 17:24:26 +01:00
testStats = [strStat, dexStat, conStat, intStat, wisStat, chaStat]
2023-11-09 22:44:20 +01:00
testPreamble :: Preamble
2024-11-19 10:40:42 +01:00
testPreamble = Preamble
{ charLevel = 5
, charName = "Bob"
, charRace = "Elf"
, charClass = "Fighter"
, jackOfAllTrades = False
}
2023-11-09 22:44:20 +01:00
testTrivia :: Trivia
testTrivia = Trivia "farmer" "none" "I me likey fun things" "yay" "all" "idk"
strStat :: Stat
strStat = Stat "Strength" 10 False
2023-11-09 22:44:20 +01:00
strSkills :: [Skill]
strSkills = [ Skill "Athletics" None "Strength" ]
2023-11-09 22:44:20 +01:00
dexStat :: Stat
dexStat = Stat "Dexterity" 10 False
2023-11-09 22:44:20 +01:00
dexSkills :: [Skill]
dexSkills = [ Skill "Acrobatics" None "Dexterity"
, Skill "Sleight of Hand" None "Dexterity"
, Skill "Stealth" None "Dexterity"
2023-11-09 22:44:20 +01:00
]
conStat :: Stat
conStat = Stat "Constitution" 10 False
2023-11-09 22:44:20 +01:00
intStat :: Stat
intStat = Stat "Intelligence" 10 False
2023-11-09 22:44:20 +01:00
intSkills :: [Skill]
intSkills = [ Skill "Arcana" None "Intelligence"
, Skill "History" None "Intelligence"
, Skill "Investigation" None "Intelligence"
, Skill "Nature" None "Intelligence"
, Skill "Religion" None "Intelligence"
2023-11-09 22:44:20 +01:00
]
wisStat :: Stat
2024-11-19 10:40:42 +01:00
wisStat = Stat "Wisdom" 20 False
2023-11-09 22:44:20 +01:00
wisSkills :: [Skill]
2024-11-19 10:40:42 +01:00
wisSkills = [ Skill "Animal Handling" Proficient "Wisdom"
, Skill "Insight" Expertise "Wisdom"
, Skill "Medicine" None "Wisdom"
, Skill "Perception" None "Wisdom"
, Skill "Survival" None "Wisdom"
2023-11-09 22:44:20 +01:00
]
chaStat :: Stat
chaStat = Stat "Charisma" 10 False
2023-11-09 22:44:20 +01:00
chaSkills :: [Skill]
chaSkills = [ Skill "Deception" None "Charisma"
, Skill "Intimidation" None "Charisma"
, Skill "Performance" None "Charisma"
, Skill "Persuasion" None "Charisma"
2023-11-09 22:44:20 +01:00
]
testSkills :: [Skill]
testSkills = strSkills ++ dexSkills ++ intSkills ++ wisSkills ++ chaSkills
2023-11-09 22:44:20 +01:00
testSpells :: [Spell]
testSpells = [ Spell { spellName = "Firetesticle"
, spellLevel = 3
, castingTime = "3 Minutes"
, range = 50
, components = [Verbal, Somatic]
, duration = "Instant"
, attackSave = "Dexterity"
, damageEffect = "Fire"
, description = "Shoots a huge testicle shaped fireball"
, school = "Conjuration"
, atHighLevel = "Cast more of the sodding things"
}
2023-11-09 22:44:20 +01:00
]
testFeatures :: [Feature]
testFeatures = [ Roleplay FeatInfo { featName = "fiets", featDescription = "allows you to ride a 'fiets'" } ]