initial creation

master
A. Demant 2018-12-18 15:27:12 +01:00
commit fe42b040a9
3 changed files with 121 additions and 0 deletions

51
README.txt Normal file
View File

@ -0,0 +1,51 @@
Minetest Game mod: farming awards
==========================
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
----------------------
ademant (MIT)
Authors of media (textures)
---------------------------
Created by ademant (CC BY 3.0):
farming_awards_thresher (based on picture from addysgLLGC on opencliparts)
farming_awards_miller (based on https://openclipart.org/detail/11551/rpg-map-symbols-windmill)

62
license.txt Normal file
View File

@ -0,0 +1,62 @@
License of source code
----------------------
The MIT License (MIT)
Copyright (C) 2018- ademant
Copyright (C) 2012-2016 PilzAdam
Copyright (C) 2014-2016 webdesigner97
Copyright (C) 2012-2016 Various Minetest developers and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
For more details:
https://opensource.org/licenses/MIT
License of media (textures)
---------------------------
Attribution 3.0 Unported (CC BY 3.0)
Copyright (C) 2012-2016 PilzAdam
Copyright (C) 2014-2016 BlockMen
Copyright (C) 2015-2016 MasterGollum
Copyright (C) 2015-2016 Gambit
You are free to:
Share — copy and redistribute the material in any medium or format.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and
indicate if changes were made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public
domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary
for your intended use. For example, other rights such as publicity, privacy, or moral
rights may limit how you use the material.
For more details:
http://creativecommons.org/licenses/by/3.0/

8
mod.conf Normal file
View File

@ -0,0 +1,8 @@
name = farming_integrate
title = Farming Integrate
author = ademant
description = Integrate items from other mods into farming without creating circular dependencies
optional_depends = intllib
optional_depends = farming,ethereal,moretrees
license = MIT
version = 1.0.0