summaryrefslogtreecommitdiff
path: root/src/resources/itemtypemapdata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-03 18:00:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-03 18:00:02 +0300
commit87dc57caff1b01f4abe2cc14bfc56f5bc130fbb6 (patch)
tree926e4cf6c72f2b9f7ada2a715ca79adc88a53157 /src/resources/itemtypemapdata.h
parent3a9f3469e65e1c45a8cdf9c6ae21e73c90b87d22 (diff)
downloadplus-87dc57caff1b01f4abe2cc14bfc56f5bc130fbb6.tar.gz
plus-87dc57caff1b01f4abe2cc14bfc56f5bc130fbb6.tar.bz2
plus-87dc57caff1b01f4abe2cc14bfc56f5bc130fbb6.tar.xz
plus-87dc57caff1b01f4abe2cc14bfc56f5bc130fbb6.zip
Add item attribute useButton2 and use it in inventory.
Diffstat (limited to 'src/resources/itemtypemapdata.h')
-rw-r--r--src/resources/itemtypemapdata.h105
1 files changed, 69 insertions, 36 deletions
diff --git a/src/resources/itemtypemapdata.h b/src/resources/itemtypemapdata.h
index 5a5ad8fea..8cd7437e9 100644
--- a/src/resources/itemtypemapdata.h
+++ b/src/resources/itemtypemapdata.h
@@ -29,42 +29,75 @@
ItemTypeMap itemTypeMap[] =
{
- // TRANSLATORS: inventory button
- {"generic", ItemType::UNUSABLE, std::string()},
- // TRANSLATORS: inventory button
- {"other", ItemType::UNUSABLE, N_("Use")},
- // TRANSLATORS: inventory button
- {"usable", ItemType::USABLE, N_("Use")},
- // TRANSLATORS: inventory button
- {"equip-1hand", ItemType::EQUIPMENT_ONE_HAND_WEAPON, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-2hand", ItemType::EQUIPMENT_TWO_HANDS_WEAPON, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-torso", ItemType::EQUIPMENT_TORSO, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-arms", ItemType::EQUIPMENT_ARMS, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-head", ItemType::EQUIPMENT_HEAD, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-legs", ItemType::EQUIPMENT_LEGS, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-shield", ItemType::EQUIPMENT_SHIELD, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-ring", ItemType::EQUIPMENT_RING, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-charm", ItemType::EQUIPMENT_CHARM, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-necklace", ItemType::EQUIPMENT_NECKLACE, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-neck", ItemType::EQUIPMENT_NECKLACE, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-feet", ItemType::EQUIPMENT_FEET, N_("Equip")},
- // TRANSLATORS: inventory button
- {"equip-ammo", ItemType::EQUIPMENT_AMMO, N_("Equip")},
- // TRANSLATORS: inventory button
- {"racesprite", ItemType::SPRITE_RACE, std::string()},
- // TRANSLATORS: inventory button
- {"hairsprite", ItemType::SPRITE_HAIR, std::string()},
+ {"generic", ItemType::UNUSABLE,
+ std::string(), std::string()
+ },
+ {"other", ItemType::UNUSABLE,
+ // TRANSLATORS: inventory button
+ N_("Use"), N_("Use")
+ },
+ {"usable", ItemType::USABLE,
+ // TRANSLATORS: inventory button
+ N_("Use"), N_("Use")
+ },
+ {"equip-1hand", ItemType::EQUIPMENT_ONE_HAND_WEAPON,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-2hand", ItemType::EQUIPMENT_TWO_HANDS_WEAPON,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-torso", ItemType::EQUIPMENT_TORSO,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-arms", ItemType::EQUIPMENT_ARMS,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-head", ItemType::EQUIPMENT_HEAD,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-legs", ItemType::EQUIPMENT_LEGS,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-shield", ItemType::EQUIPMENT_SHIELD,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-ring", ItemType::EQUIPMENT_RING,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-charm", ItemType::EQUIPMENT_CHARM,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-necklace", ItemType::EQUIPMENT_NECKLACE,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-neck", ItemType::EQUIPMENT_NECKLACE,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-feet", ItemType::EQUIPMENT_FEET,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"equip-ammo", ItemType::EQUIPMENT_AMMO,
+ // TRANSLATORS: inventory button
+ N_("Equip"), N_("Unequip")
+ },
+ {"racesprite", ItemType::SPRITE_RACE,
+ std::string(), std::string()
+ },
+ {"hairsprite", ItemType::SPRITE_HAIR,
+ std::string(), std::string()
+ }
};
#endif // RESOURCES_ITEMTYPEMAPDATA_H