Skip to content

Commit

Permalink
Hungry Walking Tome: spell-stealing book
Browse files Browse the repository at this point in the history
  • Loading branch information
chucksellick committed Feb 5, 2025
1 parent 1c38b57 commit 1dfec35
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions crawl-ref/source/dat/mons/hungry-tome.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "hungry walking tome"
enum: hungry_tome
glyph: {char: ";", colour: red}
xp_mult: 25
species: earthen_tome
genus: walking_tome
holiness: [nonliving]
will: invuln
attacks:
- {type: hit, damage: 35}
hd: 15
hp_10x: 1000
ac: 10
ev: 5
spells: hungry_tome
shout: rustle
intelligence: brainless
size: small
shape: misc
7 changes: 7 additions & 0 deletions crawl-ref/source/mon-spell.h
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,13 @@ static const mon_spellbook mspell_list[] =
}
},

{ MST_HUNGRY_TOME,
{
{ SPELL_STEAL_SPELLS, 60, MON_SPELL_WIZARD },
{ SPELL_CONJURE_LIVING_SPELLS, 60, MON_SPELL_WIZARD },
}
},

// ---------------------
// Uniques' spellbooks
// ---------------------
Expand Down
2 changes: 2 additions & 0 deletions crawl-ref/source/monster-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ enum monster_type // env.mons[].type
MONS_CRYSTAL_TOME,
MONS_DIVINE_TOME,
MONS_FROSTBOUND_TOME,
MONS_HUNGRY_TOME,
MONS_STRANGE_MACHINE,
MONS_PHARAOH_ANT,
MONS_STEELBARB_WORM,
Expand Down Expand Up @@ -1330,6 +1331,7 @@ enum monster_type // env.mons[].type
MONS_SHIELD_WALL,
MONS_YAKTAUR_FUSILIER,
MONS_SPIRIT_YAK,
MONS_HUNGRY_TOME,
#endif

NUM_MONSTERS, // used for polymorph
Expand Down
4 changes: 4 additions & 0 deletions crawl-ref/source/rltiles/dc-mon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,10 @@ earthen_tome MONS_EARTHEN_TOME
crystal_tome MONS_CRYSTAL_TOME
divine_tome MONS_DIVINE_TOME
frostbound_tome MONS_FROSTBOUND_TOME
%start
%compose earthen_tome
%compose UNUSED/monsters/ravenous_mimic
%finish MONS_HUNGRY_TOME
%rim 1

## Humans ('@')
Expand Down
1 change: 1 addition & 0 deletions crawl-ref/source/spell-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -631,5 +631,6 @@ enum spell_type : int
SPELL_RAISE_SHIELDS,
SPELL_FLESH_SACRIFICE,
SPELL_SCRIBE_AMNESIA,
SPELL_STEAL_SPELLS,
NUM_SPELLS
};

0 comments on commit 1dfec35

Please sign in to comment.