Farming

Adds plantable seeds.

By AleXXX_007

Modules

Hooks hooks
PLUGIN plugin

Items

Defines the Baked Potato item (baked_potato) of the Farming plugin, a food item that restores 25 hunger.
Banana item
Defines the Banana item (banana) of the Farming plugin, a food item that restores 10 hunger.
Defines the Boiled Corn item (boiled_corn) of the Farming plugin, a food item that restores 35 hunger.
Defines the Cleaned Orange item (orange_cleaned) of the Farming plugin, a food item that heals 15 health and boosts endurance and strength by 10 for two minutes.
Corn item
Defines the Corn item (corn) of the Farming plugin, a food item that restores 5 hunger.
Flour item
Defines the Flour item (flour) of the Farming plugin, a crafting material with no use of its own.
Orange item
Defines the Orange item (orange) of the Farming plugin, which is peeled on use to give an orange_cleaned item.
Defines the Orange Juice item (orange_juice) of the Farming plugin, a drink that restores 55 thirst and leaves an empty_soda_can.
Popcorn item
Defines the Popcorn item (popcorn) of the Farming plugin, a food item that restores 25 hunger and leaves an empty_carton.
Potato item
Defines the Potato item (potato) of the Farming plugin, a food item that restores 5 hunger.
Defines the Potato Dish item (potato_dish) of the Farming plugin, a food item that restores 65 hunger and leaves an empty_takeout_carton.
Defines the seeds_base base item, whose use plants a cw_plant entity on the dirt or grass the player is looking at.
Tomato item
Defines the Tomato item (tomato) of the Farming plugin, a food item that restores 5 hunger and 10 thirst.
Defines the Tomato Juice item (tomato_juice) of the Farming plugin, a drink that restores 50 thirst and leaves an empty_soda_can.
Weed item
Defines the Weed item (weed) of the Farming plugin, a crafting material with no use of its own.

Entities

cw_plant entity
Shared definition of the cw_plant entity: its entity fields and the getters for the time it was planted, the time it ripens and the unique ID of the seed item it grew from.