summaryrefslogtreecommitdiff
path: root/src/resources/inventory/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-07 16:59:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-07 16:59:33 +0300
commit62c5097904bfc6c6e44e776730ea1d01aaf891c2 (patch)
tree57216dc3193690c95152405ba50ab222d431a089 /src/resources/inventory/inventory.cpp
parent8eb2e7d993ad9759da2fbeccea1a924b1b7f64dd (diff)
downloadplus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.tar.gz
plus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.tar.bz2
plus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.tar.xz
plus-62c5097904bfc6c6e44e776730ea1d01aaf891c2.zip
Add partial implimentation for craft inventory. For now almost same with npc inventory.
Diffstat (limited to 'src/resources/inventory/inventory.cpp')
-rw-r--r--src/resources/inventory/inventory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/inventory/inventory.cpp b/src/resources/inventory/inventory.cpp
index ad44245a1..180a1b4f3 100644
--- a/src/resources/inventory/inventory.cpp
+++ b/src/resources/inventory/inventory.cpp
@@ -330,6 +330,11 @@ std::string Inventory::getName() const
// TRANSLATORS: inventory type name
return N_("Mail");
}
+ case InventoryType::Craft:
+ {
+ // TRANSLATORS: inventory type name
+ return N_("Craft");
+ }
#endif
case InventoryType::Trade:
{