Introducing system that allows you to plant, feed, water, harvest and sell weed.
[Preview]
[Features]
- supported frameworks:
- fully configurable math system for growth
- corner selling
- plant destroying (you can destroy your own plant or job that is set in config)
- forbidden zones for planting
- admin commands:
- /dellplant - delete closest plant to you
- /findplant - teleport to selected plant from menu
- /findplantbyid - teleport to plant by their id
- /plantblip show - creates blip at location where plant is with id of plant and plant owner
- /plantblip hide - to hide blips
- /getplantid - copies to clipboard plant id
- logs
- optimized
[Hard Dependency]
[More about system]
Growth System
The growth system operates on the following principle: Every 35 seconds, the following actions take place:
- Hydration and feed are reduced by 3%, while growth is increased by 2% (configurable).
- If feed and hydration are above 65%, quality is increased by 5%; otherwise, it is decreased by 5%.
- There are three plant stages: Stage II at 55% growth and Stage III at 85% growth.
- At 100% growth, you can no longer feed or hydrate plants, only destroy or harvest.
- Harvesting uses the following formula: Quality of plant / 2 = final item for sale to NPC (corner selling).
- All these parameters can be adjusted in the config file.
Corner Selling
Our primary focus is script optimization; therefore, corner selling can be disabled or enabled via command /cornersell (configurable). In the config, you can set selling prices for each day of the week.
Other
Plants are saved in the database every 10 minutes. Additionally, plants are saved whenever the script is restarted, allowing you to restart the resource freely. The script SQL file is automatically installed if the SQL table is missing, eliminating the need for manual setup.
Known Bugs/Problems
Currently, there are no known bugs or problems. If you encounter any issues or have any questions, please feel free to reach out to us.
[Accessible code]
Click here to see files.
[Asset Escrow System]
This resource is using the Asset Escrow system.
Click here to know more about it.
Tebex
Code is accessible | Partially |
Subscription-based | No |
Lines (approximately) | 1700 |
Requirements | oxmysql / ox_lib / framework |
Support | Yes |