948 B
948 B
Minetest mod: Treasure
Main repository:
https://notabug.org/ademant/treasures.git
Mirrors:
https://gitlab.com/ademant/treasures.git
https://github.com/ademant/treasures.git
Short description
Outsource of treasure nodes from minerdream.
Longer description
Five loot nodes are defined (treasures:treasure1 .. treasures:treasure5), which can be found in different depths. The possible drop items can be extended by other mods.
API:
- treasures.add_treasure(name,treasure_def) add a new node similar to minetest.register_node
- treasures.map_treasure(name,map_def) add the definition for map generation to treasure
- treasures.add_drop(name,drop_def) add to treasure a new drop item (and optional rarety).
Authors of source code
daviddoesminetest (MIT)
ademant (MIT)