The party
Home · The engine in ten minutes · CharacterRuntime
In brief
The party has up to six characters, each stored in a
CharacterRuntime record. A new game
starts with four characters created by the player, or with four characters
transferred from a saved game of Eye of the Beholder I. Six prepared
characters can join the party during play, taking a free slot or the slot of a
character the player dismisses. A character has six attributes, an alignment
and one of 15 classes, each made of one to three base classes with their own
level and experience. The party's formation decides who can strike in melee
and whom monsters and projectiles reach; a character's condition decides what
it can still do. Resting brings used spells back one at a time, lets healers
cast their cure spells and slowly closes wounds, while poison keeps hurting.
The pages of this chapter
| Page | What it covers |
|---|---|
| Attributes and classes | The six attributes, the defense, the 15 classes and their base classes. |
| Experience and levels | How experience is shared, the thresholds, the hit points of a new level. |
| Formation | The six slots, swapping characters, whom monsters and projectiles reach. |
| Conditions | Unconscious, dead, poisoned, paralyzed, turned to stone, and what each allows. |
| Resting | Whether the party can rest, a step of rest, the hours, the end. |
| Resting: special cases | Conditions while resting, Insal's departure, the anomalies. |
| Creating a party | Race, class and alignment, rolling the attributes. |
| The creation screen | Modifying a character, portraits, names and controls. |
| Entering the game | Starting levels and hit points, starting items and spells. |
| Transferring a party | Reading the saved game of Eye of the Beholder I and its characters. |
| Transfer: spells and items | The conversion of spells and items, and its anomalies. |
| Recruiting and dismissing | The prepared characters who join, dismissing and dropping characters. |
| Characters of the game | The six recruitable characters, the quick start party, the prepared party. |
What other systems read and write
| System | Reads | Writes |
|---|---|---|
| Using a weapon and the hit roll | Slot, hand items, class_index and first level, strength and exceptional_strength (melee), dexterity (missiles), Aid and invisibility effects | disabled_slots, the hand results and their timers; hit_points for a draining weapon; invisibility ends |
| Monster attacks and effects | Slot, condition, invisibility effects, defense, saving throws with class, first level, constitution and race_and_sex | hit_points, last_damage, the Armor and Aid reserves, status_flags (poison, paralysis, petrification, which also ends every spell), timers 8 and 9, inventory items taken |
| Magic and spells | known_mage_spells, spell slots, levels, wisdom, spell book and holy symbol in the inventory, the spell-book page | Spell slots (menus, casting), known_mage_spells (scrolls), spell_effects, timers, the reserves, hit_points (healing, up to hit_points_max), disabled_slots bit 2 |
| Inventory and items | inventory, class_index for usable items, dexterity | inventory, defense after each exchange, food (rations), and what each potion changes |
| Time and food | Timers, food, condition | food, the timers and what each one ends; strength restored |
| Experience | class_index, levels, experience, constitution | experience, levels, hit_points, hit_points_max |
| Resting | Condition, food, inventory, spell slots, class | Spell slots; hit_points (healing, poison, hunger); not food |
| Formation | — | The whole record changes slot |
| Saved games | The whole record | The whole record; timers as time left; face_image kept and the portrait drawn again |
| Creation, transfer, recruitment | — | The whole record, as described in each section |
Scripts read and change characters through their own instructions; see scripts and the condition tokens. The bytes and bits whose meaning is still open are listed on the character record page.
Sources
Locations refer to the game executable reference; comparative sources are listed in the technical references.