PLAYER

Name

PLAYER -- class inheriting CREATURE

Quick-index

(SETF CURRENT-MANA)(SETF PLAYER.POWER-LVL)INFRAVISIONPLAYER.MAX-DEPTH
(SETF GET-CREATURE-INVENTORY)(SETF PLAYER.RACE)INVENTORYPLAYER.MAX-LEVEL
(SETF GET-LIGHT-RADIUS)(SETF PLAYER.SATIATION)LEAVING?PLAYER.MAXIMUM-XP
(SETF GET-RESISTANCE-TABLE)(SETF PLAYER.SEE-INVISIBLE)LIGHT-RADIUSPLAYER.MISC
(SETF GET-STAT-SUSTAINS)(SETF PLAYER.SKILLS)MAX-DEPTHPLAYER.MODBASE-STATS
(SETF MAXIMUM-MANA)(SETF PLAYER.SPEED)MAX-LEVELPLAYER.MONSTER-KNOWLEDGE
(SETF PLAYER.ACTIVE-STATS)(SETF PLAYER.TARGET)MAX-MANAPLAYER.NAME
(SETF PLAYER.ACTUAL-ABILITIES)(SETF PLAYER.TEMP-ATTRS)MAXIMUM-MANAPLAYER.OBJECT-KNOWLEDGE
(SETF PLAYER.BASE-STATS)(SETF PLAYER.VIEW-X)MAXIMUM-XPPLAYER.PERCEIVED-ABILITIES
(SETF PLAYER.BURDEN)(SETF PLAYER.VIEW-Y)MISCPLAYER.POWER-LVL
(SETF PLAYER.CALC-ATTRS)(SETF PLAYER.XP-TABLE)MODBASE-STATSPLAYER.RACE
(SETF PLAYER.CLASS)ACTIVE-STATSMONSTER-KNOWLEDGEPLAYER.SATIATION
(SETF PLAYER.CUR-STATMODS)ACTUAL-ABILITIESNAMEPLAYER.SEE-INVISIBLE
(SETF PLAYER.CURRENT-XP)BASE-STATSOBJECT-KNOWLEDGEPLAYER.SKILLS
(SETF PLAYER.DEAD-FROM)BURDENPERCEIVED-ABILITIESPLAYER.SPEED
(SETF PLAYER.DEPTH)CALCULATED-ATTRIBUTESPLAYER.ACTIVE-STATSPLAYER.TARGET
(SETF PLAYER.ENERGY)CLASSPLAYER.ACTUAL-ABILITIESPLAYER.TEMP-ATTRS
(SETF PLAYER.ENERGY-USE)CURRENT-MANAPLAYER.BASE-STATSPLAYER.VIEW-X
(SETF PLAYER.EQUIPMENT)CURRENT-MANAPLAYER.BURDENPLAYER.VIEW-Y
(SETF PLAYER.FRACTION-HP)CURRENT-STATMODSPLAYER.CALC-ATTRSPLAYER.XP-TABLE
(SETF PLAYER.FRACTION-MANA)CURRENT-XPPLAYER.CLASSPOWER-LVL
(SETF PLAYER.FRACTION-XP)DEAD-FROMPLAYER.CUR-STATMODSRACE
(SETF PLAYER.GENDER)DEPTHPLAYER.CURRENT-XPRESISTANCE
(SETF PLAYER.GOLD)ENERGYPLAYER.DEAD-FROMSATIATION
(SETF PLAYER.HP-TABLE)ENERGY-USEPLAYER.DEPTHSEE-INVISIBLE
(SETF PLAYER.INFRAVISION)EQUIPMENTPLAYER.ENERGYSKILLS
(SETF PLAYER.LEAVING?)FRACTION-HPPLAYER.ENERGY-USESPEED
(SETF PLAYER.MAX-DEPTH)FRACTION-MANAPLAYER.EQUIPMENTSTAT-SUSTAINS
(SETF PLAYER.MAX-LEVEL)FRACTION-XPPLAYER.FRACTION-HPTARGET
(SETF PLAYER.MAXIMUM-XP)GENDERPLAYER.FRACTION-MANATEMP-ATTRIBUTES
(SETF PLAYER.MISC)GET-CREATURE-INVENTORYPLAYER.FRACTION-XPVIEW-X
(SETF PLAYER.MODBASE-STATS)GET-LIGHT-RADIUSPLAYER.GENDERVIEW-Y
(SETF PLAYER.MONSTER-KNOWLEDGE)GET-RESISTANCE-TABLEPLAYER.GOLDXP-TABLE
(SETF PLAYER.NAME)GET-STAT-SUSTAINSPLAYER.HP-TABLE 
(SETF PLAYER.OBJECT-KNOWLEDGE)GOLDPLAYER.INFRAVISION 
(SETF PLAYER.PERCEIVED-ABILITIES)HP-TABLEPLAYER.LEAVING? 

