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

87 lines
2.6 KiB
Haskell
Raw Normal View History

2023-11-09 22:44:20 +01:00
module DND.Bob (bob) where
2023-11-10 16:47:11 +01:00
import DND.Sheet.Content
2023-11-09 22:44:20 +01:00
bob :: Character
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]
testStats = [strStat,dexStat,conStat,intStat,wisStat,chaStat]
testPreamble :: Preamble
testPreamble = Preamble 1 "Bob" "Elf" "Fighter" False
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
wisStat = Stat "Wisdom" 10 False
2023-11-09 22:44:20 +01:00
wisSkills :: [Skill]
wisSkills = [ Skill "Animal Handling" None "Wisdom"
, Skill "Insight" None "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'" } ]