Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

canPlayerSelectTrait

Description

Returns whether the player can select the specified trait when creating a player character.

Arguments

1 traitData data

the data.

2 developer dev

the developer.

3 string currentTraitID

the trait to replace.

Returns

1 bool

the state.