summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index ccb0a2e45d..2189bd4071 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -152,6 +152,7 @@ const char* jewellery_base_ability_string(int subtype)
case AMU_CONSERVATION: return "Cons";
case AMU_CONTROLLED_FLIGHT: return "cFly";
case AMU_RESIST_MUTATION: return "rMut";
+ case AMU_GUARDIAN_SPIRIT: return "Spirit";
}
return "";
}
@@ -202,6 +203,7 @@ static std::vector<std::string> _randart_propnames( const item_def& item )
{ "rC", ARTP_COLD, 1 },
{ "rN", ARTP_NEGATIVE_ENERGY, 1 },
{ "MR", ARTP_MAGIC, 2 },
+ { "Spirit", ARTP_SPIRIT_SHIELD, 2 },
// Quantitative attributes
{ "AC", ARTP_AC, 0 },
@@ -395,6 +397,7 @@ static std::string _randart_descrip( const item_def &item )
{ ARTP_CAN_TELEPORT, "It lets you teleport.", false},
{ ARTP_BERSERK, "It lets you go berserk.", false},
{ ARTP_MAPPING, "It lets you sense your surroundings.", false},
+ { ARTP_SPIRIT_SHIELD, "It shields you from harm at the cost of magical power.", false},
{ ARTP_NOISES, "It makes noises.", false},
{ ARTP_PREVENT_SPELLCASTING, "It prevents spellcasting.", false},
{ ARTP_CAUSE_TELEPORTATION, "It causes teleportation.", false},
@@ -1261,6 +1264,11 @@ static std::string _describe_armour( const item_def &item, bool verbose )
description += "It reflects blocked things back in the "
"direction they came from.";
break;
+
+ case SPARM_SPIRIT_SHIELD:
+ description += "It shields its wearer from harm at the cost "
+ "of magical power.";
+ break;
}
}