Treasure blocks for minetest. Generated during map generation

ademant 8bd72b9331 'locale/treasures.de.tr' ändern 8 mēneši atpakaļ
locale 8bd72b9331 'locale/treasures.de.tr' ändern 8 mēneši atpakaļ
textures 8602192945 Initial version 1 gadu atpakaļ
LICENSE.md 0efa58b4a0 Typo in license.md 1 gadu atpakaļ
README.md 0efa58b4a0 Typo in license.md 1 gadu atpakaļ
Screenshot.png dd867d4479 add screenshot 1 gadu atpakaļ
api.lua abd4e00f7f using list and check if item exist before creating treasures 1 gadu atpakaļ
config.lua 8602192945 Initial version 1 gadu atpakaļ
init.lua 6f165ee8d6 add locale; fix drop 1 gadu atpakaļ
licence_cc_by_3.txt 8602192945 Initial version 1 gadu atpakaļ
map_gen.lua abd4e00f7f using list and check if item exist before creating treasures 1 gadu atpakaļ
mod.conf abd4e00f7f using list and check if item exist before creating treasures 1 gadu atpakaļ
settingtypes.txt 8602192945 Initial version 1 gadu atpakaļ
treasures.lua 6f165ee8d6 add locale; fix drop 1 gadu atpakaļ

README.md

Minetest mod: Treasure

Main repository:

https://notabug.org/ademant/treasures.git

Short description

Treasure nodes as diggable element somewhere in the world

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).
  • Adopted from the idea of daviddoesminetest in his minerdream mod.

    Authors of source code

    ademant (CC BY 3.0)

    Authors of media (textures)

    daviddoesminetest (CC BY 3.0)