ORG.LANGBAND.VANILLA full listing

Name

ORG.LANGBAND.VANILLA full listing -- All funcallable objects

Package Content

Methods

%DESTROY-FLOOR-OBJ
 (%DESTROY-FLOOR-OBJ VARIANT DUNGEON X Y OBJ MSG) [function]
Calls 

(SETF CAVE-OBJECTS), AOBJ.NUMBER, CAVE-OBJECTS, FORMAT-MESSAGE!, ITEM-TABLE-REMOVE!, ITEMS.CUR-SIZE, LIGHT-SPOT! and WRITE-OBJ-DESCRIPTION

Location 

variants/vanilla/effects.lisp

%DUMMY-EAT-FUN
 (%DUMMY-EAT-FUN DUN PL ITEM) [function]
Description 

A hack to ensure all food-objects can be eaten.

Location 

variants/vanilla/objects.lisp

%GET-CUTLVL
 (%GET-CUTLVL CUTS) [function]
Description 

Returns (lvl colour description init-msg).

Called By 

PRINT-CUT

Location 

variants/vanilla/player.lisp

%GET-STUNLVL
 (%GET-STUNLVL STUN) [function]
Description 

Returns (lvl colour description init-msg).

Called By 

PRINT-STUN

Location 

variants/vanilla/player.lisp

%INPUT-ONE-KEY
 (%INPUT-ONE-KEY STR &KEY (X 0) (Y 0)) [function]
Called By 

INTERACTIVE-IDENTIFY-SYMBOL

Calls 

FLUSH-MESSAGES!, PUT-COLOURED-LINE! and READ-ONE-CHARACTER

Location 

variants/vanilla/various.lisp

%MODIFY-BOOLEAN-EFFECT
 (%MODIFY-BOOLEAN-EFFECT CREATURE STATE &KEY ADD SUBTRACT NEW-VALUE) [function]
Description 

Sets the value of a temorary attribute/effect. Only supports boolean ones.

Calls 
Location 

variants/vanilla/player.lisp

%MODIFY-LEVELED-EFFECT
 (%MODIFY-LEVELED-EFFECT CREATURE STATE &KEY ADD SUBTRACT NEW-VALUE) [function]
Description 

Sets the value of cuts.

Calls 
Location 

variants/vanilla/player.lisp

%RUN-DIRECTION
 (%RUN-DIRECTION DUNGEON PLAYER DIR) [function]
Calls 

(SETF GET-INFORMATION), PLAY-SOUND and VAN-MOVE-PLAYER!

Location 

variants/vanilla/keys.lisp

%SIMPLE-PROJECTION
 (%SIMPLE-PROJECTION SOURCE DESTINATION FLAG EFFECT DAMAGE &KEY PROJECTED-OBJECT) [function]
Description 

Destination can be a target or a direction. A direction of 5 is interpreted as target.

Called By 

VAN-FIRE-BEAM! and VAN-FIRE-BOLT!

Calls 

BIT-FLAG-ADD!, DO-PROJECTION, GET-DESTINATION-COORDS, GET-EFFECT-TYPE and PROJECTILE.ID

Location 

variants/vanilla/spells.lisp

%VAN-FILL-RESISTS
 (%VAN-FILL-RESISTS VARIANT RESIST-TABLE SOURCE-RESISTS VALUE) [function]
Called By 

CALCULATE-ABILITIES! and CALCULATE-ABILITIES!

Calls 

BIT-FLAG-SET?, ELEMENT.BIT-FLAG, ELEMENT.NUMBER and VARIANT.ELEMENTS

Location 

variants/vanilla/player.lisp

%VAN-GET-RES-LEVEL
 (%VAN-GET-RES-LEVEL VARIANT PLAYER ELM) [function]
Called By 

DELIVER-ELEMENTAL-DAMAGE!

Calls 

GET-ELEMENT-NUMBER and GET-RESISTANCE-TABLE

Location 

variants/vanilla/quirks.lisp

%VAN-UPDATE-RESISTANCE
 (%VAN-UPDATE-RESISTANCE VARIANT RESIST-ARRAY ELEMENT CHANGE) [function]
Called By 

CALCULATE-ABILITIES! and HANDLE-PLAYER-UPDATES!

Calls 

GET-ELEMENT-NUMBER

Location 

variants/vanilla/player.lisp

ACTIVATE-OBJECT
 (ACTIVATE-OBJECT (VAR-OBJ VANILLA-VARIANT)) [method]
 (ACTIVATE-OBJECT (VAR-OBJ VANILLA-VARIANT)) [method]
 (ACTIVATE-OBJECT (VAR-OBJ VANILLA-VARIANT)) [method]
 (ACTIVATE-OBJECT (LEVEL VAN/TOWN-LEVEL)) [method]

ADD-CHARGES!
 (ADD-CHARGES! ITEM CHARGES) [function]
Calls 

AOBJ.CHARGES

Location 

variants/vanilla/objects.lisp

ADD-MAGIC-TO-ITEM!
 (ADD-MAGIC-TO-ITEM! (VARIANT VANILLA-VARIANT) (ITEM ACTIVE-OBJECT) DEPTH QUALITY) [method]
 (ADD-MAGIC-TO-ITEM! (VARIANT VANILLA-VARIANT) (ITEM ACTIVE-OBJECT/WEAPON) DEPTH QUALITY) [method]
 (ADD-MAGIC-TO-ITEM! (VARIANT VANILLA-VARIANT) (ITEM ACTIVE-OBJECT/AMMO) DEPTH QUALITY) [method]
 (ADD-MAGIC-TO-ITEM! (VARIANT VANILLA-VARIANT) (ITEM ACTIVE-OBJECT/ARMOUR) DEPTH QUALITY) [method]
 (ADD-MAGIC-TO-ITEM! (VARIANT VANILLA-VARIANT) (ITEM ACTIVE-OBJECT/VANILLA-OBJECT) DEPTH QUALITY) [method]

ANALYSE-SPECIAL-ABILITIES!
 (ANALYSE-SPECIAL-ABILITIES! VARIANT MON-KIND) [function]
Description 

Analyses and updates special-abilities info.

Called By 

INITIALISE-MONSTER-KIND!

Calls 

(SETF MONSTER.SP-ABILITIES), ERROR-CONDITION, GET-ID, GETHASH, MONSTER.SP-ABILITIES and WARN

Location 

variants/vanilla/monsters.lisp

APPLY-PROJECTION-EFFECT-TO-TARGET!
 (APPLY-PROJECTION-EFFECT-TO-TARGET! (VARIANT VANILLA-VARIANT) SOURCE (TARGET FLOOR-TYPE) &KEY (X 0) (Y 0) (DAMAGE 0) (EFFECT NIL) (DISTANCE 0)) [method]
 (APPLY-PROJECTION-EFFECT-TO-TARGET! (VARIANT VANILLA-VARIANT) SOURCE (TARGET DECOR) &KEY (X 0) (Y 0) (DAMAGE 0) (EFFECT NIL) (DISTANCE 0)) [method]
 (APPLY-PROJECTION-EFFECT-TO-TARGET! (VARIANT VANILLA-VARIANT) SOURCE TARGET &KEY (X 0) (Y 0) (DAMAGE 0) (EFFECT NIL) (DISTANCE 0)) [method]
 (APPLY-PROJECTION-EFFECT-TO-TARGET! (VARIANT VANILLA-VARIANT) SOURCE (TARGET ACTIVE-OBJECT) &KEY (X 0) (Y 0) (DAMAGE 0) (EFFECT NIL) (DISTANCE 0)) [method]

APPLY-USUAL-EFFECTS-ON-USED-OBJECT!
 (APPLY-USUAL-EFFECTS-ON-USED-OBJECT! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (OBJ ACTIVE-OBJECT/POTION)) [method]
 (APPLY-USUAL-EFFECTS-ON-USED-OBJECT! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (OBJ ACTIVE-OBJECT/FOOD)) [method]

ATTEMPT-MULTI-CREATION!
 (ATTEMPT-MULTI-CREATION! (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT) DEPTH) [method]
 (ATTEMPT-MULTI-CREATION! (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/AMMO) DEPTH) [method]

BOOST-STATS!
 (BOOST-STATS! ITEM AMOUNT) [function]
Description 

Boosts stat-modifiers by AMOUNT is the modifiers are not equal to 0.

Calls 

(SETF GET-STAT-MODIFIERS), AOBJ.KIND and GET-STAT-MODIFIERS

Location 

variants/vanilla/various.lisp

BROWSE-SPELLS
 (BROWSE-SPELLS DUNGEON PLAYER &KEY (VARIANT *VARIANT*)) [function]
Description 

Interactive selection of spell to learn.

Calls 

AOBJ.KIND, DISPLAY-SPELLS, GET-ID, GETHASH, INTERACTIVE-BOOK-SELECTION, PAUSE-LAST-LINE!, VARIANT.SPELLBOOKS and WITH-DIALOGUE

Location 

variants/vanilla/spells.lisp

BUILD-SKILLS-OBJ-FROM-LIST
 (BUILD-SKILLS-OBJ-FROM-LIST VARIANT SKILL-LIST) [generic]
Description 

Returns a skill-object from a list of skill-info.

Called By 

INITIALISE-CHARACTER-CLASS! and INITIALISE-CHARACTER-RACE!

Location 

variants/vanilla/base.lisp

BUILD-SKILLS-OBJ-FROM-LIST
 (BUILD-SKILLS-OBJ-FROM-LIST (VARIANT VARIANT) SKILLS) [method]
Calls 

(SETF SLOT-VALUE), GET-SKILL-TRANSLATION, MAKE-VAN/SKILL, PRODUCE-SKILLS-OBJECT, STRING-DOWNCASE and WARN

Location 

variants/vanilla/skills.lisp

CALCULATE-ABILITIES!
 (CALCULATE-ABILITIES! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (CLS CHARACTER-CLASS)) [method]
 (CALCULATE-ABILITIES! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (RACE CHARACTER-RACE)) [method]
 (CALCULATE-ABILITIES! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (ITEMS ITEMS-WORN)) [method]
 (CALCULATE-ABILITIES! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) FOO) [method]

CALCULATE-CREATURE-MANA!
 (CALCULATE-CREATURE-MANA! VARIANT CREATURE) [generic]
