ademant 4561d59854 decoration of plants | vor 5 Jahren | |
---|---|---|
.. | ||
locale | vor 5 Jahren | |
textures | vor 5 Jahren | |
README.md | vor 5 Jahren | |
abm.lua | vor 5 Jahren | |
actions_register.lua | vor 5 Jahren | |
api.lua | vor 5 Jahren | |
api.txt | vor 5 Jahren | |
compatibility.lua | vor 5 Jahren | |
config.lua | vor 5 Jahren | |
craft.lua | vor 5 Jahren | |
crops.lua | vor 5 Jahren | |
crops.txt | vor 5 Jahren | |
depends.txt | vor 5 Jahren | |
description.txt | vor 5 Jahren | |
hoes.lua | vor 5 Jahren | |
init.lua | vor 5 Jahren | |
intllib.lua | vor 5 Jahren | |
license.txt | vor 5 Jahren | |
light_stat.txt | vor 5 Jahren | |
mapgen.lua | vor 5 Jahren | |
mod.conf | vor 5 Jahren | |
nodes.lua | vor 5 Jahren | |
nodes_register.lua | vor 5 Jahren | |
screenshot.png | vor 5 Jahren | |
settingtypes.txt | vor 5 Jahren | |
statistics.lua | vor 5 Jahren | |
tool_shot.png | vor 5 Jahren | |
tools.lua | vor 5 Jahren | |
tools.txt | vor 5 Jahren | |
tools_register.lua | vor 5 Jahren | |
utensils.lua | vor 5 Jahren |
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 are easier infected than the wild form.
With special plants (right now nettles) you can make a curing mixture. And other plants can protect the culture. You should use special devices to get more fruits:
For each crop you can define the count of step. In the last step the crop is full-grown, where the crops can be punchable. The defined grow time is modified by the amount of light the crop would see and the place: The less light at the position will be (under a tree for example), the longer the crop needs to reach the next step.
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:
The crops inside farming mod are defined by a single .txt file, where for each crop in a row the whole definition is given.
Each row will by interpreted to generate a data object, which is registered by farming.register_plant. Inside this function all registering are called by functions intended for internal usage.
A detailed description of the txt file is given in crops.lua
Most important function is farming.register_plant(def). The structure of is given in api.txt.
Originally by PilzAdam (MIT)
webdesigner97 (MIT)
TenPlus1 (MIT)
ademant (MIT)
Various Minetest developers and contributors (MIT)
Created by PilzAdam (CC BY 3.0):
Created by BlockMen (CC BY 3.0):
Created by MasterGollum (CC BY 3.0):
Created by Gambit (CC BY 3.0):
Created by Napiophelios (CC BY-SA 3.0):
Created by Ten1Plus (CC BY-SA 3.0):
Created by ademant (CC BY 3.0):