Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SILCOOK = SILCOOK or {}
- SILCOOK.Config = SILCOOK.Config or {}
- -- Upcoming feature. How long after the last stovetop has been turned off should the stovetop be considered "cool?"
- -- Currently only works with the light.
- SILCOOK.Config.HotSurfaceTime = 30
- -- How long should it take oven to preheat?
- SILCOOK.Config.OvenPreheatTime = 60
- -- How much fuel does the propane canister give to the stove?
- SILCOOK.Config.FuelAmount = 50
- -- Whether or not to display the fuel/preheating 3D2D. If set to true, players will have to rely on the instructional lights.
- SILCOOK.Config.RealisticMode = false
- -- Delays for the effects of fire smoke, fire, and pot smoke. ( set to math.inf to disable )
- SILCOOK.Config.StoveSmokeDelay = .1
- SILCOOK.Config.StoveFireDelay = .025
- SILCOOK.Config.PotSmokeDelay = .2
- -- Fuel lost per second for the oven & a stovetop.
- SILCOOK.Config.OvenFuelRate = .04
- SILCOOK.Config.StovetopFuelRate = .015
- -- Although gamemodes other than DarkRP are not supported out of the box, you can still turn this off if you want to try and make it work with your gamemode.
- -- Don't change this unless you know what you are doing.
- SILCOOK.Config.UsingDarkRP = true
- -- Whether or not to use ItemStore additions such
- SILCOOK.Config.UseItemstore = true
- -- If a stove explodes, anyone in this radius will instantly die.
- SILCOOK.Config.StoveKillzone = 200
- -- If a stove explodes, this is the maximum radius that a player will be hurt in.
- SILCOOK.Config.StoveEffectzone = 450
- -- Same as above, except for the propane explosion.
- SILCOOK.Config.PropaneKillzone = 100
- SILCOOK.Config.PropaneEffectzone = 250
- -- Whether or not to use the Food & Household Items workshop addons for models & sounds.
- SILCOOK.Config.UseFoodAddon = true
- -- Make sure to change this if you set SILCOOK.Config.UseFoodAddon to false.
- SILCOOK.Config.EatSound = "eating_and_drinking/eating.wav"
- -- Baking tray model, change if SILCOOK.Config.UseFoodAddon is set to false.
- SILCOOK.Config.BakingTrayModel = "models/foodnhouseholditems/mcdmealplate.mdl"
- -- Not this also scales the pot & baking tray max.
- SILCOOK.Config.MaxStoves = 1
- hook.Add( "DarkRPFinishedLoading", "SILCOOK.Config.Job Loading", function() -- Don't worry about this
- -- These are/this is the job(s) that are/is allowed to purchase a stove, cooking materials, and ingredients from the F4 menu. Set to nil to disable.
- SILCOOK.Config.Job = { TEAM_COOK, TEAM_MAYOR } -- i.e. { TEAM_COOK, TEAM_MAYOR, TEAM_CITIZEN }
- end ) -- Don't worry about this either.
- -- Language configuration
- SILCOOK.Config.Language = {
- ["MUSH"] = "Mush",
- -- Follinwg is used in DarkRP notifications. You don't need to edit this if you have SILCOOK.Config.UsingDarkRP set to false.
- ["POT_EMPTY"] = "There is nothing in the pot for you to collect!",
- ["POT_TAKEINGREDIENTS"] = "You have taken your ingredients from the cooking pot!",
- ["POT_SILCOOKMONEY"] = "You have received %m from cooking %r!", -- %m = Money Received | %r = Recipe
- ["POT_SILCOOKFOOD"] = "You have successfully cooked %r!", -- %r = Recipe
- ["TRAY_EMPTY"] = "There is nothing in the tray for you to collect!",
- ["TRAY_TAKEINGREDIENTS"] = "You have taken your ingredients from the baking tray!",
- ["TRAY_SILCOOKMONEY"] = "You have received %m from baking %r!", -- Refer to POT_SILCOOKMONEY
- ["TRAY_SILCOOKFOOD"] = "You have successfully baked %r!", -- Refer to POT_SILCOOKFOOD
- ["STOVE_OUTOFFUEL"] = "This stove is out of fuel!",
- ["STOVE_OVENEMPTY"] = "There is nothing in the oven!",
- ["STOVE_TRAYTAKE"] = "You have retrieved the baking tray from the oven!",
- -- Following is ItemStore language configuration. You don't need to edit this if you have SILCOOK.Config.UseItemstore set to false.
- ["IS_INGREDIENT_DESC"] = "An ingredient used in cooking.",
- ["IS_FOOD_DESC"] = "Yummy!",
- ["IS_SILCOOKINGPOT_NAME"] = "Cooking Pot",
- ["IS_SILCOOKINGPOT_DESC"] = "A pot used to put ingredients in and cook on a stove.",
- ["IS_PROPANE_NAME"] = "Propane Canister",
- ["IS_PROPANE_DESC"] = "A propane canister used in fueling a stove.",
- ["IS_STOVE_NAME"] = "Stove",
- ["IS_STOVE_DESC"] = "A stove used for cooking ingredients.",
- ["IS_BAKINGTRAY_NAME"] = "Baking Tray",
- ["IS_BAKINGTRAY_DESC"] = "A tray used to put ingredients in and bake in an oven.",
- }
- --[[-------------------------------------------------------------------------
- INGREDIENT CONFIGURATION
- ---------------------------------------------------------------------------]]
- SILCOOK.Config.Ingredients = {
- ["Bread Slice"] = { -- This is the name of your ingredient.
- model = "models/foodnhouseholditems/bread_slice.mdl", -- This is the model path of your ingredient.
- amt = 1, -- This is the amount the ingredient will give in a stove. Every recipe requirement that uses this ingredient must be a multiple of this to work.
- txt = "%c slices of bread", -- This is what the pot will display for the ingredient. Use "%c" to display the number of this ingredient in the pot.
- price = 5, -- This is the price of the ingredient in the F4 menu. Set to "false" to disable this ingredient from being sold there.
- }, -- Make sure to not forget this comma!
- ["Cheese"] = {
- model = "models/foodnhouseholditems/cheesewheel1c.mdl",
- amt = 1,
- txt = "%c slices of cheese",
- price = 10,
- },
- ["Lettuce"] = {
- model = "models/foodnhouseholditems/lettuce.mdl",
- amt = 1,
- txt = "%c slices of lettuce",
- price = 5,
- },
- ["Raw Beef"] = {
- model = "models/foodnhouseholditems/bacon_2.mdl",
- amt = 2,
- txt = "%coz of raw beef",
- price = 20,
- },
- ["Raw Turkey"] = {
- model = "models/foodnhouseholditems/turkey.mdl",
- amt = 1,
- txt = "%c raw turkey",
- price = 40,
- },
- ["Methylamine"] = {
- model = "models/props_lab/jar01a.mdl",
- amt = 5,
- txt = "%coz of methylamine",
- price = 300,
- },
- ["Lighter Fluid"] = {
- model = "models/props_junk/garbage_plasticbottle003a.mdl",
- amt = 3,
- txt = "%coz of lighter fluid",
- price = 80,
- },
- ["Dough"] = {
- model = "models/foodnhouseholditems/bread-1.mdl",
- amt = 3,
- txt = "%clbs of dough",
- price = 30,
- },
- ["Potato"] = {
- model = "models/foodnhouseholditems/potato.mdl",
- amt = 3,
- txt = "%c potato(es)",
- price = 10,
- },
- ["Raw Lobster"] = {
- model = "models/foodnhouseholditems/lobster.mdl",
- amt = 1,
- txt = "%c raw lobster",
- price = 60,
- },
- ["Egg"] = {
- model = "models/foodnhouseholditems/egg1.mdl",
- amt = 1,
- txt = "%c egg(s)",
- price = 5,
- },
- ["Milk"] = {
- model = "models/foodnhouseholditems/milk2.mdl",
- amt = 1,
- txt = "%c gallon(s) of milk",
- price = 10,
- },
- ["Flour"] = {
- model = "models/props_junk/metal_paintcan001a.mdl",
- amt = 1,
- txt = "%c cups of flour",
- price = 15,
- },
- ["Vanilla Frosting"] = {
- model = "models/foodnhouseholditems/icecream2.mdl",
- amt = 2,
- txt = "%coz(s) of vanilla frosting",
- price = 15,
- },
- ["Chocolate Frosting"] = {
- model = "models/foodnhouseholditems/icecream4.mdl",
- amt = 2,
- txt = "%coz(s) of chocolate frosting",
- price = 15,
- },
- ["Ketchup"] = {
- model = "models/foodnhouseholditems/ketchup.mdl",
- amt = 1,
- txt = "%coz(s) of ketchup",
- price = 10,
- },
- ["Salt"] = {
- model = "models/props_junk/GlassBottle01a.mdl",
- amt = 1,
- txt = "%ctblsp of salt",
- price = 10,
- },
- ["Sugar"] = {
- model = "models/props_junk/garbage_glassbottle003a.mdl",
- amt = 1,
- txt = "%ctblsp of sugar",
- price = 15,
- },
- ["Raw Steak"] = {
- model = "models/foodnhouseholditems/steak1.mdl",
- amt = 1,
- txt = "%c raw steak(s)",
- price = 40,
- }
- }
- -- For compatibility with your other entities, you can add more custom ingredients that work with other addons here.
- SILCOOK.Config.EntIngredients = {
- --["sent_ball"] = { -- The class name of your other entity.
- -- name = "Ball", -- Normal name of your other entity.
- -- amt = 1, -- Amount given per one entity to the pot.
- -- txt = "%c ball(s)", -- Indicator of the entity's amount in the pot.
- --},
- }
Advertisement
Add Comment
Please, Sign In to add comment