varnayskiy wrote:RHR wrote:Nice mod! It makes lot's of fun to play!
Here are some suggestions:
Raw rotten flesh should harm you and cooked rotten flesh should give you HP back.
I think you partially right :)
I have changed items.lua, and rotten flesh now harm player a little bit:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_craftitem("creatures:rotten_flesh", {
description = "Rotten Flesh",
inventory_image = "creatures_rotten_flesh.png",
on_use = minetest.item_eat(-3),
})
Your code makes the rotten flesh useless at all. Best solution is when using the hunger (by my hud/hunger mod). Then you get some satuaration and damage/poisen aswell.
What would be a good reason to add it to this mod instead using the linked?
rubberduck wrote:or add some cows, they should give you milk that you can drink...
and what about a setting file where you can enable/disable every creature (so you can play with zombies, but without ghosts), another idea is to change rarity of each creature.
i have one question too, does this mod slow down the game???, because i heard that some creature mods make the game much slower.
Cows would be nice to add, but I'm currently short of time. In general new mobs will be some kind of modular, idk in what way exactly. And yes, every mob mod slows down a server/game. Idk if this does more than other, at least no-one told me that yet.