summaryrefslogtreecommitdiff
path: root/farming/crops/cotton.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-10-12 07:57:26 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-10-12 07:57:26 -0400
commitef6f6484b05d5b7650bff9a3ecbc7d2d6e6a8d35 (patch)
tree21457e616cdf69fffaa8a50cce15f41750ed8e99 /farming/crops/cotton.lua
parent0d094bed13f1700ea2ef1924ecf089c9d96dda83 (diff)
downloaddreambuilder_modpack-ef6f6484b05d5b7650bff9a3ecbc7d2d6e6a8d35.tar
dreambuilder_modpack-ef6f6484b05d5b7650bff9a3ecbc7d2d6e6a8d35.tar.gz
dreambuilder_modpack-ef6f6484b05d5b7650bff9a3ecbc7d2d6e6a8d35.tar.bz2
dreambuilder_modpack-ef6f6484b05d5b7650bff9a3ecbc7d2d6e6a8d35.tar.xz
dreambuilder_modpack-ef6f6484b05d5b7650bff9a3ecbc7d2d6e6a8d35.zip
update bees, coloredwood, digidisplay, farming redo,
moreblocks, technic, travelnet, and unified dyes
Diffstat (limited to 'farming/crops/cotton.lua')
-rw-r--r--farming/crops/cotton.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/farming/crops/cotton.lua b/farming/crops/cotton.lua
index 7f893ec..24dc7bb 100644
--- a/farming/crops/cotton.lua
+++ b/farming/crops/cotton.lua
@@ -142,6 +142,15 @@ crop_def.drop = {
}
minetest.register_node("farming:cotton_8", table.copy(crop_def))
+-- add to registered_plants
+farming.registered_plants["farming:cotton"] = {
+ crop = "farming:cotton",
+ seed = "farming:seed_cotton",
+ minlight = 13,
+ maxlight = 15,
+ steps = 8
+}
+
--[[ Cotton (example, is already registered in cotton.lua)
farming.register_plant("farming:cotton", {
description = "Cotton seed",