summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-08 18:30:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-08 18:30:40 +0300
commit9a0da2510f9eed57e4bc974084bf54832ee4c33c (patch)
tree28dab1528da81c40a3ca648902b91d70f854a096 /src/resources/db/itemdb.cpp
parentb930f7f858b0ad91206939ed1b6d5695bc10f9cc (diff)
downloadplus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.tar.gz
plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.tar.bz2
plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.tar.xz
plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.zip
add support for sounds take and put.
"take" played if take item from container like inventory "put" played if put item into container.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 8066eb40d..067ccc25c 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -172,6 +172,8 @@ static void initStatic()
mSoundNames["unequip"] = SOUND_EVENT_UNEQUIP;
mSoundNames["drop"] = SOUND_EVENT_DROP;
mSoundNames["pickup"] = SOUND_EVENT_PICKUP;
+ mSoundNames["take"] = SOUND_EVENT_TAKE;
+ mSoundNames["put"] = SOUND_EVENT_PUT;
}
void ItemDB::load()