R/bestiary.R

Defines functions bestiary

Documented in bestiary

#' Monster list
#' @export
bestiary <- function() {
  dplyr::tribble(
    ~name,      ~hp,  ~mp, ~strength, ~defense, ~speed, ~magic, ~xp,
    "slime",      2,    0,         1,        1,      1,      1,   1,
    "skeleton",   5,    0,         1,        1,      1,      1,   2,
    "giant",      10,   0,         1,        1,      1,      1,   3
  )
}
anthonypileggi/rpg documentation built on May 21, 2019, 10:10 a.m.