A RedM fruit farming script that allows players to plant, water, fertilize, and harvest various fruits in the game world.
## Description
This script enables a fully functional farming system where players can:
- Plant seeds for 6 different fruit types
- Water plants using buckets (collected from water troughs/pumps)
- Fertilize plants using collected fertilizer (from animal droppings)
- Harvest fruits that spawn when plants are properly cared for
- Monitor plant health and time until death
Plants require 2 water applications and 2 fertilizer applications to produce fruit. Once requirements are met, fruits will spawn near the plant. Plants will die after 72 hours without proper care.
## Features
- **6 Fruit Types**: Banana, Melon, Apple, Pear, Tomato, Mango
- **Water System**: Collect water from troughs/pumps using buckets
- **Fertilizer System**: Collect fertilizer from animal droppings in the world
- **Rain Watering**: Plants automatically receive water during rain
- **Plant Death System**: Plants die after 72 hours without water or fertilizer
- **Owner-Only Pickup**: Only the player who planted the fruit can collect it
- **Target Menu**: Interact with plants via rsg-target for watering, fertilizing, or removing
- **Progress UI**: Visual progress bars showing water/fertilizer levels
- **Death Timer**: Shows time remaining until plant dies from neglect
## Installation
### Prerequisites
This script requires the following dependencies:
- **rsg-core** - Core framework
- **ox_lib** - UI library
- **rsg-inventory** - Inventory system
- **rsg-target** - Target/interaction system
- **weathersync** (optional) - For automatic rain watering