Description 

Does a walk-through of the creature and recalculates mana.

Called By 

ROLL-UP-CHARACTER! and UPDATE-STUFF

Location 

variants/vanilla/base.lisp

CAN-LEARN-MORE-SPELLS?
 (CAN-LEARN-MORE-SPELLS? VARIANT PLAYER) [function]
Description 

Returns T if the player can learn spells, NIL otherwise.

Called By 

PRINT-EXTRA-FRAME-CONTENT, REDRAW-STUFF and VAN-LEARN-SPELL!

Calls 

CLASS.LEARNT-SPELLS, CLASS.SPELL-STAT, FIND, GET-STAT-INFO, INT-/, IS-SPELLCASTER?, PLAYER.ACTIVE-STATS, PLAYER.CLASS, PLAYER.POWER-LVL, STAT.NUMBER and VARIANT.STATS

Location 

variants/vanilla/spells.lisp

CAN-MELEE-ATTACK?
 (CAN-MELEE-ATTACK? (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (MON ACTIVE-MONSTER)) [method]
Calls 

FORMAT, GET-ATTRIBUTE-VALUE, GET-CREATURE-DESC and PLAYER.TEMP-ATTRS

Location 

variants/vanilla/player.lisp

COPY-ACTIVE-OBJECT
 (COPY-ACTIVE-OBJECT (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/WAND) &OPTIONAL (TARGET NIL)) [method]
 (COPY-ACTIVE-OBJECT (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/STAFF) &OPTIONAL (TARGET NIL)) [method]

COPY-SPEFF
 (COPY-SPEFF (OBJ SPEFF)) [function]

COPY-VAN/SKILL
 (COPY-VAN/SKILL (OBJ VAN/SKILL)) [function]

CREATE-APPROPRIATE-LEVEL
 (CREATE-APPROPRIATE-LEVEL (VARIANT VANILLA-VARIANT) OLD-LEVEL PLAYER DEPTH) [method]
Calls 

(SETF LEVEL.DEPTH), ERROR, FUNCALL, GENERATE-LEVEL!, GET-LEVEL-BUILDER, LEVEL-READY? and VAN-MAKE-TOWN-LEVEL-OBJ

Location 

variants/vanilla/levels.lisp

CREATE-GOLD
 (CREATE-GOLD (VARIANT VANILLA-VARIANT) (DUNGEON DUNGEON) &KEY ORIGINATOR) [method]
Calls 

CREATE-AOBJ-FROM-KIND, DUNGEON.DEPTH, INT-/, OBJECT.COST, RANDINT and VARIANT.GOLD-TABLE

Location 

variants/vanilla/objects.lisp

CREATE-SPELLBOOK
 (CREATE-SPELLBOOK NAME ID SPELLS) [function]
Description 

Creates and returns a spellbook.

Called By 

DEFINE-SPELLBOOK, INITIALISE-OBJECT-KIND! and INITIALISE-OBJECT-KIND!

Calls 

(SETF SPELLBOOK.SPELLS), MAKE-ARRAY, MAKE-INSTANCE and VERIFY-ID

Location 

variants/vanilla/spells.lisp

DEFINE-EGO-ITEM
 (DEFINE-EGO-ITEM ID NAME &KEY (NUMERIC-ID :UNSPEC) (POWER-LVL :UNSPEC) (XTRA :UNSPEC) (MAX-TO-AC :UNSPEC) (MAX-TO-HIT :UNSPEC) (MAX-TO-DMG :UNSPEC) (PVAL :UNSPEC) (LOCATIONS :UNSPEC) (COST :UNSPEC) (WEIGHT :UNSPEC) (OBJ-TYPES :UNSPEC) (FLAGS :UNSPEC)) [function]
Description 

Attempts to define an ego-item.

Calls 
Location 

variants/vanilla/ego.lisp

DEFINE-SPELL
 (DEFINE-SPELL NAME ID &KEY EFFECT-TYPE EFFECT NUMERIC-ID) [function]
Description 

Defines and registers a new spell.

Calls 
Location 

variants/vanilla/spells.lisp

DEFINE-SPELLBOOK
 (DEFINE-SPELLBOOK NAME ID &KEY (SIZE 6) (SPELLS NIL)) [function]
Description 

Defines and registers a spellbook, should be done after the spells have been made.

Calls 

CREATE-SPELLBOOK and REGISTER-SPELLBOOK&

Location 

variants/vanilla/spells.lisp

DEFINE-VARIANT-GRAPHICS
 (DEFINE-VARIANT-GRAPHICS FOO IMAGES) [function]
Description 

first argument ignored, images should be a list of image-specs

Location 

variants/vanilla/quirks.lisp

DELIVER-DAMAGE!
 (DELIVER-DAMAGE! (VARIANT VARIANT) SOURCE (TARGET PLAYER) DAMAGE &KEY NOTE DYING-NOTE) [method]
Called By 

APPLY-PROJECTION-EFFECT-TO-TARGET!, DELIVER-ELEMENTAL-DAMAGE! and PROCESS-WORLD&

Calls 

ASK-FOR-REDRAW!, CURRENT-HP, FORMAT-MESSAGE!, GET-CREATURE-DESC, KILL-TARGET!, LOCATION-X and LOCATION-Y

Location 

variants/vanilla/combat.lisp

DELIVER-ELEMENTAL-DAMAGE!
 (DELIVER-ELEMENTAL-DAMAGE! (VARIANT VANILLA-VARIANT) SOURCE (TARGET PLAYER) ELEMENT DAMAGE) [method]
Calls 

%VAN-GET-RES-LEVEL, DELIVER-DAMAGE! and INT-/

Location 

variants/vanilla/quirks.lisp

DETECT-ALL!
 (DETECT-ALL! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Calls 

DETECT-DOORS!, DETECT-GOLD!, DETECT-INVISIBLE!, DETECT-MONSTERS!, DETECT-NORMAL-OBJECTS!, DETECT-STAIRS! and DETECT-TRAPS!

Location 

variants/vanilla/spells.lisp

DETECT-DOORS!
 (DETECT-DOORS! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 

APPLY-EFFECT-TO-AREA, BIT-FLAG-ADD!, COORD.DECOR, COORD.FLAGS, DECOR-OPERATION, IS-DOOR?, LOCATION-X, LOCATION-Y and PRINT-MESSAGE!

Location 

variants/vanilla/spells.lisp

DETECT-EVIL-MONSTERS!
 (DETECT-EVIL-MONSTERS! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Calls 

ADD-MONSTER-KNOWLEDGE-FLAG!, AMON.VIS-FLAG, APPLY-EFFECT-TO-AREA, BIT-FLAG-ADD!, COORD.MONSTERS, IS-EVIL?, LOCATION-X, LOCATION-Y, LOGIOR, PRINT-MESSAGE! and UPDATE-MONSTER!

Location 

variants/vanilla/spells.lisp

DETECT-GOLD!
 (DETECT-GOLD! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 

(SETF AOBJ.MARKED), APPLY-EFFECT-TO-AREA, COORD.OBJECTS, ITEMS.OBJS, LIGHT-SPOT!, LOCATION-X, LOCATION-Y and PRINT-MESSAGE!

Location 

variants/vanilla/spells.lisp

DETECT-INVISIBLE!
 (DETECT-INVISIBLE! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 
Location 

variants/vanilla/spells.lisp

DETECT-MONSTERS!
 (DETECT-MONSTERS! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 

AMON.KIND, AMON.VIS-FLAG, APPLY-EFFECT-TO-AREA, BIT-FLAG-ADD!, COORD.MONSTERS, HAS-ABILITY?, LOCATION-X, LOCATION-Y, LOGIOR, PRINT-MESSAGE! and UPDATE-MONSTER!

Location 

variants/vanilla/spells.lisp

DETECT-NORMAL-OBJECTS!
 (DETECT-NORMAL-OBJECTS! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 

(SETF AOBJ.MARKED), APPLY-EFFECT-TO-AREA, COORD.OBJECTS, ITEMS.OBJS, LIGHT-SPOT!, LOCATION-X, LOCATION-Y and PRINT-MESSAGE!

Location 

variants/vanilla/spells.lisp

DETECT-STAIRS!
 (DETECT-STAIRS! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 

APPLY-EFFECT-TO-AREA, BIT-FLAG-ADD!, COORD.FLAGS, COORD.FLOOR, FLOOR.NUMERIC-ID, LIGHT-SPOT!, LOCATION-X, LOCATION-Y and PRINT-MESSAGE!

Location 

variants/vanilla/spells.lisp

DETECT-TRAPS!
 (DETECT-TRAPS! DUNGEON PLAYER SOURCE &OPTIONAL (RADIUS +DEFAULT-DETECT-RADIUS+)) [function]
Called By 

DETECT-ALL!

Calls 

APPLY-EFFECT-TO-AREA, BIT-FLAG-ADD!, COORD.DECOR, COORD.FLAGS, DECOR-OPERATION, IS-TRAP?, LOCATION-X, LOCATION-Y and PRINT-MESSAGE!

Location 

variants/vanilla/spells.lisp

DISPLAY-HOUSE
 (DISPLAY-HOUSE (PLAYER PLAYER) (HOME PLAYERS-HOME) &KEY (OFFSET 0)) [method]
Called By 

%HOME-INPUT-LOOP and VISIT-HOUSE

Calls 

CLEAR-WINDOW, FORMAT, GET-LAST-CONSOLE-LINE, HOUSE.ITEMS, ITEM-TABLE-PRINT and PUT-COLOURED-STR!

Location 

variants/vanilla/levels.lisp

DISPLAY-MONSTER-RECALL
 (DISPLAY-MONSTER-RECALL VARIANT PLAYER MON-KNOW) [function]
Description 

Displays recall for given monster-knowledge to *cur-win* starting from row 1.

Calls 
Location 

variants/vanilla/various.lisp

DISPLAY-OBJECT-RECALL
 (DISPLAY-OBJECT-RECALL VARIANT PLAYER OBJ) [function]
Description 

Displays recall for given object-knowledge to *cur-win* starting from row 1.

Calls 

FORMAT, GET-ID, GET-OBJECT-KIND, OBJECT.FLAGS, OBJECT.NAME, PRINT-TEXT! and PUT-COLOURED-LINE!

Location 

variants/vanilla/various.lisp

DISPLAY-PLAYER-COMBAT-RATINGS
 (DISPLAY-PLAYER-COMBAT-RATINGS (VARIANT VANILLA-VARIANT) PLAYER TERM SETTINGS) [method]
Calls 

FORMAT, GET-ARMOUR-MODIFIER, GET-ARMOUR-RATING, GET-DAMAGE-MODIFIER, GET-MELEE-WEAPON, GET-MISSILE-WEAPON, GET-TOHIT-MODIFIER, PLAYER.INFRAVISION, PLAYER.PERCEIVED-ABILITIES, PUT-COLOURED-STR! and SETTING-LOOKUP

Location 

variants/vanilla/print.lisp

DISPLAY-PLAYER-SKILLS
 (DISPLAY-PLAYER-SKILLS (VARIANT VANILLA-VARIANT) PLAYER TERM SETTINGS) [method]
Calls 

FORMAT, PLAYER.SKILLS, PRINT-SKILL, PUT-COLOURED-STR!, SETTING-LOOKUP and SLOT-VALUE

Location 

variants/vanilla/print.lisp

DISPLAY-SPELLS
 (DISPLAY-SPELLS PLAYER SPELLBOOK &KEY (X 20) (Y 1)) [function]
Description 

Displays the spell somehow.

Called By 

BROWSE-SPELLS and INTERACTIVE-SPELL-SELECTION

Calls 

FORMAT, PUT-COLOURED-LINE!, PUT-COLOURED-STR!, SPELLBOOK.NAME, SPELLBOOK.SIZE and SPELLBOOK.SPELLS

Location 

variants/vanilla/spells.lisp

DISTRIBUTE-FLAVOURS!
 (DISTRIBUTE-FLAVOURS! (VAR-OBJ VANILLA-VARIANT)) [method]
Calls 

VARIANT.OBJECTS

Location 

variants/vanilla/various.lisp

ENCHANT-ITEM!
 (ENCHANT-ITEM! DUNGEON PLAYER &KEY (TYPE '<WEAPON>) (BONUS 1) (RESTRICT NIL)) [function]
Calls 

%LOCAL-ENCHANT, FORMAT-MESSAGE!, GET-ARMOUR-MODIFIER, GET-DAMAGE-MODIFIER, GET-ITEM-TABLE, GET-TOHIT-MODIFIER, ITEM-TABLE-ADD!, ITEM-TABLE-REMOVE!, SELECT-ITEM and WARN

Location 

variants/vanilla/spells.lisp

ENSURE-MONSTER-HAS-BACKPACK!
 (ENSURE-MONSTER-HAS-BACKPACK! CREATURE) [function]
Description 

Adds a backpack to the monster when it has none.

Called By 

PRODUCE-ACTIVE-MONSTER

Calls 

(SETF GET-CREATURE-INVENTORY), CREATE-AOBJ-FROM-ID and GET-CREATURE-INVENTORY

Location 

variants/vanilla/monsters.lisp

EQUIP-CHARACTER!
 (EQUIP-CHARACTER! (VARIANT VANILLA-VARIANT) PLAYER SETTINGS) [method]
Calls 

AOBJ.CONTAINS, CALL-NEXT-METHOD, CREATE-AOBJ-FROM-ID, GET-CREATURE-INVENTORY, ITEM-TABLE-ADD! and RAND-RANGE

Location 

variants/vanilla/quirks.lisp

FILED-PLAYER-DATA
 (FILED-PLAYER-DATA (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Calls 

CALL-NEXT-METHOD, CLASS.LEARNT-SPELLS, IS-SPELLCASTER?, PLAYER.CLASS, VECTOR-PUSH and WARN

Location 

variants/vanilla/save.lisp

FILED-VARIANT-DATA
 (FILED-VARIANT-DATA (VARIANT VANILLA-VARIANT) &KEY HOUSE-NUMBER HOUSE-SIZE HOUSE-ITEMS) [method]
Called By 

LOAD-VARIANT-OBJECT

Calls 

ACTIVATE-OBJECT, ACTIVATED?, CALL-NEXT-METHOD, GET-HOUSE, HOUSE.ITEMS and ITEM-TABLE-ADD!

Location 

variants/vanilla/save.lisp

FINALISE-VISUAL-EVENT
 (FINALISE-VISUAL-EVENT (EVT THROWN-OBJECT-MOVEMENT) DUNGEON PLAYER CUR-TICK) [method]
 (FINALISE-VISUAL-EVENT (EVT MISSILE-MOVEMENT) DUNGEON PLAYER CUR-TICK) [method]

FIND-APPROPRIATE-ROOM
 (FIND-APPROPRIATE-ROOM (VARIANT VANILLA-VARIANT) (LEVEL RANDOM-LEVEL) PLAYER) [method]
Calls 

FUNCALL, GET-ROOM and RANDOM

Location 

variants/vanilla/rooms.lisp

FLAVOUR-OBJECT!
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/POTION)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/MUSHROOM)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/SCROLL)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/RING)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/WAND)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/STAFF)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/ROD)) [method]
 (FLAVOUR-OBJECT! (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/AMULET)) [method]

FLOORIFY-COORD!
 (FLOORIFY-COORD! DUNGEON X Y) [function]
Description 

Turns a dungeon spot into normal floor and removes any mark.

Calls 

(SETF CAVE-DECOR), (SETF CAVE-FLOOR), BIT-FLAG-REMOVE! and CAVE-FLAGS

Location 

variants/vanilla/spells.lisp

GAIN-POWER-LEVEL!
 (GAIN-POWER-LEVEL! (VARIANT VANILLA-VARIANT) PLAYER) [method]
Calls 

ASK-FOR-REDRAW!, ASK-FOR-UPDATE! and CALL-NEXT-METHOD

Location 

variants/vanilla/player.lisp

GENERATE-LEVEL!
 (GENERATE-LEVEL! (VARIANT VANILLA-VARIANT) (LEVEL VAN/TOWN-LEVEL) PLAYER) [method]
 (GENERATE-LEVEL! (VARIANT VANILLA-VARIANT) (LEVEL RANDOM-LEVEL) PLAYER) [method]

GENERATE-RANDOM-NAME
 (GENERATE-RANDOM-NAME (VARIANT VANILLA-VARIANT) CREATURE RACE) [method]
Calls 

CONCATENATE, ERROR, RACE.SYMBOL and RAND-ELM

Location 

variants/vanilla/various.lisp

GET-ARMOUR-DESC
 (GET-ARMOUR-DESC VARIANT NUMBER) [function]
Description 

Returns a description of the armour-number.

Location 

variants/vanilla/various.lisp

GET-CHARACTER-PICTURE
 (GET-CHARACTER-PICTURE (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Calls 

CLASS.SYMBOL, GENDER.SYMBOL, PLAYER.CLASS, PLAYER.GENDER, PLAYER.RACE, RACE.SYMBOL and WARN

Location 

variants/vanilla/player.lisp

GET-CLASS-TILE
 (GET-CLASS-TILE (VARIANT VANILLA-VARIANT) PLAYER) [method]
Calls 

CLASS.SYMBOL, PLAYER.CLASS, PLAYER.RACE and RACE.SYMBOL

Location 

variants/vanilla/player.lisp

GET-CREATURE-STATE
 (GET-CREATURE-STATE (PLAYER PLAYER) STATE) [method]
Calls 

ATTR.VALUE, ERROR, GETHASH, PLAYER.CALC-ATTRS and PLAYER.TEMP-ATTRS

Location 

variants/vanilla/player.lisp

GET-DEFENSIVE-QUALITY
 (GET-DEFENSIVE-QUALITY CREATURE SPAB) [generic]
Description 

Returns the defense rating for a given creature for a special ability.

Called By 

GET-TACTICAL-BID

Location 

variants/vanilla/base.lisp

GET-DEFENSIVE-QUALITY
 (GET-DEFENSIVE-QUALITY (CREATURE ACTIVE-MONSTER) (SPAB SPAB)) [method]
Calls 

FUNCALL, FUNCTIONP, POSITIVE-INTEGER? and SPAB.DEFENSIVE

Location 

variants/vanilla/monsters.lisp

GET-EGO-ITEM
 (GET-EGO-ITEM VARIANT ID) [function]
Calls 

GETHASH and VARIANT.EGO-ITEMS

Location 

variants/vanilla/ego.lisp

(SETF GET-EGO-ITEM)
 ((SETF GET-EGO-ITEM) VALUE VARIANT ID) [function]
Called By 

DEFINE-EGO-ITEM

Calls 

(SETF GETHASH)

Location 

variants/vanilla/ego.lisp

GET-FLOOR
 (GET-FLOOR (VARIANT VANILLA-VARIANT) KEY) [method]
Calls 

GETHASH and VARIANT.FLOOR-TYPES

Location 

variants/vanilla/levels.lisp

GET-LIGHT-SOURCE
 (GET-LIGHT-SOURCE CREATURE) [generic]
Description 

Returns the light-source used.

Called By 

INTERACTIVE-REFILL-ITEM! and PROCESS-WORLD&

Location 

variants/vanilla/base.lisp

GET-LIGHT-SOURCE
 (GET-LIGHT-SOURCE (CRT PLAYER)) [method]
Calls 

ITEM-TABLE-FIND and PLAYER.EQUIPMENT

Location 

variants/vanilla/player.lisp

GET-LOADABLE-FORM
 (GET-LOADABLE-FORM VARIANT (OBJECT EGO-ITEM) &KEY (FULL-DUMP NIL)) [method]
Calls 
Location 

variants/vanilla/ego.lisp

GET-MELEE-ATTACK-SKILL
 (GET-MELEE-ATTACK-SKILL (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Called By 

PRINT-ATTACK-GRAPH and PRINT-ATTACK-TABLE

Calls 

PLAYER.SKILLS and SKILLS.FIGHTING

Location 

variants/vanilla/skills.lisp

GET-MELEE-WEAPON
 (GET-MELEE-WEAPON CREATURE) [generic]
Description 

Returns the active-object that is used as a melee weapon.

Called By 

DISPLAY-PLAYER-COMBAT-RATINGS, HANDLE-PLAYER-UPDATES! and MELEE-INFLICT-DAMAGE!

Location 

variants/vanilla/base.lisp

GET-MELEE-WEAPON
 (GET-MELEE-WEAPON (CRT PLAYER)) [method]
Calls 

ITEM-TABLE-FIND and PLAYER.EQUIPMENT

Location 

variants/vanilla/player.lisp

GET-MISSILE-WEAPON
 (GET-MISSILE-WEAPON CREATURE) [generic]
Description 

Returns the active-object that is used as missile-weapon.

Called By 

DISPLAY-PLAYER-COMBAT-RATINGS, HANDLE-PLAYER-UPDATES! and INTERACTIVE-FIRE-A-MISSILE

Location 

variants/vanilla/base.lisp

GET-MISSILE-WEAPON
 (GET-MISSILE-WEAPON (CRT PLAYER)) [method]
Calls 

ITEM-TABLE-FIND and PLAYER.EQUIPMENT

Location 

variants/vanilla/player.lisp

GET-MTYPE-TABLE
 (GET-MTYPE-TABLE (VAR-OBJ VANILLA-VARIANT) (LEVEL RANDOM-LEVEL)) [method]
 (GET-MTYPE-TABLE (VAR-OBJ VANILLA-VARIANT) (LEVEL VAN/TOWN-LEVEL)) [method]
 (GET-MTYPE-TABLE (VAR-OBJ VANILLA-VARIANT) (LEVEL STRING)) [method]

GET-OFFER
 (GET-OFFER (OBJECT ACTIVE-OBJECT) (STORE BLACK-MARKET)) [method]
Calls 

GET-PRICE and INT-/

Location 

variants/vanilla/various.lisp

GET-OTYPE-TABLE
 (GET-OTYPE-TABLE (VAR-OBJ VANILLA-VARIANT) LEVEL) [method]
Called By 

VAN/REGISTER-LEVELS!

Calls 

GET-NAMED-GAMEOBJ-TABLE

Location 

variants/vanilla/levels.lisp

GET-POWER-LVL
 (GET-POWER-LVL (OBJ EGO-ITEM)) [method]
Called By 

GET-RANGED-ATTACK-SKILL, PRODUCE-ACTIVE-MONSTER, TRIGGER-SPECIAL-ABILITY and TRIGGER-SPECIAL-ABILITY

Calls 

EGO.POWER-LVL

Location 

variants/vanilla/ego.lisp

GET-POWER-OF-ATTACK
 (GET-POWER-OF-ATTACK (VARIANT VANILLA-VARIANT) KIND) [method]

GET-PRICE
 (GET-PRICE (OBJECT ACTIVE-OBJECT) (STORE BLACK-MARKET)) [method]
 (GET-PRICE (OBJECT ACTIVE-OBJECT) SITUATION) [method]

GET-RANGED-ATTACK-SKILL
 (GET-RANGED-ATTACK-SKILL (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
 (GET-RANGED-ATTACK-SKILL (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER)) [method]

GET-SEARCH-SKILL
 (GET-SEARCH-SKILL (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Calls 

PLAYER.SKILLS and SKILLS.SEARCHING

Location 

variants/vanilla/skills.lisp

GET-SKILL-TRANSLATION
 (GET-SKILL-TRANSLATION VARIANT KEY) [generic]
Description 

Returns a skill-translation for the given KEY, I think.

Location 

variants/vanilla/base.lisp

GET-SKILL-TRANSLATION
 (GET-SKILL-TRANSLATION (VARIANT VARIANT) KEY) [method]
Calls 

VARIANT.SKILL-TRANSLATIONS

Location 

variants/vanilla/skills.lisp

GET-SPAB-COST
 (GET-SPAB-COST CREATURE SPAB) [generic]
Description 

Returns the cost for a given creature to use a special ability.

Called By 

GET-TACTICAL-BID

Location 

variants/vanilla/base.lisp

GET-SPAB-COST
 (GET-SPAB-COST (CREATURE ACTIVE-MONSTER) (SPAB SPAB)) [method]
Calls 

FUNCALL, FUNCTIONP, POSITIVE-INTEGER? and SPAB.MANA-COST

Location 

variants/vanilla/monsters.lisp

GET-SPELL-DATA
 (GET-SPELL-DATA PLAYER SPELL) [function]
Called By 

LEARN-SPELL! and VAN-INVOKE-SPELL!

Calls 

CLASS.SPELLS, GET-SPELL-ID, IS-SPELLCASTER?, PLAYER.CLASS and VECTORP

Location 

variants/vanilla/spells.lisp

GET-SPELL-EFFECT
 (GET-SPELL-EFFECT TYPE) [function]
Called By 

LIGHT-AREA!, TRIGGER-SPECIAL-ABILITY, TRIGGER-SPECIAL-ABILITY and TRIGGER-SPECIAL-ABILITY

Calls 

MAKE-SPEFF

Location 

variants/vanilla/effects.lisp

GET-SPELL-ID
 (GET-SPELL-ID SPELL) [function]
Called By 

GET-SPELL-DATA and HAS-LEARNT-SPELL?

Calls 

SPELL.ID

Location 

variants/vanilla/spells.lisp

GET-STAT-INFO
 (GET-STAT-INFO STAT-OBJ STAT-VALUE INFO-KEY) [function]
Called By 

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

Calls 

GET-STAT-ROW, STAT-FIELD-DATA and STAT.FIELDS

Location 

variants/vanilla/quirks.lisp

GET-STAT-INFO-VALUE
 (GET-STAT-INFO-VALUE VARIANT PLAYER STAT INFO-KEY) [function]
Called By 

HANDLE-PLAYER-UPDATES!, PROCESS-WORLD& and THROW-OBJECT

Calls 

ERROR, FIND, GET-STAT-INFO, PLAYER.ACTIVE-STATS, STAT.NUMBER and VARIANT.STATS

Location 

variants/vanilla/quirks.lisp

GET-STAT-ROW
 (GET-STAT-ROW DATA VAL) [function]
Called By 

GET-STAT-INFO

Calls 

ERROR, STAT-FIELD-LOWER, STAT-FIELD-P and STAT-FIELD-UPPER

Location 

variants/vanilla/quirks.lisp

GET-TACTICAL-BID
 (GET-TACTICAL-BID STRATEGY (CREATURE ACTIVE-MONSTER) (TACTIC SPAB) FACTOR) [method]
Calls 

(SETF FACTOR.COST), (SETF FACTOR.DEFENSIVE), (SETF FACTOR.OFFENSIVE), GET-DAMAGE-POTENTIAL, GET-DEFENSIVE-QUALITY and GET-SPAB-COST

Location 

variants/vanilla/monsters.lisp

GET-VISUAL-PROJECTILE
 (GET-VISUAL-PROJECTILE (OBJ MAGIC-SPELL)) [method]
 (GET-VISUAL-PROJECTILE (OBJ ACTIVE-OBJECT/WAND)) [method]
 (GET-VISUAL-PROJECTILE (OBJ ACTIVE-OBJECT/ROD)) [method]
 (GET-VISUAL-PROJECTILE (OBJ ACTIVE-OBJECT/AMMO)) [method]
 (GET-VISUAL-PROJECTILE (OBJ SPAB)) [method]

GFX-BOLT-ARRAY
 (GFX-BOLT-ARRAY OFFSET) [function]
Calls 

(SETF AREF), MAKE-ARRAY and TILE-PAINT-VALUE

Location 

variants/vanilla/effects.lisp

GFX-MISSILE-ARRAY
 (GFX-MISSILE-ARRAY OFFSET) [function]
Calls 

(SETF AREF), MAKE-ARRAY and TILE-PAINT-VALUE

Location 

variants/vanilla/effects.lisp

HANDLE-TURN
 (HANDLE-TURN (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (ACTIVITY (EQL RESTING))) [method]
Calls 

(SETF GET-INFORMATION), CURRENT-HP, CURRENT-MANA, GET-ATTRIBUTE-VALUE, GET-INFORMATION, MAXIMUM-HP, MAXIMUM-MANA, MOVE-PLAYER! and PLAYER.TEMP-ATTRS

Location 

variants/vanilla/player.lisp

HAS-LEARNT-SPELL?
 (HAS-LEARNT-SPELL? PLAYER SPELL) [function]
Description 

Returns NIL if the player has not learnt the spell, returns T if the player knows the spell.

Called By 

VAN-INVOKE-SPELL!

Calls 

CLASS.LEARNT-SPELLS, FIND, GET-SPELL-ID and PLAYER.CLASS

Location 

variants/vanilla/spells.lisp

HASTE-CREATURE!
 (HASTE-CREATURE! CREATURE AMOUNT DURATION) [function]
Description 

Tries to haste the creature.

Calls 

MODIFY-CREATURE-SPEED!

Location 

variants/vanilla/spells.lisp

INITIALISE-CHARACTER-CLASS!
 (INITIALISE-CHARACTER-CLASS! (VAR-OBJ VANILLA-VARIANT) (MY-CLASS CHARACTER-CLASS) KEYWORD-ARGS) [method]
Calls 

(SETF CLASS.SKILLS), BUILD-SKILLS-OBJ-FROM-LIST and CALL-NEXT-METHOD

Location 

variants/vanilla/player.lisp

INITIALISE-CHARACTER-RACE!
 (INITIALISE-CHARACTER-RACE! (VAR-OBJ VANILLA-VARIANT) (RACE CHARACTER-RACE) KEYWORD-ARGS) [method]
Calls 

(SETF RACE.SKILLS), BUILD-SKILLS-OBJ-FROM-LIST and CALL-NEXT-METHOD

Location 

variants/vanilla/player.lisp

INITIALISE-EGO-ITEMS&
 (INITIALISE-EGO-ITEMS& VARIANT &KEY (FILE "ego-items")) [function]
Called By 

ACTIVATE-OBJECT

Calls 

ERROR, LOAD-VARIANT-DATA&, MAPHASH, UPDATE-GOBJ-TABLE! and VARIANT.EGO-ITEMS-BY-LEVEL

Location 

variants/vanilla/quirks.lisp

INITIALISE-FLOORS&
 (INITIALISE-FLOORS& (VARIANT VANILLA-VARIANT) &KEY (FILE "floors")) [method]
Called By 

ACTIVATE-OBJECT

Calls 

ERROR and LOAD-VARIANT-DATA&

Location 

variants/vanilla/quirks.lisp

INITIALISE-MONSTERS&
 (INITIALISE-MONSTERS& (VARIANT VANILLA-VARIANT) &KEY (FILE "monsters")) [method]
Called By 

ACTIVATE-OBJECT

Calls 

ERROR, LOAD-VARIANT-DATA&, MAPHASH, UPDATE-GOBJ-TABLE! and VARIANT.MONSTERS-BY-LEVEL

Location 

variants/vanilla/quirks.lisp

INITIALISE-OBJECT-KIND!
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/AMMO) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/SPELLBOOK) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/PRAYERBOOK) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/WEAPON) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/BOW) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/WAND) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/ROD) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/FOOD) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/POTION) KEYWORD-ARGS) [method]
 (INITIALISE-OBJECT-KIND! (VAR-OBJ VANILLA-VARIANT) (NEW-OBJ OBJECT-KIND/LIGHT-SOURCE) KEYWORD-ARGS) [method]

INITIALISE-OBJECTS&
 (INITIALISE-OBJECTS& (VARIANT VANILLA-VARIANT) &KEY (FILE "objects")) [method]
Called By 

ACTIVATE-OBJECT

Calls 

ERROR, LOAD-VARIANT-DATA&, MAPHASH, UPDATE-GOBJ-TABLE! and VARIANT.OBJECTS-BY-LEVEL

Location 

variants/vanilla/quirks.lisp

INTERACTIVE-BOOK-SELECTION
 (INTERACTIVE-BOOK-SELECTION DUNGEON PLAYER) [function]
Description 

Selects a book and returns it or NIL.

Called By 

BROWSE-SPELLS, VAN-INVOKE-SPELL! and VAN-LEARN-SPELL!

Calls 
Location 

variants/vanilla/spells.lisp

INTERACTIVE-FIRE-A-MISSILE
 (INTERACTIVE-FIRE-A-MISSILE DUNGEON PLAYER) [function]
Description 

Hackish shoot-code.

Calls 

AOBJ.KIND, GET-AIM-DIRECTION, GET-ID, GET-MISSILE-WEAPON, PRINT-MESSAGE!, SELECT-AND-RETURN-ITEM and SHOOT-A-MISSILE

Location 

variants/vanilla/combat.lisp

INTERACTIVE-IDENTIFY-OBJECT!
 (INTERACTIVE-IDENTIFY-OBJECT! DUNGEON PLAYER &KEY (TYPE '<NORMAL>)) [function]
Calls 

FORMAT-MESSAGE!, GET-ITEM-TABLE, ITEM-TABLE-REMOVE!, LEARN-ABOUT-OBJECT!, POSSIBLE-IDENTIFY!, PUT-OBJECT-IN-CONTAINER!, SELECT-ITEM and WRITE-OBJ-DESCRIPTION

Location 

variants/vanilla/spells.lisp

INTERACTIVE-IDENTIFY-SYMBOL
 (INTERACTIVE-IDENTIFY-SYMBOL VARIANT PLAYER) [function]
Calls 

%INPUT-ONE-KEY, CHAR-CODE, HASH-TABLE-COUNT, PAUSE-LAST-LINE!, PLAYER.MONSTER-KNOWLEDGE, PUT-COLOURED-LINE!, PUT-COLOURED-STR! and READ-ONE-CHARACTER

Location 

variants/vanilla/various.lisp

INTERACTIVE-REFILL-ITEM!
 (INTERACTIVE-REFILL-ITEM! DUNGEON PLAYER) [function]
Description 

Refill some item with another item

Calls 
Location 

variants/vanilla/various.lisp

INTERACTIVE-SPELL-SELECTION
 (INTERACTIVE-SPELL-SELECTION PLAYER SPELLBOOK &KEY (PROMPT "Cast which spell? ")) [function]
Description 

Returns selection.

Called By 

VAN-INVOKE-SPELL! and VAN-LEARN-SPELL!

Calls 

A2I, ALPHA-CHAR-P, DISPLAY-SPELLS, FORMAT, I2A, PUT-COLOURED-LINE!, READ-ONE-CHARACTER, SPELLBOOK.SIZE and WARN

Location 

variants/vanilla/spells.lisp

IS-EVIL?
 (IS-EVIL? MONSTER) [function]
Called By 

DETECT-EVIL-MONSTERS! and IS-EVIL?

Calls 

AMON.KIND, IS-EVIL? and MONSTER.ALIGNMENT

Location 

variants/vanilla/spells.lisp

IS-LEGAL-EFFECT-TYPE?
 (IS-LEGAL-EFFECT-TYPE? EFFECT-TYPE) [function]
Called By 

DEFINE-SPELL, INITIALISE-OBJECT-KIND! and INITIALISE-OBJECT-KIND!

Calls 

FIND

Location 

variants/vanilla/effects.lisp

IS-SMART?
 (IS-SMART? CREATURE) [function]
Description 

Checks if a creature is smart.

Called By 

PRODUCE-ACTIVE-MONSTER

Calls 

AMON.KIND, FIND and MONSTER.ABILITIES

Location 

variants/vanilla/monsters.lisp

KILL-TARGET!
 (KILL-TARGET! (VARIANT VANILLA-VARIANT) DUNGEON ATTACKER (TARGET ACTIVE-MONSTER) X Y) [method]
Called By 

DELIVER-DAMAGE!, FINALISE-VISUAL-EVENT and FINALISE-VISUAL-EVENT

Calls 

(SETF COORD-FLOOR), CALL-NEXT-METHOD, CAVE-COORD, COORD.FLOOR and FLOOR.ID

Location 

variants/vanilla/combat.lisp

LEARN-SPELL!
 (LEARN-SPELL! PLAYER SPELL) [function]
Description 

Tries to ensure that the player learns the given spell.

Called By 

VAN-LEARN-SPELL!

Calls 
Location 

variants/vanilla/spells.lisp

LEVEL-READY?
 (LEVEL-READY? (LEVEL VAN/TOWN-LEVEL)) [method]
Called By 

CREATE-APPROPRIATE-LEVEL

Calls 

LEVEL.DUNGEON

Location 

variants/vanilla/levels.lisp

LIGHT-AREA!
 (LIGHT-AREA! DUNGEON SOURCE X Y DAMAGE RADIUS &KEY (TYPE '<LIGHT>) PROJECTED-OBJECT) [function]
Description 

Lights the area.

Calls 

DO-PROJECTION, GET-SPELL-EFFECT, IS-BLIND?, LIGHT-ROOM!, LOGIOR and PRINT-MESSAGE!

Location 

variants/vanilla/spells.lisp

LOAD-OBJECT
 (LOAD-OBJECT (VARIANT VANILLA-VARIANT) (TYPE (EQL PLAYER)) (STREAM L-BINARY-STREAM)) [method]
Calls 

BINARY-TYPES:READ-BINARY, CALL-NEXT-METHOD, CLASS.LEARNT-SPELLS, IS-SPELLCASTER?, LANG.STREAM, LOAD-BINARY-STRING, PLAYER.CLASS, SAVEHEADER.ENGINE-NUM-VERSION and VECTOR-PUSH

Location 

variants/vanilla/save.lisp

LOAD-VARIANT-OBJECT
 (LOAD-VARIANT-OBJECT (VARIANT VANILLA-VARIANT) (STREAM L-BINARY-STREAM)) [method]
Calls 

BINARY-TYPES:READ-BINARY, CALL-NEXT-METHOD, FILED-VARIANT-DATA, LANG.STREAM and SAVEHEADER.ENGINE-NUM-VERSION

Location 

variants/vanilla/save.lisp

MAGIC-BONUS-FOR-LEVEL
 (MAGIC-BONUS-FOR-LEVEL MAX LEVEL) [function]
Description 

Wrapper for get-level-appropriate-enchantment.

Calls 

GET-LEVEL-APPROPRIATE-ENCHANTMENT

Location 

variants/vanilla/objects.lisp

MAKE-SPEFF
 (MAKE-SPEFF)
Called By 

GET-SPELL-EFFECT

Location 

variants/vanilla/effects.lisp

MAKE-VAN/SKILL
 (MAKE-VAN/SKILL)

MELEE-INFLICT-DAMAGE!
 (MELEE-INFLICT-DAMAGE! (ATTACKER PLAYER) TARGET THE-ATTACK) [method]
Calls 

DEDUCT-HP!, GET-DAMAGE-DICE, GET-DAMAGE-MODIFIER, GET-MELEE-WEAPON, GET-NUMBER-OF-DAMAGE-DICE and ROLL-DICE

Location 

variants/vanilla/combat.lisp

MISSILE-INFLICT-DAMAGE!
 (MISSILE-INFLICT-DAMAGE! (ATTACKER PLAYER) (TARGET ACTIVE-MONSTER) (MISS-WPN ACTIVE-OBJECT/BOW) (MISSILE ACTIVE-OBJECT/AMMO)) [method]
 (MISSILE-INFLICT-DAMAGE! (ATTACKER ACTIVE-MONSTER) TARGET WPN MISSILE) [method]

MODIFY-CREATURE-SPEED!
 (MODIFY-CREATURE-SPEED! EFFECT CREATURE AMOUNT DURATION) [function]
Description 

Tries to haste the creature.

Called By 

HASTE-CREATURE! and SLOW-CREATURE!

Calls 

GET-CREATURE-SPEED and MODIFY-CREATURE-STATE!

Location 

variants/vanilla/spells.lisp

MODIFY-CREATURE-STATE!
 (MODIFY-CREATURE-STATE! CREATURE STATE &KEY ADD SUBTRACT NEW-VALUE) [method]
Called By 

MODIFY-CREATURE-SPEED!, PROCESS-WORLD& and TOGGLE-WORD-OF-RECALL!

Calls 

ATTR.UPDATE-FUN, FUNCALL, GETHASH, SLOT-VALUE and WARN

Location 

variants/vanilla/player.lisp

NEED-FLAVOUR?
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/POTION)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/SCROLL)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/WAND)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/ROD)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/STAFF)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/RING)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/AMULET)) [method]
 (NEED-FLAVOUR? (VAR-OBJ VANILLA-VARIANT) (OBJ OBJECT-KIND/MUSHROOM)) [method]