Class details

(defclass PLAYER (CREATURE)(...))
scopepackage ORG.LANGBAND.ENGINE
locationclasses.lisp
inheritsCREATURE
# variables47
# methods94

Methods

(SETF CURRENT-MANA)
 ((SETF CURRENT-MANA) (OBJ PLAYER)) [accessor]
Called By 

REGENERATE-MANA! and ROLL-UP-CHARACTER!

CURRENT-MANA
 (CURRENT-MANA (OBJ PLAYER)) [accessor]
Called By 

DISPLAY-PLAYER-MISC, HANDLE-TURN, PRINT-MANA-POINTS, PROCESS-WORLD&, REGENERATE-MANA! and VAN-INVOKE-SPELL!

(SETF GET-CREATURE-INVENTORY)
 ((SETF GET-CREATURE-INVENTORY) (OBJ PLAYER)) [accessor]
Description 

quick variable to equipment.backpack.content

GET-CREATURE-INVENTORY
 (GET-CREATURE-INVENTORY (OBJ PLAYER)) [accessor]
Description 

quick variable to equipment.backpack.content

(SETF GET-LIGHT-RADIUS)
 ((SETF GET-LIGHT-RADIUS) (OBJ PLAYER)) [accessor]

GET-LIGHT-RADIUS
 (GET-LIGHT-RADIUS (OBJ PLAYER)) [accessor]

(SETF GET-RESISTANCE-TABLE)
 ((SETF GET-RESISTANCE-TABLE) (OBJ PLAYER)) [accessor]
Description 

What does the player resist and how much? object is an array with index for each element, each element is an integer which tells the power of the resist

GET-RESISTANCE-TABLE
 (GET-RESISTANCE-TABLE (OBJ PLAYER)) [accessor]
Description 

What does the player resist and how much? object is an array with index for each element, each element is an integer which tells the power of the resist

(SETF GET-STAT-SUSTAINS)
 ((SETF GET-STAT-SUSTAINS) (OBJ PLAYER)) [accessor]
Description 

bit-flag based on registered stats.

GET-STAT-SUSTAINS
 (GET-STAT-SUSTAINS (OBJ PLAYER)) [accessor]
Description 

bit-flag based on registered stats.

(SETF MAXIMUM-MANA)
 ((SETF MAXIMUM-MANA) (OBJ PLAYER)) [accessor]
Description 

can be calculated

MAXIMUM-MANA
 (MAXIMUM-MANA (OBJ PLAYER)) [accessor]
Description 

can be calculated

Called By 

DISPLAY-PLAYER-MISC, HANDLE-TURN, PRINT-MANA-POINTS, PROCESS-WORLD&, REGENERATE-MANA! and ROLL-UP-CHARACTER!

(SETF PLAYER.ACTIVE-STATS)
 ((SETF PLAYER.ACTIVE-STATS) (OBJ PLAYER)) [accessor]
Description 

This is the current active stat-value, it's value is calculated by: (base + curstatmods + race + class + eq)

PLAYER.ACTIVE-STATS
 (PLAYER.ACTIVE-STATS (OBJ PLAYER)) [accessor]
Description 

This is the current active stat-value, it's value is calculated by: (base + curstatmods + race + class + eq)

Called By 

CAN-LEARN-MORE-SPELLS?, DISPLAY-PLAYER-STATS, GET-STAT-INFO-VALUE and HANDLE-PLAYER-UPDATES!

(SETF PLAYER.ACTUAL-ABILITIES)
 ((SETF PLAYER.ACTUAL-ABILITIES) (OBJ PLAYER)) [accessor]
Description 

A player-abilities object with actual abilties.

PLAYER.ACTUAL-ABILITIES
 (PLAYER.ACTUAL-ABILITIES (OBJ PLAYER)) [accessor]
Description 

A player-abilities object with actual abilties.

Called By 

CALCULATE-ABILITIES! and HANDLE-PLAYER-UPDATES!

