more documentation

master
ademant 2018-10-22 08:21:40 +02:00
parent 9f0f9349e1
commit a80a8c9e15
1 changed files with 22 additions and 2 deletions

View File

@ -4,11 +4,31 @@ See license.txt for license information.
Mod for extending the farming capabilities of minetest.
You have wild crops, which you can cultivate to get faster and more harvest.
The crops can be infected, where you get nothing. And the infection spreads to nearby crops.
A culture of crops can be destroyed by the infection, where the cultured variant of crops
(TODO) The crops can be infected, where you get nothing. And the infection spreads to nearby crops.
(TODO) A culture of crops can be destroyed by the infection, where the cultured variant of crops
are easier infected than the wild form.
With special plants you can make a curing mixture. And other plants can protect the culture.
The code is written to enable extension by other mods.
You have only one txt file to configure the crops. It's read in a table. Not defined fields are filled,
if a default row is given. If no default is given, the field is not importet to the crop.
Based on the definition the behauvior is defined:
- Crops with harvest: The crop has to be digged and drops a harvest, which can not be seeded again.
The seed has to be crafted out of the harvest. If the option "use_flail" is activated, a standard
craft is used: With a flail you get one seed and one straw (default, can be changed by field "straw").
The seed can be placed again to grow more.
If a cultured variant is given, by change you get cultured harvest, which grows faster, has more harvest,
gets easier infected or what ever is defined for the cultured crop.
Most kind of wheat, barley and so on are defined this way.
- Crops with seed: The crop drops directly seed. The amount is given in the configuration by "max_harvest".
Crops like potato or corn are defined in this way.
- Punchable fruits: Full-grown fruits can be punched to give one fruit and back one step. After the growing
time the fruits are available again. The full-grown can't be digged. It will be punched, directly afterwards
the second last step will be digged, giving one fruit.
- Crops with trellis: For creating seedable items you have to craft out of the harvest the seed with a trellis.
Diggin any step will release the trellis for further usage. By using the option "use_trellis" the craft
is direct registered.
Authors of source code
----------------------
Originally by PilzAdam (MIT)