Treasurer
This is a framework to define and distribute random treasures into the world. Treasurer itself does neither define any items nor does it attempt to distribute them because it is a framework.
Player information
To actually get a game with treasures using Treasurer running, you need a couple of mods:
- Treasurer
- At least one TRM (treasure registration mod). This is a mod which tells Treasurer which treasures exist
- At least one TSM (treasure spawning mod). This is a mod which puts random treasures into the world
Spoiler
- Treasurer [treasurer]
- TRM Modpack for Minetest Game [trmp_minetest_game]
- Dungeon Treasure Chests [tsm_chests_dungeon]
Add more TRMs to get treasures from other mods as well.
Add more TSMs to find treasures in other places.
Add as many TRMs and TSMs you like.
- trmp_minetest_game 0.4.10.0: A TRM modpack for Minetest Game. Download
- TRM pack 0.1: See here
- a TRM for useless_mod: See here
- Generic treasurer registration [trm_generic]
- trmp_Pack
List of TSMs:
- Dungeon Treasure Chests [tsm_chests_dungeon]: Adds treasure chests into the default dungeons
- Railway corridors [tsm_railcorridors]: Creates an underground network of mines, with treasure chests and simple railways
- Mines [tsm_mines]: Creates very simple underground mine shafts
- Pyramids [tsm_pyramids]: Creates pyramids in deserts with hidden treasures
- Surprise blocks [tsm_surprise]: Creates randomly floating question mark blocks which drop cheap treasures when broken
- tsm_geomoria [tsm_geomoria]: Extension of Geomoria, adds treasures in those strange underground structures
Spoiler
A treasure is basically just a fancy ItemStack. It consists of:
- name of item
- relative rarity
- a preciousness
- the amount of item (can be randomized)
- a wear (can be randomized)
A TSM distributes (“spawns”) treasures, where it has to ask Treasurer for some treasures. Treasurer then chooses some treasures out of the pool of available treasures and returns a list of ItemStacks. The TSM also may ask Treasurer to filter out treasures which have an either too high or too low preciousness (“preciousness” is defined by the TRMs). Be warned: Treasurer may return no treasures at all, either because no TRM is activated or no treasure that matches the filter exists.
“Spawning” here means to put the treasures into the world somehow. How a TSM does the task of spawning is up to the TSM.
Recap: The TSMs will spawn treasures into the world out of a pool of treasures which is offered by TRMs. Treasurer manages the pool.
Examples for TRMs are:
- registering bronze, gold, iron ingots and possibly other items of default (see trm_default_example)
- registering bread, wheat, seeds, etc. of farming
- registering super cool item X from awesome mod Y, where X could normally only obtained by “/give” or with creative mode.
- registering the … bla bla bla, you get the idea
- let a mob drop a not mob-specific, random treasure on death
- give a random treasure as a “welcome gift” to joining and respawning players (see tsm_gift_example)
- placing chests around the world and spawning treasures into them (see tsm_chests_example)
The Zip file contains:
- Treasurer (which is heavily commented)
- three examples (which are heavily commented)
- a long README file (which hopefully covers everything you need)
- tsm_give_example: A simple example, bundled with Treasurer. Gives new player some random treasures at start.
- tsm_chests_example: An example, bundled with Treasurer. Spawns some chests below the sea level and fills them with treasures. The deeper you are, the more valuable the treasures therein.
https://forum.minetest.net/download/file.php?id=1302
- Download: download/file.php?id=1302
- Hard dependencies: none
- Works in Minetest 0.4.16 or later
- Strongly recommended mods: At least one TRM and one TSM (see above)
- License of everything: WTFPL
WARNING: This mod is abandoned.