Treasure nodes for minetest. Outsourced from minerdream mod and Extended.

A. Demant a6f6d2e9bb error during adding drop_item 5 years ago
textures b7c20c32eb changed initial fill of treasure nodes 5 years ago
README.md 4e18216221 add short api to readme 5 years ago
api.lua a6f6d2e9bb error during adding drop_item 5 years ago
config.lua 38ea659858 copy from minerdream 5 years ago
depends.txt 2d28fca62c depend.txt for 0.4.* 5 years ago
init.lua 38ea659858 copy from minerdream 5 years ago
license.txt 7acf9551dc initial commit 5 years ago
map_gen.lua 38ea659858 copy from minerdream 5 years ago
mod.conf 7acf9551dc initial commit 5 years ago
settingtypes.txt 7acf9551dc initial commit 5 years ago
treasures.lua 0282370f39 check if additional items already registered 5 years ago

README.md

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)

    Authors of media (textures)