OK-OBJECT?
 (OK-OBJECT? (OBJ OBJECT-KIND/WAND) &KEY CONTEXT WARN-ON-FAILURE) [method]
 (OK-OBJECT? (OBJ OBJECT-KIND/STAFF) &KEY CONTEXT WARN-ON-FAILURE) [method]
 (OK-OBJECT? (OBJ OBJECT-KIND/ROD) &KEY CONTEXT WARN-ON-FAILURE) [method]
 (OK-OBJECT? (OBJ OBJECT-KIND/POTION) &KEY CONTEXT WARN-ON-FAILURE) [method]
 (OK-OBJECT? (OBJ OBJECT-KIND/SCROLL) &KEY CONTEXT WARN-ON-FAILURE) [method]
 (OK-OBJECT? (OBJ OBJECT-KIND/MUSHROOM) &KEY CONTEXT WARN-ON-FAILURE) [method]
 (OK-OBJECT? (OBJ MAGIC-SPELL) &KEY CONTEXT WARN-ON-FAILURE) [method]

ON-DROP-OBJECT
 (ON-DROP-OBJECT (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (OBJ ACTIVE-OBJECT)) [method]
Called By 

THROW-OBJECT

Calls 

ASK-FOR-UPDATE!

Location 

variants/vanilla/player.lisp

ON-PICKUP-OBJECT
 (ON-PICKUP-OBJECT (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (OBJ ACTIVE-OBJECT)) [method]
Calls 

ASK-FOR-UPDATE!

Location 

variants/vanilla/player.lisp

ON-TAKE-OFF-OBJECT
 (ON-TAKE-OFF-OBJECT (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (OBJ ACTIVE-OBJECT)) [method]
Calls 

ASK-FOR-UPDATE!

Location 

variants/vanilla/player.lisp

ON-WEAR-OBJECT
 (ON-WEAR-OBJECT (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (OBJ ACTIVE-OBJECT)) [method]
Calls 

ASK-FOR-UPDATE!

Location 

variants/vanilla/player.lisp

PRINT-ATTACK-GRAPH
 (PRINT-ATTACK-GRAPH VAR-OBJ PLAYER) [function]
Calls 

CLEAR-WINDOW, FORMAT, GET-MELEE-ATTACK-SKILL, INT-/, PAUSE-LAST-LINE! and PUT-COLOURED-STR!

Location 

variants/vanilla/various.lisp

PRINT-ATTACK-TABLE
 (PRINT-ATTACK-TABLE VAR-OBJ PLAYER) [function]
Calls 

CLEAR-WINDOW, GET-MELEE-ATTACK-SKILL, PAUSE-LAST-LINE!, PRINT-TEXT! and PUT-COLOURED-STR!

Location 

variants/vanilla/various.lisp

PRINT-BASIC-FRAME
 (PRINT-BASIC-FRAME (VARIANT VANILLA-VARIANT) (DUNGEON DUNGEON) (PLAYER PLAYER)) [method]
Calls 

BASIC-FRAME-SHOWN?, CALL-NEXT-METHOD, GET-SETTING, PRINT-MANA-POINTS and RESET-REDRAW!

Location 

variants/vanilla/print.lisp

PRINT-DEPTH
 (PRINT-DEPTH (VARIANT VANILLA-VARIANT) (LEVEL LEVEL) SETTING) [method]
 (PRINT-DEPTH (VARIANT VANILLA-VARIANT) (LEVEL VAN/TOWN-LEVEL) SETTING) [method]

PRINT-EXTRA-FRAME-CONTENT
 (PRINT-EXTRA-FRAME-CONTENT (VARIANT VANILLA-VARIANT) (DUNGEON DUNGEON) (PLAYER PLAYER)) [method]
Called By 

REDRAW-STUFF

Calls 

CAN-LEARN-MORE-SPELLS?, DISPLAY-VISUAL-STATES, GET-ATTRIBUTE-VALUE, GET-SETTING, MODIFY-VISUAL-STATE!, PLAYER.TEMP-ATTRS, PRINT-CUT, PRINT-HUNGER, PRINT-STUN and TRIGGER-PRINTFIELD-HOOKS&

Location 

variants/vanilla/print.lisp

PRINT-KEY-TABLE
 (PRINT-KEY-TABLE TABLE FNAME) [function]
Description 

Prints a key-table to the given file.

Calls 

(SETF CDR), FORMAT, GET-KEY-OPERATIONS, MAPCAR, MAPHASH and SORT

Location 

variants/vanilla/wizard.lisp

PRINT-MANA-POINTS
 (PRINT-MANA-POINTS VARIANT PLAYER SETTING) [function]
Description 

Prints mana-points info to left frame.

Called By 

PRINT-BASIC-FRAME and REDRAW-STUFF

Calls 

BASIC-FRAME-SHOWN?, CURRENT-MANA, GET-WINDOW, INT-/, IS-SPELLCASTER?, MAXIMUM-MANA, OUTPUT-STRING!, SETTING-LOOKUP and WIN/FORMAT

Location 

variants/vanilla/print.lisp

PRINT-OBJECT
 (PRINT-OBJECT (INST MAGIC-SPELL) STREAM) [method]
 (PRINT-OBJECT (INST SPELLBOOK) STREAM) [method]
 (PRINT-OBJECT (INST SPELL-CLASSDATA) STREAM) [method]
 (PRINT-OBJECT (INST ACTIVE-OBJECT/LIGHT-SOURCE) STREAM) [method]
 (PRINT-OBJECT (INST EGO-ITEM) STREAM) [method]
 (PRINT-OBJECT (INST SPAB) STREAM) [method]
 (PRINT-OBJECT (INST BREATH-SPAB) STREAM) [method]
 (PRINT-OBJECT (INST BOLT-SPELL-SPAB) STREAM) [method]
 (PRINT-OBJECT (INST BALL-SPELL-SPAB) STREAM) [method]
 (PRINT-OBJECT (INST SUMMON-SPAB) STREAM) [method]
 (PRINT-OBJECT (INST RANGED-SPAB) STREAM) [method]

PRINT-TOMB
 (PRINT-TOMB (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Calls 
Location 

variants/vanilla/various.lisp

PROCESS-SINGLE-MONSTER!
 (PROCESS-SINGLE-MONSTER! (VARIANT VANILLA-VARIANT) DUNGEON PLAYER MON) [method]
Calls 

(SETF COORD-FLOOR), CALL-NEXT-METHOD, CAVE-COORD, COORD.FLOOR, CURRENT-HP, FLOOR.ID, INT-/, LOCATION-X, LOCATION-Y and MAXIMUM-HP

Location 

variants/vanilla/monsters.lisp

PRODUCE-ACTIVE-OBJECT
 (PRODUCE-ACTIVE-OBJECT (VARIANT VARIANT) (OKIND OBJECT-KIND/LIGHT-SOURCE)) [method]
 (PRODUCE-ACTIVE-OBJECT (VARIANT VARIANT) (AOBJ ACTIVE-OBJECT/LIGHT-SOURCE)) [method]

PRODUCE-SKILLS-OBJECT
 (PRODUCE-SKILLS-OBJECT VARIANT &KEY DEFAULT-VALUE) [generic]
Description 

Returns a skills-object for the given variant.

Called By 

PRODUCE-PLAYER-OBJECT

Location 

variants/vanilla/base.lisp

PRODUCE-SKILLS-OBJECT
 (PRODUCE-SKILLS-OBJECT (VARIANT VANILLA-VARIANT) &KEY (DEFAULT-VALUE 0)) [method]
Calls 

(SETF SLOT-VALUE), MAKE-INSTANCE and VARIANT.SKILL-TRANSLATIONS

Location 

variants/vanilla/skills.lisp

PROJECT-ON-LOS-MONSTERS
 (PROJECT-ON-LOS-MONSTERS SOURCE EFFECT DAMAGE &KEY PROJECTED-OBJECT) [function]
Description 

Projects an effect on all monsters that are in LOS of the source.

Calls 

APPLY-PROJECTION-EFFECT-TO-TARGET!, CREATURE-ALIVE?, DUNGEON.MONSTERS, GET-EFFECT-TYPE, LOCATION-X, LOCATION-Y, PLAY-SOUND, PLAYER-HAS-LOS-BOLD? and PROJECTILE.ID

Location 

variants/vanilla/spells.lisp

REGENERATE-MANA!
 (REGENERATE-MANA! CRT PERCENT) [function]
Called By 

PROCESS-WORLD&

Calls 

(SETF CURRENT-MANA), (SETF PLAYER.FRACTION-MANA), ASK-FOR-REDRAW!, CURRENT-MANA, EXPT, INT-/, LOGAND, MAXIMUM-MANA and PLAYER.FRACTION-MANA

Location 

variants/vanilla/player.lisp

REGISTER-LEVEL!
 (REGISTER-LEVEL! (VAR-OBJ VANILLA-VARIANT) (ID STRING) &KEY EGO-FILTER) [method]
Called By 

VAN/REGISTER-LEVELS!

Calls 

(SETF GETHASH), (SETF GOBJ-TABLE.OBJ-TABLE), CALL-NEXT-METHOD, FUNCTIONP, GETHASH, LANG-WARN, MAKE-GAME-OBJ-TABLE, MAKE-HASH-TABLE and VARIANT.FILTERS

Location 

variants/vanilla/levels.lisp

REGISTER-SKILL-TRANSLATION&
 (REGISTER-SKILL-TRANSLATION& VARIANT TRANSLATION) [generic]
Description 

Registers a skill-translation with the variant.

Called By 

VAN-INIT-SKILL-SYSTEM

Location 

variants/vanilla/base.lisp

REGISTER-SKILL-TRANSLATION&
 (REGISTER-SKILL-TRANSLATION& (VARIANT VARIANT) TRANSLATION) [method]
Calls 

ADD-SINGLE-TRANSLATION, ATOM, VARIANT.SKILL-TRANSLATIONS and WARN

Location 

variants/vanilla/skills.lisp

REGISTER-SPAB&
 (REGISTER-SPAB& KEY VALUE) [function]
Calls 

(SETF GETHASH)

Location 

variants/vanilla/monsters.lisp

REGISTER-SPELLBOOK&
 (REGISTER-SPELLBOOK& VARIANT BOOK) [function]
Description 

Registers spellbook in variant and returns the book.

Called By 

DEFINE-SPELLBOOK, INITIALISE-OBJECT-KIND! and INITIALISE-OBJECT-KIND!

Calls 

(SETF GETHASH), GETHASH, SPELLBOOK.ID, VARIANT.SPELLBOOKS and WARN

Location 

variants/vanilla/spells.lisp

REMOVE-CURSE!
 (REMOVE-CURSE! CREATURE POWER) [function]
Description 

Removes any curses on the creature.

Calls 

AOBJ.CONTAINS, GET-CREATURE-INVENTORY, IS-PLAYER?, ITEM-TABLE-ITERATE!, PLAYER.EQUIPMENT, UNCURSE-OBJECT! and WARN

Location 

variants/vanilla/spells.lisp

RESET-PLAYER-OBJECT!
 (RESET-PLAYER-OBJECT! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Calls 

%RESET-PLATTRS, (SETF AREF), CALL-NEXT-METHOD, GET-RESISTANCE-TABLE, PLAYER.CALC-ATTRS, PLAYER.SKILLS and VAN/RESET-SKILLS!

Location 

variants/vanilla/player.lisp

ROLL-UP-CHARACTER!
 (ROLL-UP-CHARACTER! (VARIANT VANILLA-VARIANT) (PLAYER PLAYER)) [method]
Calls 

(SETF CURRENT-MANA), CALCULATE-CREATURE-MANA!, CALL-NEXT-METHOD and MAXIMUM-MANA

Location 

variants/vanilla/player.lisp

SAVE-OBJECT
 (SAVE-OBJECT (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (STREAM L-BINARY-STREAM) INDENT) [method]
 (SAVE-OBJECT (VARIANT VANILLA-VARIANT) (PLAYER PLAYER) (STREAM L-READABLE-STREAM) INDENT) [method]
 (SAVE-OBJECT (VARIANT VANILLA-VARIANT) (OBJ VANILLA-VARIANT) (STREAM L-BINARY-STREAM) INDENT) [method]
 (SAVE-OBJECT (VARIANT VANILLA-VARIANT) (OBJ VANILLA-VARIANT) (STREAM L-READABLE-STREAM) INDENT) [method]

SLOW-CREATURE!
 (SLOW-CREATURE! CREATURE AMOUNT DURATION) [function]
Description 

Tries to haste the creature.

Calls 

MODIFY-CREATURE-SPEED!

Location 

variants/vanilla/spells.lisp

SPAB-EFFECT
 (SPAB-EFFECT ARGUMENTS) [macro]

SPEFF-P
 (SPEFF-P OBJ) [predicate]

SPEFF-TYPE
 (SPEFF-TYPE (OBJ SPEFF)) [function]

(SETF SPEFF-TYPE)
 ((SETF SPEFF-TYPE) (OBJ SPEFF)) [function]

SPELL-EFFECT
 (SPELL-EFFECT ARGUMENTS) [macro]

STACKABLE?
 (STACKABLE? (OBJ-A ACTIVE-OBJECT/LIGHT-SOURCE) (OBJ-B ACTIVE-OBJECT/LIGHT-SOURCE)) [method]
 (STACKABLE? (OBJ-A ACTIVE-OBJECT/WAND) (OBJ-B ACTIVE-OBJECT/WAND)) [method]
 (STACKABLE? (OBJ-A ACTIVE-OBJECT/STAFF) (OBJ-B ACTIVE-OBJECT/STAFF)) [method]
 (STACKABLE? (OBJ-A ACTIVE-OBJECT/ROD) (OBJ-B ACTIVE-OBJECT/ROD)) [method]

STORE-BUYS-ITEM?
 (STORE-BUYS-ITEM? (OBJECT ACTIVE-OBJECT) (STORE STORE)) [method]
 (STORE-BUYS-ITEM? (OBJECT ACTIVE-OBJECT) (STORE BLACK-MARKET)) [method]

STORE-GENERATE-OBJECT
 (STORE-GENERATE-OBJECT (VARIANT VANILLA-VARIANT) (THE-STORE BLACK-MARKET)) [method]
Calls 

APPLY-MAGIC!, GET-ACTIVE-OBJECT-BY-LEVEL, GET-PRICE and RANDINT

Location 

variants/vanilla/various.lisp

STORE-MASS-PRODUCE!
 (STORE-MASS-PRODUCE! (VARIANT VARIANT) (STORE STORE) (OBJECT ACTIVE-OBJECT)) [method]
Calls 

(SETF AOBJ.NUMBER), GET-PRICE and ROLL-DICE

Location 

variants/vanilla/objects.lisp

SUMMON-MONSTER
 (SUMMON-MONSTER DUNGEON X Y DEPTH &KEY (TYPE :ANY)) [function]
Description 

Returns T if it summoned a monster successfully.

Location 

variants/vanilla/spells.lisp

TELEPORT-CREATURE!
 (TELEPORT-CREATURE! DUNGEON PLAYER CREATURE RANGE) [function]
Description 

Teleports the creature some distance.

Called By 

PROCESS-WORLD&

Calls 

CAN-PLACE?, CAVE-ICKY?, DISTANCE, IN-BOUNDS-FULLY?, LOCATION-X, LOCATION-Y, POSITIVE-INTEGER?, RAND-SPREAD, SWAP-MONSTERS! and WARN

Location 

variants/vanilla/spells.lisp

TEXT-BOLT-ARRAY
 (TEXT-BOLT-ARRAY COLOUR) [function]
Calls 

(SETF AREF), MAKE-ARRAY and TEXT-PAINT-VALUE

Location 

variants/vanilla/effects.lisp

TOGGLE-WORD-OF-RECALL!
 (TOGGLE-WORD-OF-RECALL! PLAYER) [function]
Description 

Toggles word of recall, not activate it.

Calls 

(SETF ATTR.DURATION), (SETF ATTR.VALUE), GET-ATTRIBUTE-VALUE, GETHASH, MODIFY-CREATURE-STATE!, PLAYER.TEMP-ATTRS, PRINT-MESSAGE! and RANDOM

Location 

variants/vanilla/spells.lisp

TRIGGER-SPECIAL-ABILITY
 (TRIGGER-SPECIAL-ABILITY (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER) (ABILITY SPAB) TARGET DUNGEON) [method]
 (TRIGGER-SPECIAL-ABILITY (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER) (ABILITY SPELL-SPAB) TARGET DUNGEON) [method]
 (TRIGGER-SPECIAL-ABILITY (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER) (ABILITY BALL-SPELL-SPAB) TARGET DUNGEON) [method]
 (TRIGGER-SPECIAL-ABILITY (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER) (ABILITY BREATH-SPAB) TARGET DUNGEON) [method]
 (TRIGGER-SPECIAL-ABILITY (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER) (ABILITY BOLT-SPELL-SPAB) TARGET DUNGEON) [method]
 (TRIGGER-SPECIAL-ABILITY (VARIANT VANILLA-VARIANT) (CREATURE ACTIVE-MONSTER) (ABILITY RANGED-SPAB) TARGET DUNGEON) [method]

UPDATE-GOBJ-TABLE!
 (UPDATE-GOBJ-TABLE! VARIANT KEY O-TABLE ALLOC-TABLE-CREATOR) [function]
Description 

Tries to make an allocation table from a table.

Called By 

INITIALISE-EGO-ITEMS&, INITIALISE-MONSTERS& and INITIALISE-OBJECTS&

Calls 

(SETF GOBJ-TABLE.ALLOC-TABLE), (SETF GOBJ-TABLE.OBJ-TABLE-BY-LVL), CONVERT-OBJ, FUNCALL, GOBJ-TABLE.OBJ-TABLE, GOBJ-TABLE.OBJ-TABLE-BY-LVL and SLOT-VALUE

Location 

variants/vanilla/quirks.lisp

UPDATE-STUFF
 (UPDATE-STUFF (VARIANT VANILLA-VARIANT) DUNGEON PLAYER) [method]
Called By 

LIGHT-ROOM!

Calls 

ANY-UPDATES?, CALCULATE-CREATURE-MANA!, CALL-NEXT-METHOD, RESET-UPDATE! and WANT-UPDATE?

Location 

variants/vanilla/various.lisp

USE-OBJECT!
 (USE-OBJECT! (VARIANT VANILLA-VARIANT) DUNGEON PLAYER THE-OBJECT &KEY (WHICH-USE :USE)) [method]
Calls 
Location 

variants/vanilla/objects.lisp

VAN-BREATH!
 (VAN-BREATH! SOURCE DESTINATION EFFECT DAMAGE RADIUS &KEY PROJECTED-OBJECT) [function]
Description 

Fires a ball in a direction.

Called By 

TRIGGER-SPECIAL-ABILITY

Calls 

DO-PROJECTION, GET-DESTINATION-COORDS and LOGIOR

Location 

variants/vanilla/spells.lisp

VAN-CREATE-BARE-TOWN-LEVEL-OBJ
 (VAN-CREATE-BARE-TOWN-LEVEL-OBJ) [function]
Description 

Returns a bare town-level.

Calls 

MAKE-INSTANCE

Location 

variants/vanilla/levels.lisp

VAN-DUMP-MONSTERS
 (VAN-DUMP-MONSTERS OUT-FILE &KEY (MONSTER-LIST NIL) (VAR-OBJ *VARIANT*) (ACTION-FUN #'VAN-OBJ-PRINTER)) [function]
Calls 

FUNCALL, FUNCTIONP, ORG.LANGBAND.ENGINE:GET-MONSTER-LIST, PPRINT and TERPRI

Location 

variants/vanilla/wizard.lisp

VAN-FIRE-BALL!
 (VAN-FIRE-BALL! SOURCE DESTINATION EFFECT DAMAGE RADIUS &KEY PROJECTED-OBJECT) [function]
Description 

Fires a ball in a direction.

Called By 

TRIGGER-SPECIAL-ABILITY

Calls 

DO-PROJECTION, GET-DESTINATION-COORDS and LOGIOR

Location 

variants/vanilla/spells.lisp

VAN-FIRE-BEAM!
 (VAN-FIRE-BEAM! SOURCE DESTINATION EFFECT DAMAGE &KEY PROJECTED-OBJECT (FLAG 0)) [function]
Description 

Fires a beam in a direction.

Called By 

VAN-FIRE-BOLT-OR-BEAM!

Calls 

%SIMPLE-PROJECTION and LOGIOR

Location 

variants/vanilla/spells.lisp

VAN-FIRE-BOLT!
 (VAN-FIRE-BOLT! SOURCE DESTINATION EFFECT DAMAGE &KEY PROJECTED-OBJECT (FLAG 0)) [function]
Description 

Fires a bolt in a direction.

Called By 

TRIGGER-SPECIAL-ABILITY and VAN-FIRE-BOLT-OR-BEAM!

Calls 

%SIMPLE-PROJECTION and LOGIOR

Location 

variants/vanilla/spells.lisp

VAN-FIRE-BOLT-OR-BEAM!
 (VAN-FIRE-BOLT-OR-BEAM! SOURCE BEAM-CHANCE DESTINATION EFFECT DAMAGE &KEY PROJECTED-OBJECT) [function]
Description 

Will fire a beam if beam-chance/100 happens, otherwise a bolt.

Calls 

RANDOM, VAN-FIRE-BEAM! and VAN-FIRE-BOLT!

Location 

variants/vanilla/spells.lisp

VAN-GENERATE-SCROLL-FLAVOUR
 (VAN-GENERATE-SCROLL-FLAVOUR VARIANT OBJECT) [function]
Description 

returns the flavour for the given object

Location 

variants/vanilla/various.lisp

VAN-GROUP-CHANCE
 (VAN-GROUP-CHANCE ID MON-DEPTH LVL-DEPTH) [function]
Called By 

VAN-NOVICE-APPEARS-IN-GROUP?

Calls 

MAX-CAP and RANDOM

Location 

variants/vanilla/monsters.lisp

VAN-INIT-EQUIPMENT-VALUES
 (VAN-INIT-EQUIPMENT-VALUES VAR-OBJ) [function]
Description 

Initialises values dealing with the equipment (sorting, worn slots).

Called By 

ACTIVATE-OBJECT

Calls 

REGISTER-SLOT-ORDER&

Location 

variants/vanilla/quirks.lisp

VAN-INIT-SKILL-SYSTEM
 (VAN-INIT-SKILL-SYSTEM VAR-OBJ) [function]
Description 

Tries to init all that deals with the skill-system.

Called By 

ACTIVATE-OBJECT

Calls 

REGISTER-SKILL-TRANSLATION&

Location 

variants/vanilla/quirks.lisp

VAN-LEARN-SPELL!
 (VAN-LEARN-SPELL! DUNGEON PLAYER &KEY (VARIANT *VARIANT*)) [function]
Description 

Interactive selection of spell to learn.

Calls 
Location 

variants/vanilla/spells.lisp

VAN-MAKE-SCROLL-NAME
 (VAN-MAKE-SCROLL-NAME &KEY (MAX-LENGTH 15)) [function]
Description 

Returns a string with the name of a scroll

Calls 

CONCATENATE, RANDOM and STRING-RIGHT-TRIM

Location 

variants/vanilla/various.lisp

VAN-MAKE-TOWN-LEVEL-OBJ
 (VAN-MAKE-TOWN-LEVEL-OBJ VARIANT PLAYER) [function]
Description 

A sucky function which should be simplified greatly.

Called By 

CREATE-APPROPRIATE-LEVEL

Calls 

(SETF VARIANT.TOWN-SEED), DO-GENERATION, FUNCALL, GENERATE-LEVEL!, GET-LEVEL-BUILDER, MAKE-RANDOM-STATE and VARIANT.TOWN-SEED

Location 

variants/vanilla/levels.lisp

VAN-MAKE-VARIANT-OBJ
 (VAN-MAKE-VARIANT-OBJ) [function]
Calls 

MAKE-INSTANCE

Location 

variants/vanilla/base.lisp

VAN-MOVE-PLAYER!
 (VAN-MOVE-PLAYER! DUNGEON PLAYER DIRECTION) [function]
Called By 

%RUN-DIRECTION

Calls 

GET-INFORMATION, MOVE-PLAYER!, RUN-IN-DIRECTION and STOP-CREATURE-ACTIVITY

Location 

variants/vanilla/keys.lisp

VAN-NOVICE-APPEARS-IN-GROUP?
 (VAN-NOVICE-APPEARS-IN-GROUP? LEVEL MON) [function]
Calls 

AMON.KIND, ERROR, GET-ID, LEVEL.DEPTH, MONSTER.POWER-LVL and VAN-GROUP-CHANCE

Location 

variants/vanilla/monsters.lisp

VAN-OBJ-PRINTER
 (VAN-OBJ-PRINTER FILE OBJ) [function]
Calls 

ORG.LANGBAND.ENGINE:GET-LOADABLE-FORM, PRINT and TERPRI

Location 

variants/vanilla/wizard.lisp

VAN/ADD-EGO-ABILITY!
 (VAN/ADD-EGO-ABILITY! VARIANT ITEM DEPTH QUALITY) [function]
Called By 

ADD-MAGIC-TO-ITEM! and VAN/ADD-MAGIC-TO-WEAPON!

Calls 

GET-NAMED-GAMEOBJ-TABLE, GOBJ-TABLE.ALLOC-TABLE, RANDOM and WARN

Location 

variants/vanilla/objects.lisp

VAN/ADD-MAGIC-TO-WEAPON!
 (VAN/ADD-MAGIC-TO-WEAPON! VARIANT ITEM DEPTH QUALITY) [function]
Called By 

ADD-MAGIC-TO-ITEM! and ADD-MAGIC-TO-ITEM!

Calls 

GET-DAMAGE-MODIFIER, GET-LEVEL-APPROPRIATE-ENCHANTMENT, GET-TOHIT-MODIFIER, RANDINT, VAN/ADD-EGO-ABILITY! and WARN

Location 

variants/vanilla/objects.lisp

VAN/ADD-TO-A-SKILL!
 (VAN/ADD-TO-A-SKILL! WHICH THE-SKILLS-OBJ PLAYER-LVL SOURCE) [function]
Called By 

CALCULATE-ABILITIES! and CALCULATE-ABILITIES!

Calls 

ERROR, INT-/, SLOT-VALUE, VAN/SKILL-P, VAN/SKILL.BASE, VAN/SKILL.LVL-GAIN and WARN

Location 

variants/vanilla/skills.lisp

VAN/REGISTER-LEVELS!
 (VAN/REGISTER-LEVELS! VAR-OBJ) [function]
Description 

registering the levels this variant will use.

Called By 

ACTIVATE-OBJECT

Calls 

(SETF GETHASH), ERROR, GET-MTYPE-TABLE, GET-NAMED-GAMEOBJ-TABLE, GET-OTYPE-TABLE, GETHASH, GOBJ-TABLE.OBJ-TABLE, REGISTER-LEVEL! and SLOT-VALUE

Location 

variants/vanilla/quirks.lisp

VAN/RESET-SKILLS!
 (VAN/RESET-SKILLS! VARIANT SKILLS-OBJ RESET-VAL) [function]
Description 

Sets all skills to RESET-VAL.

Called By 

RESET-PLAYER-OBJECT!

Calls 

(SETF SLOT-VALUE) and VARIANT.SKILL-TRANSLATIONS

Location 

variants/vanilla/skills.lisp

VAN/SKILL-P
 (VAN/SKILL-P OBJ) [predicate]

VAN/SKILL.BASE
 (VAN/SKILL.BASE (OBJ VAN/SKILL)) [function]

(SETF VAN/SKILL.BASE)
 ((SETF VAN/SKILL.BASE) (OBJ VAN/SKILL)) [function]

VAN/SKILL.LVL-GAIN
 (VAN/SKILL.LVL-GAIN (OBJ VAN/SKILL)) [function]

(SETF VAN/SKILL.LVL-GAIN)
 ((SETF VAN/SKILL.LVL-GAIN) (OBJ VAN/SKILL)) [function]

VAN/SKILL.NAME
 (VAN/SKILL.NAME (OBJ VAN/SKILL)) [function]

(SETF VAN/SKILL.NAME)
 ((SETF VAN/SKILL.NAME) (OBJ VAN/SKILL)) [function]

VAN/TOWN-ILLUMINATE!
 (VAN/TOWN-ILLUMINATE! DUNGEON PLAYER TIME-OF-DAY) [function]
Description 

Illuminates the town according to the time-of-day.

Called By 

ACTIVATE-OBJECT and PROCESS-WORLD&

Calls 

ASK-FOR-REDRAW!, ASK-FOR-UPDATE!, BIT-FLAG-ADD!, BIT-FLAG-REMOVE!, BIT-FLAG-SET?, COORD.FLAGS, COORD.FLOOR, FLOOR.FLAGS, LOGIOR and WITH-DUNGEON

Location 

variants/vanilla/levels.lisp

VAN/VISIT-SHOP
 (VAN/VISIT-SHOP DUNGEON X Y HOUSE-NUM) [function]
Description 

Visits shop..

Calls 

GET-HOUSE and VISIT-HOUSE

Location 

variants/vanilla/levels.lisp

VISIT-HOUSE
 (VISIT-HOUSE LEVEL (HOUSE PLAYERS-HOME)) [method]
Called By 

VAN/VISIT-SHOP

Calls 

%HOME-INPUT-LOOP, ACTIVATE-OBJECT, ACTIVATED?, CLEAR-WINDOW, DISPLAY-HOUSE and WITH-DIALOGUE

Location 

variants/vanilla/levels.lisp

WRITE-OBJ-DESCRIPTION
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/RING) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/LIGHT-SOURCE) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/WAND) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/ARMOUR) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/BOOK) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/SCROLL) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT/WEAPON) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]
 (WRITE-OBJ-DESCRIPTION (VARIANT VANILLA-VARIANT) (OBJ ACTIVE-OBJECT) STREAM &KEY (STORE NIL) (VERBOSITY 1) (NUMERIC-PREFIX T)) [method]

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