Go to file
ademant 8ce1d40e57 api with hooks for harvesting 2019-01-15 08:59:50 +01:00
locale add new mortar for awards 2018-11-28 16:54:51 +01:00
textures code cleaning 2018-12-30 13:29:11 +01:00
README.txt copied strawberry texture from tenplus1 ethereal 2018-12-02 10:41:53 +01:00
abm.lua abm also set plant on grass area 2019-01-09 11:50:02 +01:00
actions_register.lua api with hooks for harvesting 2019-01-15 08:59:50 +01:00
api.lua api with hooks for harvesting 2019-01-15 08:59:50 +01:00
api.txt add new mortar for awards 2018-11-28 16:54:51 +01:00
compatibility.lua code optim 2019-01-09 08:28:23 +01:00
config.lua api with hooks for harvesting 2019-01-15 08:59:50 +01:00
craft.lua out source some code to farming_crafting 2018-12-29 09:55:52 +01:00
crops.lua copied strawberry texture from tenplus1 ethereal 2018-12-02 10:41:53 +01:00
crops.txt add group drinkable 2019-01-14 08:13:25 +01:00
depends.txt compat for mt 0.4.17 2019-01-09 18:40:58 +01:00
description.txt some config matters 2018-11-05 05:34:24 +01:00
hoes.lua add new mortar for awards 2018-11-28 16:54:51 +01:00
init.lua code cleaning 2018-12-30 12:23:59 +01:00
intllib.lua extend to potato 2018-09-24 17:55:45 +02:00
license.txt license 2018-11-06 05:10:26 +01:00
light_stat.txt added light_stat for recalculation of grow time depend on local light 2018-10-25 07:19:59 +02:00
lucky_block.lua add new mortar for awards 2018-11-28 16:54:51 +01:00
mapgen.lua add new mortar for awards 2018-11-28 16:54:51 +01:00
mod.conf api with hooks for harvesting 2019-01-15 08:59:50 +01:00
nodes.lua changed configuration 2018-12-18 15:26:44 +01:00
nodes_register.lua add group drinkable 2019-01-14 08:13:25 +01:00
screenshot.png screenshots 2018-11-05 16:44:34 +01:00
settingtypes.txt abm also set plant on grass area 2019-01-09 11:50:02 +01:00
soil.lua add new mortar for awards 2018-11-28 16:54:51 +01:00
statistics.lua add new mortar for awards 2018-11-28 16:54:51 +01:00
tool_shot.png screenshots 2018-11-05 16:44:34 +01:00
tools.lua code cleaning 2018-12-30 12:23:59 +01:00
tools.txt correct iron_ingot -> steel_ingot 2018-11-06 06:07:07 +01:00
tools_register.lua tool description: added more infos 2018-11-07 04:38:06 +01:00
utensils.lua add new mortar for awards 2018-11-28 16:54:51 +01:00

README.txt

Minetest Game mod: farming
==========================
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:
- With a scythe you dig the node and by change get one more harvest. The change is better for a steel scythe than for stone or wood
- With a billhook you punch for example berries to get by change one berry more.
Booth are weared out by each harvest.

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:
- Crops with harvest (Wheat, Barley, Spelt, Nettle, Hemp): 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 (Wheat), 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 (Berries, Tea, Tobaco, Coffee): 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 (Tomatoes, Hop, Grapes): For creating seedable items you have to craft out of the harvest the seed with a trellis.
	Digging any step will release the trellis for further usage. By using the option "use_trellis" the craft 
	is direct registered.
- crops with extractable seed (Tea, Tobaco): The normal harvest are the leaves of the plant, which you can punch out of the box.
	To get a seed of the fruit, you have to use a seed picker. The plant goes back one step and need to regrow booth
	leaves and seed.

Authors of source code
----------------------
Originally by PilzAdam (MIT)
webdesigner97 (MIT)
TenPlus1 (MIT)
ademant (MIT)
Various Minetest developers and contributors (MIT)

Authors of media (textures)
---------------------------
Created by PilzAdam (CC BY 3.0):
  farming_bread.png
  farming_soil.png
  farming_soil_wet.png
  farming_soil_wet_side.png
  farming_string.png

Created by BlockMen (CC BY 3.0):
  farming_tool_steelhoe.png
  farming_tool_stonehoe.png
  farming_tool_woodhoe.png

Created by MasterGollum (CC BY 3.0):
  farming_straw.png

Created by Gambit (CC BY 3.0):
  farming_wheat.png
  farming_wheat_*.png
  farming_cotton_*.png
  farming_flour.png
  farming_cotton_seed.png
  farming_wheat_seed.png

Created by Napiophelios (CC BY-SA 3.0):
  farming_cotton.png

Created by Ten1Plus (CC BY-SA 3.0):
  farming_hemp.png
  farming_beetroot
  farming_strawberry
  
Created by ademant (CC BY 3.0):
  farming_tool_flail.png
  farming_tool_coffee_grinder.png (based on art by cactus_cowboy on openclipart.org)
  farming_tool_scythe (based on svg by Rinaldum on wikimedia)
  farming_tool_billhook (based on svg by Henrysalome on wikimedia)
  farming_sugerbeet (based on farming_beetroot)
  farming_blackberry (based on farming_blueberry)
  farming_blackberry_seed (based on jpg from AlbertCahalan on wikimedia)
  farming_blueberry_seed (based on jpg from Bateau ivre on wikimedia)
  farming_strawberry_seed (based on gif from Nicke L on wikimedia)
  farming_raspberry_seed (based on jpg from AlbertCahalan on wikimedia)
  farming_mustard
  farming_spelt (based on farming_barley)
  farming_hop
  farming_tobaco (based on pictures of wikimedia)
  farming_tool_spinningwheal (based on drawing by firkin on opencliparts)
  farming_yarn (based on picture from ikiwana on wikimedia)