(SETF PLAYER.BASE-STATS)
 ((SETF PLAYER.BASE-STATS) (OBJ PLAYER)) [accessor]
Description 

An array with the base stats

PLAYER.BASE-STATS
 (PLAYER.BASE-STATS (OBJ PLAYER)) [accessor]
Description 

An array with the base stats

Called By 

DISPLAY-PLAYER-STATS and UPDATE-PLAYER-STAT!

(SETF PLAYER.BURDEN)
 ((SETF PLAYER.BURDEN) (OBJ PLAYER)) [accessor]
Description 

Calculated value for how much player carries.

PLAYER.BURDEN
 (PLAYER.BURDEN (OBJ PLAYER)) [accessor]
Description 

Calculated value for how much player carries.

(SETF PLAYER.CALC-ATTRS)
 ((SETF PLAYER.CALC-ATTRS) (OBJ PLAYER)) [accessor]
Description 

Should be a hash-table with calculated attributes.

Called By 

PRODUCE-PLAYER-OBJECT

PLAYER.CALC-ATTRS
 (PLAYER.CALC-ATTRS (OBJ PLAYER)) [accessor]
Description 

Should be a hash-table with calculated attributes.

Called By 

CALCULATE-ABILITIES!, CALCULATE-ABILITIES!, GET-CREATURE-STATE, HANDLE-PLAYER-UPDATES!, PROCESS-WORLD&, PRODUCE-PLAYER-OBJECT, RESET-PLAYER-OBJECT! and UPDATE-SLEEP-STATUS

(SETF PLAYER.CLASS)
 ((SETF PLAYER.CLASS) (OBJ PLAYER)) [accessor]
Description 

The character-class of the player.

Called By 

%QUERY-FOR-CLASS

PLAYER.CLASS
 (PLAYER.CLASS (OBJ PLAYER)) [accessor]
Description 

The character-class of the player.

Called By 

(SETF PLAYER.CUR-STATMODS)
 ((SETF PLAYER.CUR-STATMODS) (OBJ PLAYER)) [accessor]
Description 

An array with the diff (possibly drained or raised values) of the base stats

PLAYER.CUR-STATMODS
 (PLAYER.CUR-STATMODS (OBJ PLAYER)) [accessor]
Description 

An array with the diff (possibly drained or raised values) of the base stats

Called By 

UPDATE-PLAYER-STAT!

(SETF PLAYER.CURRENT-XP)
 ((SETF PLAYER.CURRENT-XP) (OBJ PLAYER)) [accessor]

PLAYER.CURRENT-XP
 (PLAYER.CURRENT-XP (OBJ PLAYER)) [accessor]

(SETF PLAYER.DEAD-FROM)
 ((SETF PLAYER.DEAD-FROM) (OBJ PLAYER)) [accessor]
Description 

Who killed the player?

Called By 

RUN-LEVEL!

PLAYER.DEAD-FROM
 (PLAYER.DEAD-FROM (OBJ PLAYER)) [accessor]
Description 

Who killed the player?

(SETF PLAYER.DEPTH)
 ((SETF PLAYER.DEPTH) (OBJ PLAYER)) [accessor]
Called By 

PRODUCE-PLAYER-OBJECT

PLAYER.DEPTH
 (PLAYER.DEPTH (OBJ PLAYER)) [accessor]
Called By 

GAME-LOOP&, PLAY-GAME&, PRODUCE-PLAYER-OBJECT and USE-STAIR!

(SETF PLAYER.ENERGY)
 ((SETF PLAYER.ENERGY) (OBJ PLAYER)) [accessor]

PLAYER.ENERGY
 (PLAYER.ENERGY (OBJ PLAYER)) [accessor]

(SETF PLAYER.ENERGY-USE)
 ((SETF PLAYER.ENERGY-USE) (OBJ PLAYER)) [accessor]
Description 

is just a temp-variable

Called By 

MOVE-PLAYER!

PLAYER.ENERGY-USE
 (PLAYER.ENERGY-USE (OBJ PLAYER)) [accessor]
Description 

is just a temp-variable

Called By 

INTERACTIVE-WEAR-ITEM!, SEARCH-AREA! and USE-OBJECT!

(SETF PLAYER.EQUIPMENT)
 ((SETF PLAYER.EQUIPMENT) (OBJ PLAYER)) [accessor]
Description 

