MeseCraft 28eb784921 start texturing, add dev resources to /dev | vor 2 Jahren | |
---|---|---|
.. | ||
textures | vor 3 Jahren | |
LICENSE | vor 3 Jahren | |
README.md | vor 3 Jahren | |
depends.txt | vor 2 Jahren | |
description.txt | vor 3 Jahren | |
init.lua | vor 2 Jahren |
Adds a variety of fruit tools and other fruit-related items to Minetest.
Code license: MIT
Textures license: MIT
Dependencies: farming, default, bucket, vessels
Optional Dependencies: mobs, 3d_armor, toolranks
Fruit tools will occasionally drop the fruit they are made when used, this fuctionality can be adjusted in init.lua (See "Settings" section of this document).
Pick:
m|m|m -|-|- r|s|r r|s|r
m = Pick material (Eg: for Corn Pick it would be Corn on the Cob)
s = Stick
r = Tool Resin
Hoe:
m|m|× -|-|- r|s|r r|s|r
m = Hoe material (Eg: for Bean Hoe it would be Green Beans)
s = Stick
r = Tool Resin
Axe:
r|m|m -|-|- r|s|m r|s|r
m = Axe material (Eg: for Melon Axe it would be Melon Slice)
s = Stick
r = Tool Resin
Shovel:
×|m|× -|-|- r|s|r r|s|r
m = Shovel material (Eg: for Apple Shovel it would be Apple)
s = Stick
r = Tool Resin
Sword:
×|m|× -|-|- r|m|r r|m|r
m = Sword material (Eg: for Carrot Sword it would be Carrot)
r = Tool Resin
Fruit sheilds will occasionally drop the fruit they are made when hit (fruit placed in hitter's inventory), this fuctionality can be adjusted in init.lua (See "Settings" section of this document).
m|r|m -|-|- r|m|r ×|r|×
m = Sheild material (Eg: for Carrot Sword it would be Carrot)
r = Tool Resin
Throwing foods can be crafted from regular food. They look like regular food, but instead of being eaten they are thrown. If a throwing food lands on an unprotected dirt block, it may plant the thrown food if the food can be planted (Eg: if you throw a throwing tomato, it may plant a tomato plant) this fuctionality can be adjusted in init.lua (See "Settings" section of this document). Each throwing food does 2 fleshy damage.
Throwing food:
f|f|f -|-|- f|s|f f|f|f
f = Food material (Eg: for Throwing Tomato it would be Tomato)
s = Stone
Regular food (to revert back):
f|f|f -|-|- f|f|f f|f|f
f = Throwing food (Eg: for Tomato it would be Throwing Tomato)
By default the admin pick is set to the "Weed Pick", if you do not wish for your world to contain cannabis (aka weed) references, simply set the say_no_to_cannabis
variable on line 8 of init.lua to true
, this will replace the "Weed Pick" with the "Pickle Pick" (both tools have the same capabilities), if you do not wish for your world to contain pickle references then we can't help you, sorry.
By default when a shield is hit, or a fruit tool is used, there is a 1 in 5 chance that between 1 and 5 of the shield/tool's food is also dropped. To enable/disable this set extra_drops
on line 12 of init.lua
to false
. To change the drop chance change extra_drop_chance
on line 14 of init.lua
, to change the drop maximum change extra_drop_max
on line 16 of init.lua
and to change the drop minimum change extra_drop_min
on line 18 of init.lua
.
By default, when a throwable food hits an unprotected dirt node, it will place a fully grown plant of the throwable food's origin (Eg: Throwing Tomato plants a fully grown tomato plant) on top of the dirt 1 out of 5 times. To enable/disable this set plant
on line 22 of init.lua
to false
. To make the mod first hoe the dirt, then place a new plant on top (instead of a fully grown one), set plant_whole
on line 24 of init.lua
to false
. To change the chance of a plant being planted change plant_chance
on line 26 of init.lua
This mod is a work in progress, tool capabilities etc. are subject to change, the code is still slightly messy, if you have any suggestions for improvements, start a GitHub issue, comment on the minetest forums (forum.minetest.net) or modify the code and create a pull request.
Satisfy optional dependency "mobs" for throwing foods and optional dependency "3darmor" for sheilds.
The dependancy "farming" refers to TenPlus1's farming_redo, not the farming mod from minetest_game.