Player Character

class pynwn.PlayerCharacter(resref, container)
appearance

Appearance ID.

appearance_head

Head appearance ID.

bodybag

Body bag.

charisma

Creature’s charisma.

constitution

Creature’s constitution.

conversation

Dialog resref.

corpse_decay

Corpse decay time.

cr

Challenge Rating

dead_selectable

Selectable when dead flag.

desc_override

Description Override

detect_mode

Detect mode.

dexterity

Creature’s dexterity.

diety

Deity

disarmable

Disarmable flag.

equips

Creature’s equipment list.

Returns:List of tuples containing equipment ID and ItemInstance.
experience

Experience.

faction

Faction ID.

gender

Gender.

get_description(lang=None)

Localized description

get_name_first(lang=None)

Localized first name

get_name_last(lang=None)

Localized last name

goodevil

Good - Evil

hp

HP.

hp_current

Current hitpoints.

hp_max

Maximum hitpoints.

hp_pregame_current

Pregame current hitpoints.

intelligence

Creature’s intelligence.

is_commandable

Commandable flag.

is_destroyable

Destroyable flag.

is_dm

Dungeon Master flag.

is_immortal

Immortal flag.

is_pc

Player character flag.

is_raisable

Raisable flag.

lawchaos

Lawful - Chaotic

level_stats

Player’s level stat list.

lootable

Lootable.

master

Master object ID.

movement_rate

Movement rate.

natural_ac

Natural AC.

no_perm_death

No permenant death flag.

phenotype

Phenotype ID.

plot

Plot flag.

portrait

Portrait resref.

portrait_id

Portrait ID.

race

Racial Type

save_fortitude

Fortitude saving throw.

save_reflex

Reflex saving throw.

save_will

Will saving throw.

set_description(lang=None, string=None)

Localized description

set_name_first(lang=None, string=None)

Localized first name

set_name_last(lang=None, string=None)

Localized last name

size

Size.

skillpoints

Skill points.

stage()

Stage changes to the placeable’s GFF structure.

starting_package

Starting package ID.

stealth_mode

Stealth mode.

strength

Creature’s strength.

subrace

Subrace.

tag

Tag

tail

Tail ID.

wings

Wings ID.

wisdom

Creature’s wisdom.