Cooking
This plugin extends the vanilla cooking system in rust by adding a number of ingredients and advanced recipes to the game.
codefling.com
This plugin extends the vanilla cooking system in rust by adding a number of ingredients and advanced recipes to the game.
The ingredients are obtained from any of the 45+ different sources, from ore nodes, to trees, to collectibles such as hemp and pumpkins.
These ingredients are used to create delicious meals that will provide the player with 1 of the 55 different buffs the plugin has to offer, or your own custom buffs should you wish to create your own using permissions from other plugins.
The plugin comes standard with 47 custom recipes and 11 custom ingredients included. It also utilizes a number of rusts existing items, such as pumpkins, corn, wheat and potatoes.
There are over 47 recipes that come with the default configuration.
Each recipe allows for any number of ingredients to be added (default is up to 4), and any number of the 46 buffs to be added to each meal.
Recipes can be easily added via the config. This allows server owners to get creative by creating their own custom meals and buffs.
The above video showcases how new recipes and ingredients can be easily added to your configuration.
The plugin comes with 11 unique custom ingredients, and also utilizes 16 of the default items in rust.
Ingredients can be easily added to the configuration (see the above video).
All non-default ingredients can be found from 49 different sources including cutting trees, mining nodes, collecting hemp etc.
Each sources drop rate can be customized to suit your server, and the sources for ingredients can be changed incredible easily by simply adjusting a number in the config file.
When a roll is successful, it then rolls through each item type and selects the item based on that items "dropWeight", allowing you to make ingredients more or less common than others on the same drop table.
Starting quantities can also be set if you do not want the market to start at 0.
// Recipe menu chat command
cooking.recipemenu.chat
// Using the cooking menu
cooking.use
// Admin related cooking comands
cooking.admin
// Bypass cooking time
cooking.instant
// Bypass ingredient requirements
cooking.free
// Removes ability to gather ingredients
cooking.nogather
// Allows the ingredient bag to be opened via CMD
cooking.bag.cmd
// Disables drop notifications
cooking.disable.notify.drop
// Disables Notify notifications
cooking.disable.notify.proc
// Disables menu sounds
cooking.disable.sound
// Allows access to the farmers market via CMD
cooking.market.cmd
// Allows the user to speak to the market NPC
cooking.market.npc
// Allows the user to gather ingredients
cooking.gather
// Required to find recipe cards
cooking.recipecards
bool CanGatherIngredient(BasePlayer player, uint source)
void OnMealCrafted(BasePlayer player, string meal, Dictionary<string, int> ingredients, bool isIngredient)
bool IsCookingMeal(Item item)
bool IsHorseBuffed(RidableHorse horse)
object OnAddRecipeCardToLootContainer(BasePlayer player, LootContainer container)
object OnIngredientBagDrop(BasePlayer player)
void OnMealConsumed(BasePlayer player, Item item, int duration)