A pointer to the items worn.

PLAYER.EQUIPMENT
 (PLAYER.EQUIPMENT (OBJ PLAYER)) [accessor]
Description 

A pointer to the items worn.

Called By 

PRODUCE-PLAYER-OBJECT, REMOVE-CURSE! and UPDATE-INVENTORY-ROW

(SETF PLAYER.FRACTION-HP)
 ((SETF PLAYER.FRACTION-HP) (OBJ PLAYER)) [accessor]
Called By 

REGENERATE-HP!

PLAYER.FRACTION-HP
 (PLAYER.FRACTION-HP (OBJ PLAYER)) [accessor]
Called By 

REGENERATE-HP!

(SETF PLAYER.FRACTION-MANA)
 ((SETF PLAYER.FRACTION-MANA) (OBJ PLAYER)) [accessor]
Called By 

REGENERATE-MANA!

PLAYER.FRACTION-MANA
 (PLAYER.FRACTION-MANA (OBJ PLAYER)) [accessor]
Called By 

REGENERATE-MANA!

(SETF PLAYER.FRACTION-XP)
 ((SETF PLAYER.FRACTION-XP) (OBJ PLAYER)) [accessor]

PLAYER.FRACTION-XP
 (PLAYER.FRACTION-XP (OBJ PLAYER)) [accessor]

(SETF PLAYER.GENDER)
 ((SETF PLAYER.GENDER) (OBJ PLAYER)) [accessor]
Description 

Pointer to the player-gender.

Called By 

%QUERY-FOR-GENDER

PLAYER.GENDER
 (PLAYER.GENDER (OBJ PLAYER)) [accessor]
Description 

Pointer to the player-gender.

Called By 

GET-CHARACTER-PICTURE, GET-GENDER-NAME, IS-FEMALE? and IS-MALE?

(SETF PLAYER.GOLD)
 ((SETF PLAYER.GOLD) (OBJ PLAYER)) [accessor]

PLAYER.GOLD
 (PLAYER.GOLD (OBJ PLAYER)) [accessor]
Called By 

%STORE-BUY-ITEM and %STORE-SELL-ITEM

(SETF PLAYER.HP-TABLE)
 ((SETF PLAYER.HP-TABLE) (OBJ PLAYER)) [accessor]
Description 

An array of hitpoints gained each character-level. Note: should be saved.

PLAYER.HP-TABLE
 (PLAYER.HP-TABLE (OBJ PLAYER)) [accessor]
Description 

An array of hitpoints gained each character-level. Note: should be saved.

(SETF PLAYER.INFRAVISION)
 ((SETF PLAYER.INFRAVISION) (OBJ PLAYER)) [accessor]
Description 

How far does infravision reach? 0 for no infravision.

Called By 

HANDLE-PLAYER-UPDATES!

PLAYER.INFRAVISION
 (PLAYER.INFRAVISION (OBJ PLAYER)) [accessor]
Description 

How far does infravision reach? 0 for no infravision.

Called By 

DISPLAY-PLAYER-COMBAT-RATINGS

(SETF PLAYER.LEAVING?)
 ((SETF PLAYER.LEAVING?) (OBJ PLAYER)) [accessor]
Called By 

PRODUCE-PLAYER-OBJECT and RUN-LEVEL!

PLAYER.LEAVING?
 (PLAYER.LEAVING? (OBJ PLAYER)) [accessor]
Called By 

GAME-LOOP& and RUN-LEVEL!

(SETF PLAYER.MAX-DEPTH)
 ((SETF PLAYER.MAX-DEPTH) (OBJ PLAYER)) [accessor]

PLAYER.MAX-DEPTH
 (PLAYER.MAX-DEPTH (OBJ PLAYER)) [accessor]
Called By 

PRODUCE-PLAYER-OBJECT

(SETF PLAYER.MAX-LEVEL)
 ((SETF PLAYER.MAX-LEVEL) (OBJ PLAYER)) [accessor]
Description 

can be calculated from max-xp

PLAYER.MAX-LEVEL
 (PLAYER.MAX-LEVEL (OBJ PLAYER)) [accessor]
Description 

can be calculated from max-xp

(SETF PLAYER.MAXIMUM-XP)
 ((SETF PLAYER.MAXIMUM-XP) (OBJ PLAYER)) [accessor]

PLAYER.MAXIMUM-XP
 (PLAYER.MAXIMUM-XP (OBJ PLAYER)) [accessor]

