minetest_treasurer/GROUPS_AND_PRECIOUSNESS

85 lines
2.6 KiB
Plaintext
Raw Normal View History

If you wish to register treasures to Treasurer, it is recommended to assign the treasurer to a Treasurer group.
Treasurer also requires you to assign each
It is not possible to assign a treasure to multiple groups. If you think a treasurer fits to two groups, create
two seperate treasure definitions instead. But try to keep it as an exception.
Think of treasurer groups as drawers for treasurers to put into.
This file contains some guidelines for Treasurer groups and there are even guidelines for preciousness levels.
Keep in mind these are only guidelines
Treasurer suggests to use the following standard Treasurer groups:
crafting_component:
generic group for components in crafting recipes. If it is primarily a component for food, use raw_food instead.
preciousness is based roughly on the preciousness of items it can create
fuel:
fuel for furnaces
preciousness is based on burning time
food:
can be eaten and restores health
preciousness should equal the number of hearts restored, but not higher than 7.
raw_food:
food which is not fully processed and is not (quite) ready to be eaten.
melee_weapon:
primarily used to damage close foes, i.e. a sword
preciousness is based on attack speed and damage
ranged_weapon:
primarily used to damage far away foes,
preciousness is based on attack speed, damage and range
tool:
a tool for other uses.
preciousness is hard to determine; at least is should base on the number of uses.
minetool:
a tool to destroy blocks. Includes pickaxes, axes, shovels, …
preciousness is based on power, number of uses and speed
deco:
primarily just a decorational thing to place
preciousness is based on beauty, highly subjective
light:
is a light source
preciousness is based on the brightness. For the maximum brightness, preciousness should be 3.
building_block:
A block for buildings. Includes stairs, slabs, fences and similar things.
Excludes all natural blocks.
preciousness should be rougly based on the “cost” to craft the block.
seed:
seeds and saplings
preciousness is based on the “usefulness” of what can grow from the seed.
transport_vehicle
a vehicle to transport players and stuff, i.e. a cart or a boat
preciousness is hard to determine, maybe speed?
transport_structure
a fixed structure which is neccessary for a transport vehicle to operate, i.e. rails
preciousness is hard to dertermine …
ladder
a ladder
default:
This is the group your treasure get assigned to if you dont specify a group.
Do you miss a group? Feel free to invent your own!
Note that Treasurer groups differ from the groups as defined by the Minetest API. These groups are handled differently.