hemp.lua 454 B

123456789101112131415161718192021222324
  1. farming.register_plant("farming:hemp", {
  2. description = "Hemp Seed",
  3. inventory_image = "farming_hemp_seed.png",
  4. steps = 8,
  5. minlight = 10,
  6. fertility = {"grassland"},
  7. })
  8. -- Override drop
  9. minetest.override_item("farming:hemp_8", {
  10. drop = {
  11. items = {
  12. { items = {"farming:seed_hemp"} },
  13. { items = {"farming:hemp 5"} }
  14. }
  15. }
  16. })
  17. minetest.register_craft({
  18. type = "shapeless",
  19. output = "farming:string",
  20. recipe = {"farming:hemp 5"}
  21. })