(SETF PLAYER.MISC)
 ((SETF PLAYER.MISC) (OBJ PLAYER)) [accessor]
Description 

An object with misc info about the player character.

PLAYER.MISC
 (PLAYER.MISC (OBJ PLAYER)) [accessor]
Description 

An object with misc info about the player character.

(SETF PLAYER.MODBASE-STATS)
 ((SETF PLAYER.MODBASE-STATS) (OBJ PLAYER)) [accessor]
Description 

This is the modified base stats (base + race + class + eq)

PLAYER.MODBASE-STATS
 (PLAYER.MODBASE-STATS (OBJ PLAYER)) [accessor]
Description 

This is the modified base stats (base + race + class + eq)

Called By 

DISPLAY-PLAYER-STATS

(SETF PLAYER.MONSTER-KNOWLEDGE)
 ((SETF PLAYER.MONSTER-KNOWLEDGE) (OBJ PLAYER)) [accessor]
Description 

Knowledge about monsters.

PLAYER.MONSTER-KNOWLEDGE
 (PLAYER.MONSTER-KNOWLEDGE (OBJ PLAYER)) [accessor]
Description 

Knowledge about monsters.

Called By 

GET-MONSTER-KNOWLEDGE and INTERACTIVE-IDENTIFY-SYMBOL

(SETF PLAYER.NAME)
 ((SETF PLAYER.NAME) (OBJ PLAYER)) [accessor]
Description 

The name of the player.

Called By 

%GET-NAME-INPUT!

PLAYER.NAME
 (PLAYER.NAME (OBJ PLAYER)) [accessor]
Description 

The name of the player.

Called By 

DISPLAY-PLAYER-MISC, PRINT-TOMB and SAVE-THE-GAME

(SETF PLAYER.OBJECT-KNOWLEDGE)
 ((SETF PLAYER.OBJECT-KNOWLEDGE) (OBJ PLAYER)) [accessor]
Description 

Knowledge about objects.

PLAYER.OBJECT-KNOWLEDGE
 (PLAYER.OBJECT-KNOWLEDGE (OBJ PLAYER)) [accessor]
Description 

Knowledge about objects.

Called By 

GET-OBJECT-KNOWLEDGE

(SETF PLAYER.PERCEIVED-ABILITIES)
 ((SETF PLAYER.PERCEIVED-ABILITIES) (OBJ PLAYER)) [accessor]
Description 

A player-abilities object with perceived abilties.

PLAYER.PERCEIVED-ABILITIES
 (PLAYER.PERCEIVED-ABILITIES (OBJ PLAYER)) [accessor]
Description 

A player-abilities object with perceived abilties.

Called By 

CALCULATE-ABILITIES!, DISPLAY-PLAYER-COMBAT-RATINGS and HANDLE-PLAYER-UPDATES!

(SETF PLAYER.POWER-LVL)
 ((SETF PLAYER.POWER-LVL) (OBJ PLAYER)) [accessor]
Description 

can be calculated from cur-xp

PLAYER.POWER-LVL
 (PLAYER.POWER-LVL (OBJ PLAYER)) [accessor]
Description 

can be calculated from cur-xp

Called By 

CALCULATE-ABILITIES!, CALCULATE-ABILITIES!, CAN-LEARN-MORE-SPELLS?, DISPLAY-PLAYER-MISC, LEARN-SPELL! and PRINT-TOMB

(SETF PLAYER.RACE)
 ((SETF PLAYER.RACE) (OBJ PLAYER)) [accessor]
Description 

Pointer to the player-race.

Called By 

%QUERY-FOR-RACE

PLAYER.RACE
 (PLAYER.RACE (OBJ PLAYER)) [accessor]
Description 

Pointer to the player-race.

Called By 

%QUERY-FOR-CLASS, DISPLAY-PLAYER-STATS, GET-CHARACTER-PICTURE, GET-CLASS-TILE and GET-RACE-NAME

(SETF PLAYER.SATIATION)
 ((SETF PLAYER.SATIATION) (OBJ PLAYER)) [accessor]
Called By 

MODIFY-SATIATION!

PLAYER.SATIATION
 (PLAYER.SATIATION (OBJ PLAYER)) [accessor]
Called By 

HANDLE-PLAYER-UPDATES!, MODIFY-SATIATION! and PROCESS-WORLD&

