Dynamic Input-Held Eating

Eating with particles, sounds, visible ItemStacks (5.4+), and holding down input. Heavy coding customization for programmers

Food / Drinks Sounds / Music Minetest Game improved

Download (141 KB)
For Luanti 5.0 and above

How do I install this?

As the title implies - a mod that implements a style of eating seen similarly in a certain other voxel game ;p

Code is licensed under GPL-v3+

Provided sounds are licensed under CC0 1.0 Public Domain

1.11 FINALLY ADDS MOBILE SUPPORT! Thank grorp for their assistance with that. Now you mobile folk shouldn't be tortured with starvation anymore!

As of 1.12, supports https://content.luanti.org/packages/csirolli/thirsty/ and Mesecraft's implementation of it!

See mods + games with hardcoded (in mod) support here: https://content.luanti.org/collections/TPH/tph_eating_mod_supp/

Be sure to play Mantar's Exile! Which has full support from my mod (for both v3 and v4): https://content.luanti.org/packages/Mantar/exile/

ALL EXILE V4 SERVERS NOW USE MY MOD! Most recommended is exile-dev.planetofnix.com:30016 aka "Exiled From The Other Servers"

Documentation (Codeberg)

The video provided is hosted on catbox.moe (file hosting service): https://files.catbox.moe/4oe107.mp4

Holding down RMB (or whatever tph_eating.use_key is set to for player:get_player_controls() ) will make you begin to eat the food with eating sounds and upon 4 (or how many repetitions specified in API or tool), will complete eating with a burp (unless tph_eating.burping is not set to true or a tool specifies a custom end sound)

Pseudo-animation for 5.4.0+ implemented (you will see your food infront of your face and it will move with your head ;p)

Minetest 5.9 will have an issue with any version of this mod before 1.9 (spam of error logs)

Minetest 5.0.1 and 5.1.0 have odd but non-gamebreaking issues and are considered "compatible". Minetest 5.2.0 and 5.3.0 do not properly display the wield_item entity however is otherwise operational. No issues with Minetest 5.4.0 and onwards

If you wish to be able to iterate over the table with pairs() I recommend installing https://content.luanti.org/packages/TPH/metatable_metamethods/ !

Reviews

Review

Do you recommend this mod?

  • Review hidden
  • Review hidden
  • Review hidden
  • Review hidden
  • Review hidden
  • Review hidden

Used By