From 9a0da2510f9eed57e4bc974084bf54832ee4c33c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Oct 2013 18:30:40 +0300 Subject: add support for sounds take and put. "take" played if take item from container like inventory "put" played if put item into container. --- src/resources/db/itemdb.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/db') 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() -- cgit v1.2.3-70-g09d2