OK-OBJECT?

Name

OK-OBJECT? -- generic function

Description

Checks to make sure the object is ok. Should not halt the program, just return NIL on failure. Is allowed to print warnings.

Methods

OK-OBJECT?
 (OK-OBJECT? OBJ &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

CLASS-OF and WARN

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ ACTIVE-ROOM) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

LOCATION-X, LOCATION-Y, ROOM-TYPE.ID, ROOM.TYPE and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ ACTIVE-OBJECT) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

AOBJ.INSCR, AOBJ.KIND, AOBJ.NUMBER, LOCATION-X, LOCATION-Y, OK-OBJECT? and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (PLAYER PLAYER) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 
Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ LEVEL) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

DUNGEON.DEPTH, LEVEL.DEPTH, LEVEL.DUNGEON, LEVEL.RATING and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ L-EVENT) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

EVENT.FUNCTION, EVENT.ID, EVENT.RETURN, EVENT.TYPE, FUNCTIONP and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ MONSTER-KIND) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 
Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (AB PLAYER-ABILITIES) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

GET-ARMOUR-MODIFIER, GET-ARMOUR-RATING, GET-DAMAGE-MODIFIER, GET-TOHIT-MODIFIER, NON-NEGATIVE-INTEGER? and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (INFO MISC-PLAYER-INFO) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

PLAYERMISC.AGE, PLAYERMISC.HEIGHT, PLAYERMISC.STATUS, PLAYERMISC.WEIGHT and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (DUNGEON DUNGEON) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

DUNGEON.DEPTH, DUNGEON.HEIGHT, DUNGEON.MONSTERS, DUNGEON.OBJECTS, DUNGEON.ROOMS, DUNGEON.WIDTH, OK-OBJECT? and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (VAR-OBJ VARIANT) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 
Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (MON ACTIVE-MONSTER) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

AMON.KIND, CURRENT-HP, GET-CREATURE-ENERGY, GET-CREATURE-MANA, GET-CREATURE-SPEED, MAXIMUM-HP, OK-OBJECT? and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ ATTACK) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

ATTACK.DMG-TYPE, ATTACK.KIND and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ TREASURE-DROP) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

DROP.AMOUNT, DROP.CHANCE, DROP.QUALITY, DROP.TYPE and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ GENDER) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

GENDER.NAME, GENDER.SYMBOL, GENDER.WIN-TITLE, GET-ID and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ CHARACTER-RACE) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

GET-ID, GET-RESISTS, NON-NEGATIVE-INTEGER?, RACE.DESC, RACE.HIT-DICE, RACE.NAME, RACE.SYMBOL, RACE.XP-EXTRA and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ EFFECT) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

EFFECT.BIT-FLAG, EFFECT.NAME, EFFECT.NUMBER, EFFECT.SYMBOL, NONBOOLSYM? and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ ELEMENT) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

ELEMENT.BIT-FLAG, ELEMENT.NAME, ELEMENT.NUMBER, ELEMENT.SYMBOL, NONBOOLSYM? and VERIFY-CHECK

Location 

verify.lisp

OK-OBJECT?
 (OK-OBJECT? (OBJ OBJECT-KIND) &KEY CONTEXT WARN-ON-FAILURE) [method]
Calls 

ALLOC-LOCATIONS, GET-ID, OBJECT.SORT-VALUE and VERIFY-CHECK

Location 

verify.lisp

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