summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-10 14:48:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-10 15:09:35 +0300
commitfd10b0da680596a471941d0b16bbced0a6c7e0b4 (patch)
tree6a240407909f0f3c6474c36cc57ce2264bf47558
parentb77da1aadafb7879e14fdea0c63e5e11b7bf3361 (diff)
downloadmanaplus-fd10b0da680596a471941d0b16bbced0a6c7e0b4.tar.gz
manaplus-fd10b0da680596a471941d0b16bbced0a6c7e0b4.tar.bz2
manaplus-fd10b0da680596a471941d0b16bbced0a6c7e0b4.tar.xz
manaplus-fd10b0da680596a471941d0b16bbced0a6c7e0b4.zip
Add different new attributes for item descriptions.
-rw-r--r--src/resources/db/itemdb.cpp48
1 files changed, 35 insertions, 13 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 203858fa8..9cd687768 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -94,29 +94,51 @@ namespace
static const FieldType fields[] =
{
// TRANSLATORS: item info label (attack)
- { "attack", N_("Attack %s"), true },
+ { "attack", N_("Attack %s"), true },
+ // TRANSLATORS: item info label (min attack)
+ { "minattack", N_("Min attack %s"), true },
+ // TRANSLATORS: item info label (max attack)
+ { "maxattack", N_("Max attack %s"), true },
// TRANSLATORS: item info label (attack)
{ "criticalattack", N_("Critical attack %s"), true },
// TRANSLATORS: item info label (magic attack)
- { "mattack", N_("M. Attack %s"), true },
- // TRANSLATORS: item info label (defence)
- { "defense", N_("Defense %s"), true },
+ { "mattack", N_("M. Attack %s"), true },
// TRANSLATORS: item info label (defence)
+ { "defense", N_("Defense %s"), true },
+ // TRANSLATORS: item info label (min defence)
+ { "mindefense", N_("Min defense %s"), true },
+ // TRANSLATORS: item info label (max defence)
+ { "maxdefense", N_("Max defense %s"), true },
+ // TRANSLATORS: item info label (critical defence)
{ "criticaldefense", N_("Critical defense %s"), true },
// TRANSLATORS: item info label (magic defence)
- { "mdefense", N_("M. Defense %s"), true },
+ { "mdefense", N_("M. Defense %s"), true },
+ // TRANSLATORS: item info label (min magic defence)
+ { "minmdefense", N_("Min M. Defense %s"), true },
+ // TRANSLATORS: item info label (max magic defence)
+ { "maxmdefense", N_("Max M. Defense %s"), true },
// TRANSLATORS: item info label (health)
- { "hp", N_("HP %s"), true },
+ { "hp", N_("HP %s"), true },
+ // TRANSLATORS: item info label (max health)
+ { "maxhp", N_("Max HP %s"), true },
// TRANSLATORS: item info label (mana)
- { "mp", N_("MP %s"), true },
+ { "mp", N_("MP %s"), true },
+ // TRANSLATORS: item info label (max mana)
+ { "maxmp", N_("Max MP %s"), true },
// TRANSLATORS: item info label (level)
- { "level", N_("Level %s"), false },
+ { "level", N_("Level %s"), false },
// TRANSLATORS: item info label (moving speed)
- { "speed", N_("Speed %s"), true },
- // TRANSLATORS: item info label (health)
- { "range", N_("Range %s"), true },
- // TRANSLATORS: item info label (health)
- { "flee", N_("Flee %s"), true }
+ { "speed", N_("Speed %s"), true },
+ // TRANSLATORS: item info label (attack range)
+ { "range", N_("Range %s"), true },
+ // TRANSLATORS: item info label (flee)
+ { "flee", N_("Flee %s"), true },
+ // TRANSLATORS: item info label (min flee)
+ { "minflee", N_("Min flee %s"), true },
+ // TRANSLATORS: item info label (max flee)
+ { "maxflee", N_("Max flee %s"), true },
+ // TRANSLATORS: item info label (card slots number)
+ { "cardslots", N_("Card slots %s"), false }
};
} // namespace