(SETF PLAYER.SEE-INVISIBLE)
 ((SETF PLAYER.SEE-INVISIBLE) (OBJ PLAYER)) [accessor]
Description 

How far does 'see invisible' reach? 0 for no see-inv.

Called By 

HANDLE-PLAYER-UPDATES!

PLAYER.SEE-INVISIBLE
 (PLAYER.SEE-INVISIBLE (OBJ PLAYER)) [accessor]
Description 

How far does 'see invisible' reach? 0 for no see-inv.

(SETF PLAYER.SKILLS)
 ((SETF PLAYER.SKILLS) (OBJ PLAYER)) [accessor]
Description 

Meaning depends entirely on variant, engine will not touch this.

Called By 

PRODUCE-PLAYER-OBJECT

PLAYER.SKILLS
 (PLAYER.SKILLS (OBJ PLAYER)) [accessor]
Description 

Meaning depends entirely on variant, engine will not touch this.

Called By 

CALCULATE-ABILITIES!, CALCULATE-ABILITIES!, DISPLAY-PLAYER-SKILLS, GET-MELEE-ATTACK-SKILL, GET-RANGED-ATTACK-SKILL, GET-SEARCH-SKILL, HANDLE-PLAYER-UPDATES! and RESET-PLAYER-OBJECT!

(SETF PLAYER.SPEED)
 ((SETF PLAYER.SPEED) (OBJ PLAYER)) [accessor]

PLAYER.SPEED
 (PLAYER.SPEED (OBJ PLAYER)) [accessor]
Called By 

HANDLE-PLAYER-UPDATES!

(SETF PLAYER.TARGET)
 ((SETF PLAYER.TARGET) (OBJ PLAYER)) [accessor]
Description 

Who/what is the player targeting?

Called By 

HANDLE-MOUSE-CLICK, INTERACTIVE-TARGETING!, REMOVE-MONSTER-FROM-DUNGEON! and RUN-LEVEL!

PLAYER.TARGET
 (PLAYER.TARGET (OBJ PLAYER)) [accessor]
Description 

Who/what is the player targeting?

Called By 

GET-AIM-DIRECTION, GET-DESTINATION-COORDS, HANDLE-MOUSE-CLICK, INTERACTIVE-TARGETING!, IS-TARGETING? and SWAP-MONSTERS!

(SETF PLAYER.TEMP-ATTRS)
 ((SETF PLAYER.TEMP-ATTRS) (OBJ PLAYER)) [accessor]
Description 

Should be a hash-table with temporary attributes.

Called By 

PRODUCE-PLAYER-OBJECT

PLAYER.TEMP-ATTRS
 (PLAYER.TEMP-ATTRS (OBJ PLAYER)) [accessor]
Description 

Should be a hash-table with temporary attributes.

Called By 

(SETF PLAYER.VIEW-X)
 ((SETF PLAYER.VIEW-X) (OBJ PLAYER)) [accessor]
Called By 

ADJUST-VIEWPORT! and RUN-LEVEL!

PLAYER.VIEW-X
 (PLAYER.VIEW-X (OBJ PLAYER)) [accessor]
Called By 

ADJUST-VIEWPORT!, CLEAR-OLD-TILES!, DRAW-ACTIVE-OBJECTS, DRAW-CREATURES, GET-RELATIVE-COORDS, HANDLE-MOUSE-CLICK, LIGHT-SPOT!, PRINT-MAP, PUT-CURSOR-RELATIVE!, VERIFY-VIEWPORT and VIEWPORT-CONTAINS?

(SETF PLAYER.VIEW-Y)
 ((SETF PLAYER.VIEW-Y) (OBJ PLAYER)) [accessor]
Called By 

ADJUST-VIEWPORT! and RUN-LEVEL!

PLAYER.VIEW-Y
 (PLAYER.VIEW-Y (OBJ PLAYER)) [accessor]
Called By 

ADJUST-VIEWPORT!, CLEAR-OLD-TILES!, DRAW-ACTIVE-OBJECTS, DRAW-CREATURES, GET-RELATIVE-COORDS, HANDLE-MOUSE-CLICK, LIGHT-SPOT!, PRINT-MAP, PUT-CURSOR-RELATIVE!, VERIFY-VIEWPORT and VIEWPORT-CONTAINS?

(SETF PLAYER.XP-TABLE)
 ((SETF PLAYER.XP-TABLE) (OBJ PLAYER)) [accessor]
