How to add sound effects to player's main inventory?

Post Reply
User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

How to add sound effects to player's main inventory?

by D00Med » Post

I'd like to add a sound effect whenever items are moved around in the player's inventory.
Is there some other way to change "on_put", "on_take" etc.?
Is it possible to also play a sound when items are selected in the hotbar?
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: How to modify the player's main inventory?

by rubenwardy » Post

in 0.5.0 you can use player inventory callbacks
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: How to add sound effects to player's main inventory?

by D00Med » Post

Great! Really looking forward to that.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests