Chocolate egg, Dark chocolate egg
Edible, restore 3 HP by default.
Introduce 'sugar rush' effect. This requires hunger mod to work.
The effect is triggered when player eats chocolate egg while his satiation (hunger) level is full. For 5 seconds player's speed is tripled and then he loses 10HP.
All these values are configurable.
Chocolate block, Dark chocolate block
Decorative nodes, crafted from chocolate eggs.
Gold egg
When used, gives the player some (by default 1~4) random items from a configurable pool of items.
Gold eggs can be used as decorative blocks or crafted into gold blocks (there's no recipe to restore gold eggs from a gold block).
Crafting:
Spoiler
License: WTFPL
Dependencies:
default (optional*)
hud (optional)
hunger (optional)
hbhunger (optional)
stairs (optional)
stairsplus (optional)
walls (optional)
--
* It is a regular dependency in the project, as the default configuration (namely loot_pool table in config.lua) uses items from default mod and the code doesn't check for the presence of default anywhere. You can use the mod without default but be sure to remove all defaut items from loot_pool (configurable in loot_pool.lua and remove default dependency from depends.txt manually.
Screenshot:
Spoiler
For some magical reason when testing with everamzah's hud_hunger (viewtopic.php?f=11&t=14182) the speedup effect didn't work but the damage was dealt eventually. :v