summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 14:00:30 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 14:00:30 +0000
commitf051683f544f26da598a14007a8a1739226a2e5a (patch)
tree9b909a25321309e9fd642febe3f07ee956f65fa5 /crawl-ref/source/tags.h
parentbdf8da41d22e79b08e42615bb2bdadc47d2906a4 (diff)
downloadcrawl-ref-f051683f544f26da598a14007a8a1739226a2e5a.tar.gz
crawl-ref-f051683f544f26da598a14007a8a1739226a2e5a.zip
Enable pathfinding for patrolling monsters who lost their patrol point.
Fixed patrol definitions in maps not actually working. Tested both by teleporting the minotaur in a labyrinth. About 50 turns later it arrived back in its lair. :) Since the minotaur proved to have a high magic resistance, it had plenty of time to loot the stash at the labyrinth entrance once I'd woken it before I finally managed to teleport it away (in wizmode you can force monsters not noticing you). This resulted in "A minotaur, wielding the demon trident "Suyn Oma", and wearing a heavily runed ring mail." o_O It had also picked up a scroll and a wand. Ouch... (but cool!) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5536 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.h')
-rw-r--r--crawl-ref/source/tags.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/crawl-ref/source/tags.h b/crawl-ref/source/tags.h
index ae16aef150..9aea5c2ce1 100644
--- a/crawl-ref/source/tags.h
+++ b/crawl-ref/source/tags.h
@@ -43,21 +43,22 @@ enum tag_file_type // file types supported by tag system
enum tag_major_version
{
- TAG_MAJOR_START = 5,
+ TAG_MAJOR_START = 5,
TAG_MAJOR_VERSION = 5
};
// Minor version will be reset to zero when major version changes.
enum tag_minor_version
{
- TAG_MINOR_PIETY = 2, // Added piety_hysteresis
- TAG_MINOR_QUIVER = 3, // Added quiver
- TAG_MINOR_MAPMARK = 4, // Added sizes to map markers
- TAG_MINOR_MONNAM = 5, // Monsters get individual names
- TAG_MINOR_MONBASE = 6, // Zombie base monster gets its own field.
- TAG_MINOR_FPICKUP = 7, // Added pickup option for allied monsters.
- TAG_MINOR_MPATROL = 8, // Added monster patrol points.
- TAG_MINOR_VERSION = 8 // Current version
+ TAG_MINOR_PIETY = 2, // Added piety_hysteresis
+ TAG_MINOR_QUIVER = 3, // Added quiver
+ TAG_MINOR_MAPMARK = 4, // Added sizes to map markers
+ TAG_MINOR_MONNAM = 5, // Monsters get individual names
+ TAG_MINOR_MONBASE = 6, // Zombie base monster gets its own field.
+ TAG_MINOR_FPICKUP = 7, // Added pickup option for allied monsters.
+ TAG_MINOR_MPATROL = 8, // Added monster patrol points.
+ TAG_MINOR_PATHFIND = 9, // Added monster pathfinding.
+ TAG_MINOR_VERSION = 9 // Current version
};