summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/art-data.h19
-rw-r--r--crawl-ref/source/art-data.txt17
-rw-r--r--crawl-ref/source/artefact.h3
-rw-r--r--crawl-ref/source/rltiles/dc-unrand.txt1
-rw-r--r--crawl-ref/source/rltiles/item/armour/artefact/urand_pondering.pngbin0 -> 739 bytes
-rw-r--r--crawl-ref/source/rltiles/tiledef-unrand.cc2
6 files changed, 41 insertions, 1 deletions
diff --git a/crawl-ref/source/art-data.h b/crawl-ref/source/art-data.h
index c6170f1e74..93cd38e07a 100644
--- a/crawl-ref/source/art-data.h
+++ b/crawl-ref/source/art-data.h
@@ -1543,6 +1543,25 @@
_RCLOUDS_equip, NULL, _RCLOUDS_world_reacts, { NULL }, NULL,
},
+/* UNRAND_PONDERING */
+{
+ "hat of Pondering", "slimy wizard hat",
+ OBJ_ARMOUR, ARM_WIZARD_HAT, +3, 0, LIGHTRED, 0,
+ UNRAND_FLAG_NONE,
+ {
+ SPARM_PONDEROUSNESS, 0, 0, 0, +5, 0,
+ 0, 0, 0, 0, 0, 30,
+ 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, +10,
+ 0,
+ },
+ "A slimy wizard hat.",
+ "",
+ "The favorite hat of the slug wizard Gastronok, stained with reddish slime and enchanted to aid in his arcane pondering. It has been specially enchanted to protect against the effects of salt, though you probably don't care.",
+ NULL, NULL, NULL, { NULL }, NULL,
+},
+
/* UNRAND_DUMMY2 */
{
"DUMMY UNRANDART 2", "DUMMY UNRANDART 2",
diff --git a/crawl-ref/source/art-data.txt b/crawl-ref/source/art-data.txt
index 3827b0e41c..36bfd3dfd4 100644
--- a/crawl-ref/source/art-data.txt
+++ b/crawl-ref/source/art-data.txt
@@ -1121,6 +1121,23 @@ TILE_EQ: robe_clouds
BOOL: elec, lev
DESC: A robe of a material so flimsy it could almost be clouds.
+NAME: hat of Pondering
+APPEAR: slimy wizard hat
+OBJ: OBJ_ARMOUR/ARM_WIZARD_HAT
+PLUS: +3
+COLOUR: LIGHTRED
+TILE: urand_pondering
+TILE_EQ: wizard_bluegreen
+BRAND: SPARM_PONDEROUSNESS
+INT: +5
+MP: +10
+MAGIC: 30
+DESC: A slimy wizard hat.
+DESC_END: The favorite hat of the slug wizard Gastronok, stained with reddish
+ slime and enchanted to aid in his arcane pondering. It has been
+ specially enchanted to protect against the effects of salt, though
+ you probably don't care.
+
# This entry must always be last.
ENUM: DUMMY2
NAME: DUMMY UNRANDART 2
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h
index 80c44e14cc..0bc887c647 100644
--- a/crawl-ref/source/artefact.h
+++ b/crawl-ref/source/artefact.h
@@ -13,7 +13,7 @@
class bolt;
// NOTE: NO_UNRANDARTS is automatically set by util/art-data.pl
-#define NO_UNRANDARTS 81
+#define NO_UNRANDARTS 82
#define ART_PROPERTIES ARTP_NUM_PROPERTIES
@@ -117,6 +117,7 @@ enum unrand_type
UNRAND_MAGE, // ring of the Mage
UNRAND_SHIELDING, // brooch of Shielding
UNRAND_RCLOUDS, // robe of Clouds
+ UNRAND_PONDERING, // hat of Pondering
UNRAND_DUMMY2, // DUMMY UNRANDART 2
UNRAND_LAST = UNRAND_DUMMY2
};
diff --git a/crawl-ref/source/rltiles/dc-unrand.txt b/crawl-ref/source/rltiles/dc-unrand.txt
index 82f5f3bafc..37c833f358 100644
--- a/crawl-ref/source/rltiles/dc-unrand.txt
+++ b/crawl-ref/source/rltiles/dc-unrand.txt
@@ -28,6 +28,7 @@ urand_starlight UNRAND_STARLIGHT
urand_ratskin_cloak UNRAND_RATSKIN_CLOAK
urand_gong UNRAND_GONG
urand_clouds UNRAND_RCLOUDS
+urand_pondering UNRAND_PONDERING
%sdir item/weapon/artefact
spwpn_singing_sword UNRAND_SINGING_SWORD
diff --git a/crawl-ref/source/rltiles/item/armour/artefact/urand_pondering.png b/crawl-ref/source/rltiles/item/armour/artefact/urand_pondering.png
new file mode 100644
index 0000000000..2112c795bf
--- /dev/null
+++ b/crawl-ref/source/rltiles/item/armour/artefact/urand_pondering.png
Binary files differ
diff --git a/crawl-ref/source/rltiles/tiledef-unrand.cc b/crawl-ref/source/rltiles/tiledef-unrand.cc
index d94fb597a4..fc02792ad8 100644
--- a/crawl-ref/source/rltiles/tiledef-unrand.cc
+++ b/crawl-ref/source/rltiles/tiledef-unrand.cc
@@ -94,6 +94,7 @@ int unrandart_to_tile(int unrand)
case UNRAND_MAGE: return TILE_UNRAND_MAGE;
case UNRAND_SHIELDING: return TILE_UNRAND_SHIELDING;
case UNRAND_RCLOUDS: return TILE_UNRAND_RCLOUDS;
+ case UNRAND_PONDERING: return TILE_UNRAND_PONDERING;
default: return -1;
}
}
@@ -179,6 +180,7 @@ int unrandart_to_doll_tile(int unrand)
case UNRAND_BEAR_SPIRIT: return TILEP_HELM_BEAR;
case UNRAND_DRAGONMASK: return TILEP_HELM_ART_DRAGONHELM;
case UNRAND_ALCHEMIST: return TILEP_HELM_TURBAN_PURPLE;
+ case UNRAND_PONDERING: return TILEP_HELM_WIZARD_BLUEGREEN;
default: return -1;
}
}