Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

begin

Description

Begin the creation of a player character.

Arguments

1 bool inGame

whether we're creating a descendant.

2 bool initialSkillLevel

the initial skill level for the player character for all skills.

3 table initialSkillLevels

a table containing initial skill levels on a per-skill basis. Key is skill ID, value is the level. If a skill ID is not present within this table, then it will default to the value of initialSkillLevel.

Example

characterDesigner:begin(true, 40, {["software"] = 70})
-- begin creating a new player character, the character will start out with their software skill at level 70, with the rest of the skills at level 40.