Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.606 kb
module Roguestar.Lib.Species
(SpeciesData(..),
speciesInfo)
where
import Data.Char
import Roguestar.Lib.CreatureData
import Roguestar.Lib.SpeciesData
import Data.Monoid
import Roguestar.Lib.TerrainData
data SpeciesData = SpeciesData {
species_traits :: [(CreatureTrait,Integer)] }
speciesInfo :: Species -> SpeciesData
speciesInfo RedRecreant = SpeciesData [(Aggression,3),(Bulk,3),(Caution,3),(Dexterity,3),(Fortitude,2),(Perception,12),(Speed,2)]
speciesInfo BlueRecreant = SpeciesData [(Aggression,3),(Bulk,6),(Caution,6),(Dexterity,3),(Fortitude,25),(Perception,3),(Speed,4)]
Jump to Line
Something went wrong with that request. Please try again.