new.game: New Game

Description Usage Arguments Details See Also

View source: R/new.game.R

Description

Starts a new game, saved at the specified location.

Usage

1
new.game(location, day = "monday")

Arguments

location

Sets the save file location and name, e.g. "C:/Users/.../rsurvival/rsurvivalsave.csv". Must be .csv format.

day

Sets the current day for use in run.day. Must be in lowercase. Defaults to "monday"

Details

This function starts a new game, setting all values to the default and saving them to the directory and file specified by the location argument.

See Also

defaults for task configuration run.day for processing daily changes load.game for loading your game


alexisblackbird/R-Survival documentation built on May 24, 2019, 3:01 a.m.