Skip to Content
The Alchemy Project

src/game

Guide: Game Logic & Tables

Files

FileDescription
ability_table.cThe 519 abilities, by ability id: Psynergy, the party's and enemies' moves, item uses, Djinn and summons.
character_table.cThe eight party members' growth curves, element bonuses, starting levels and starting equipment.
class_table.cThe 203 classes, by class id.
djinn_table.cThe 80 Djinn, 20 of each element in element order.
element_table.cThe element tables: class series by element, element power and resistance by level, the enemies' element presets and the power and resistance curve.
enemy_table.cThe 165 enemies, by enemy id less ENEMY_ID_FIRST.
experience_table.cEach character's lighthouse group and the experience each needs for each level.
game.cThe game object: the rules of the party and its world.
game_battle_arithmetic.cBattle arithmetic: element multipliers, random rolls and success rates.
game_classes.cElement levels and classes.
game_djinn.cDjinn: definitions, setting and standby, and their counts.
game_flags.cThe game flags: bits, bytes and nibbles.
game_internal.hWhat every part of the game object shares: its includes and the inventory helper two parts use.
game_inventory.cItems and inventories: equipping, adding, removing, breaking and counting.
game_levels.cActions and Psynergy lists, characters, experience and levelling up.
game_party.cEnemy units, the active party, coins and counters, and summons.
game_snapshot.cEquipping a given item, and the equipment put aside for the Colosso.
game_units.cThe party's units and their stats, a new game, the prologue, HP and PP.
item_table.cEvery item, by item id: its price, what it is and who can equip it, the Attack and Defense it adds, its unleash, what it does while worn, and the ability it is used for.
main_routine.cThe main routine and scene changes: exits, returns from battle, entering.
rare_item_stock.cWhich items the shops keep a stock of in their Artifacts, and where.
starting_equipment.cThe characters a new game sets up with their starting equipment, class and level.
summon_table.cThe 16 summons: the standby Djinn each one needs, and the order the summon menus list them in.

On this page