summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/itemdb.cpp1
-rw-r--r--src/resources/itemtype.h1
-rw-r--r--src/resources/itemtypemapdata.h4
3 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 2b1601c76..ad6d8f3e9 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -187,6 +187,7 @@ static void initStatic()
mSoundNames["pickup"] = ItemSoundEvent::PICKUP;
mSoundNames["take"] = ItemSoundEvent::TAKE;
mSoundNames["put"] = ItemSoundEvent::PUT;
+ mSoundNames["usecard"] = ItemSoundEvent::USECARD;
}
void ItemDB::load()
diff --git a/src/resources/itemtype.h b/src/resources/itemtype.h
index e159a6e0b..2035ce272 100644
--- a/src/resources/itemtype.h
+++ b/src/resources/itemtype.h
@@ -36,6 +36,7 @@ namespace ItemType
EQUIPMENT_TWO_HANDS_WEAPON,
EQUIPMENT_TORSO,
EQUIPMENT_ARMS, // 5
+ CARD,
EQUIPMENT_HEAD,
EQUIPMENT_LEGS,
EQUIPMENT_SHIELD,
diff --git a/src/resources/itemtypemapdata.h b/src/resources/itemtypemapdata.h
index 952329a24..24bee6bcc 100644
--- a/src/resources/itemtypemapdata.h
+++ b/src/resources/itemtypemapdata.h
@@ -92,6 +92,10 @@ ItemTypeMap itemTypeMap[] =
// TRANSLATORS: inventory button
N_("Equip"), N_("Unequip")
},
+ {"card", ItemType::CARD,
+ // TRANSLATORS: inventory button
+ N_("Insert"), std::string()
+ },
{"racesprite", ItemType::SPRITE_RACE,
std::string(), std::string()
},