README.md

RPG Tips

This package is a compilation of functions in R to make RStudio the optimal RPGing environment.

Included games

These are the products included, as well as the prefix of the functions that call their tables.

Some additional goodies: - PC Options: backgrounds extracted from 5e and PF 2e: pc_background. - Random monster generators: monster_osr for OSR D&D monsters and monster_path for monsters from Pathfinder 1e. - Settlements stuff: settlement, to create size, name and government type of a place.

How to install

As this is not on CRAN and it won´t be for a lot of time, you best bet is to use "install_github" function from the "devtools" package:

install.packages("devtools")

library(devtools)

install_github("rpg-tips/RPGTips")

How to use it

The different functions and generators are divided by preffixes:

gme for Mythic-related functions. Some examples:

gme_fate_check()
## [1] "Exceptional No"
gme_detail_check()
## [1] "Focus PC"
gme_actions_table()
## [1] "Attach Art"
gme_turning_point()
##      theme                     point
## 1  tension          Into the Unknown
## 2  tension (Meta) Character Steps Up
## 3 personal                Conclusion
## 4 personal                      None
## 5  mystery           The Hidden Hand

iron for Ironsworn-related functions. Some examples:

iron_dice()
## [1] "Miss"
iron_combat_actions()
## [1] "Attack with precision"
iron_npc_disposition()
## [1] "Helpful"

There are two additional auxiliar functions, roll and roll_table.

roll(n = 1, d = 6)
## [1] 3
roll(n = 4, d = 6, type = "drop_min")
## [1] 11
roll(n = 2, d = 20, type = "advantage")
## [1] 16
roll(n = 2, d = 20, type = "disadvantage")
## [1] 4
roll(type = "fate")
## [1] 2
seed_counter <- 7777
roll_table(gme_actions_table)
## [1] "Fight Animals"
roll_table(gme_event_check)
## [1] "Move Away from a Thread"
roll_table(iron_npc_goal)
## [1] "Rebel against power"
roll_table(iron_dice)
## [1] "Miss"


rpg-tips/RPGTips documentation built on Feb. 21, 2020, 3:40 p.m.