Description 

can be calculated

PLAYER.XP-TABLE
 (PLAYER.XP-TABLE (OBJ PLAYER)) [accessor]
Description 

can be calculated

Slots

ACTIVE-STATS
slot ACTIVE-STATS is of type T
Description 

This is the current active stat-value, it's value is calculated by: (base + curstatmods + race + class + eq)

ACTUAL-ABILITIES
slot ACTUAL-ABILITIES is of type T
Description 

A player-abilities object with actual abilties.

BASE-STATS
slot BASE-STATS is of type T
Description 

An array with the base stats

BURDEN
slot BURDEN is of type T
Description 

Calculated value for how much player carries.

CALCULATED-ATTRIBUTES
slot CALCULATED-ATTRIBUTES is of type T
Description 

Should be a hash-table with calculated attributes.

CLASS
slot CLASS is of type T
Description 

The character-class of the player.

CURRENT-MANA
slot CURRENT-MANA is of type T

CURRENT-STATMODS
slot CURRENT-STATMODS is of type T
Description 

An array with the diff (possibly drained or raised values) of the base stats

CURRENT-XP
slot CURRENT-XP is of type T

DEAD-FROM
slot DEAD-FROM is of type T
Description 

Who killed the player?

 slot DEPTH is of type T
 slot ENERGY is of type T

ENERGY-USE
slot ENERGY-USE is of type T
Description 

is just a temp-variable

EQUIPMENT
slot EQUIPMENT is of type T
Description 

A pointer to the items worn.

 slot FRACTION-HP is of type T
 slot FRACTION-MANA is of type T
 slot FRACTION-XP is of type T

GENDER
slot GENDER is of type T
Description 

Pointer to the player-gender.

GOLD
slot GOLD is of type T

HP-TABLE
slot HP-TABLE is of type T
Description 

An array of hitpoints gained each character-level. Note: should be saved.

INFRAVISION
slot INFRAVISION is of type T
Description 

How far does infravision reach? 0 for no infravision.

INVENTORY
slot INVENTORY is of type T
Description 

quick variable to equipment.backpack.content

 slot LEAVING? is of type T
 slot LIGHT-RADIUS is of type T
 slot MAX-DEPTH is of type T

MAX-LEVEL
slot MAX-LEVEL is of type T
Description 

can be calculated from max-xp

MAX-MANA
slot MAX-MANA is of type T
Description 

can be calculated

MAXIMUM-XP
slot MAXIMUM-XP is of type T

MISC
slot MISC is of type T
Description 

An object with misc info about the player character.

MODBASE-STATS
slot MODBASE-STATS is of type T
Description 

This is the modified base stats (base + race + class + eq)

MONSTER-KNOWLEDGE
slot MONSTER-KNOWLEDGE is of type T
Description 

Knowledge about monsters.

NAME
slot NAME is of type T
Description 

The name of the player.

OBJECT-KNOWLEDGE
slot OBJECT-KNOWLEDGE is of type T
Description 

Knowledge about objects.

PERCEIVED-ABILITIES
slot PERCEIVED-ABILITIES is of type T
Description 

A player-abilities object with perceived abilties.

POWER-LVL
slot POWER-LVL is of type T
Description 

can be calculated from cur-xp

RACE
slot RACE is of type T
Description 

Pointer to the player-race.

RESISTANCE
slot RESISTANCE is of type T
Description 

What does the player resist and how much? object is an array with index for each element, each element is an integer which tells the power of the resist

SATIATION
slot SATIATION is of type T

SEE-INVISIBLE
slot SEE-INVISIBLE is of type T
Description 

How far does 'see invisible' reach? 0 for no see-inv.

SKILLS
slot SKILLS is of type T
Description 

Meaning depends entirely on variant, engine will not touch this.

SPEED
slot SPEED is of type T

STAT-SUSTAINS
slot STAT-SUSTAINS is of type T
Description 

bit-flag based on registered stats.

TARGET
slot TARGET is of type T
Description 

Who/what is the player targeting?

TEMP-ATTRIBUTES
slot TEMP-ATTRIBUTES is of type T
Description 

Should be a hash-table with temporary attributes.

 slot VIEW-X is of type T
 slot VIEW-Y is of type T

XP-TABLE
slot XP-TABLE is of type T
Description 

can be calculated

This documentation was generated Autumn 2003 from the original sources by Albert v.0.4.9.