Learn R Programming

dndR (version 3.0.0)

npc_creator: Create a Non-Player Character (NPC)

Description

Randomly selects a race and job for a user-specified number of NPCs

Usage

npc_creator(npc_count = 1)

Value

(dataframe) dataframe with two columns (one for race and one for job) and a number of rows equal to `npc_count`

Arguments

npc_count

(numeric) number of NPCs for which to choose race/positions

Examples

Run this code
# Create some information for an NPC
dndR::npc_creator(npc_count = 1)

Run the code above in your browser using DataLab