Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- zpizmak = zpizmak || {}
- zpizmak.config = zpizmak.config || {}
- ////////////////////////////////////////////////////////////////////////////////
- // Bought by 76561198868637212
- // Version 1.1.3
- ////////////////////////////////////////////////////////////////////////////////
- // Developed by ZeroChain:
- // http://steamcommunity.com/id/zerochain/
- // https://www.gmodstore.com/users/view/76561198013322242
- // If you wish to contact me:
- // clemensproduction@gmail.com
- ////////////////////////////////////////////////////////////////////////////////
- //////////////BEFORE YOU START BE SURE TO READ THE README.TXT///////////////////
- ////////////////////////////////////////////////////////////////////////////////
- // Misc
- ///////////////////////
- // This enables fast download
- zpizmak.config.EnableResourceAddfile = false
- // What language do we want? en,de,fr,pl,pt,cn
- zpizmak.config.selectedLanguage = "fr"
- // What gamemode are we using
- zpizmak.config.selectedGamemode = "DarkRP"
- // DarkRP
- // BaseWars
- // These Ranks are allowed do use the save command !savepizzamaker
- // If xAdmin is installed then this table gets ignored
- zpizmak.config.allowedRanks = {"superadmin"}
- // The Currency
- zpizmak.config.Currency = "€"
- // This defines how much health a entity has, Set it to -1 to disable it
- zpizmak.config.Damage = {
- ["zpizmak_fridge"] = -1,
- ["zpizmak_oven"] = -1,
- ["zpizmak_opensign"] = -1
- }
- // This will turn the Health the Player receives when eating a Pizza to Energy for the HungerMod
- zpizmak.config.UseHungermod = true
- // Do we want the Health do stop at the Pizza HealthCap?
- zpizmak.config.HealthCap = true
- // This will remove the Owner checks so everyone can use the Players Equipment
- zpizmak.config.EquipmentSharing = false
- //*Note This needs do be true if you save the Equipment for the Map via !savepizzamaker in chat or zpizmak_savepublicentities in console
- // Here you can add all the Jobs that are allowed do interact with the Fridge, Oven and OpenSign
- zpizmak.config.JobRestriction = {"Cuisinier"}
- //*Note Leave empty do disable the JobRestriction
- // This will spawn the Money from the Open Sign as Entity instead of sending it direct too the Owner
- zpizmak.config.RevenueSpawn = false
- // Only works in DarkRP at the moment
- ///////////////////////
- // Fridge Shop
- ///////////////////////
- // This Sets up our Fridge Shop and also the available Ingredients for Pizza
- zpizmak.config.Ingredients = {
- [1] = {
- Name = "Pâte",
- Model = "models/zerochain/props_pizza/zpizmak_pizzadough.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_dough.png", "smooth"),
- Desc = "La pâte à Pizza de base",
- Price = 30,
- },
- [2] = {
- Name = "SauceTomate",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_tomato.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_tomato.png", "smooth"),
- Desc = "Sauce tomate de bonne qualité",
- Price = 30,
- iColor = Color(200,0,0),
- },
- [3] = {
- Name = "Fromage",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_cheese.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_cheese.png", "smooth"),
- Desc = "Fromage frais",
- Price = 30,
- iColor = Color(252,223,118),
- },
- [4] = {
- Name = "Epinards",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_spinat.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_spinat.png", "smooth"),
- Desc = "Peu savoureux mais très utile",
- Price = 30,
- iColor = Color(139,164,60),
- },
- [5] = {
- Name = "Salami",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_salami.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_salami.png", "smooth"),
- Desc = "Salami gouteux et de bonne qualité",
- Price = 30,
- iColor = Color(131,23,29),
- },
- [6] = {
- Name = "Olives",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_olives.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_olive.png", "smooth"),
- Desc = "Des olives venus de Provence",
- Price = 30,
- iColor = Color(156,155,34),
- },
- [7] = {
- Name = "Aubergine",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_eggplant.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_eggplant.png", "smooth"),
- Desc = "Aubergine fraiche",
- Price = 30,
- iColor = Color(90,14,94),
- },
- [8] = {
- Name = "Chili",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_chilli.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_chilli.png", "smooth"),
- Desc = "Chili mexicain assez épicé",
- Price = 30,
- iColor = Color(255,57,57),
- },
- [9] = {
- Name = "Cornichon",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_pickle.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_pickle.png", "smooth"),
- Desc = "Cornichon frais",
- Price = 30,
- iColor = Color(25,31,19),
- },
- [10] = {
- Name = "Champignons",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_mushroom.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_mushroom.png", "smooth"),
- Desc = "Champignons blanc prêt à être cuisiner",
- Price = 30,
- iColor = Color(249,220,178),
- },
- [11] = {
- Name = "Ananas",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_pineapple.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_pineapple.png", "smooth"),
- Desc = "Ananas de très bonne qualité",
- Price = 30,
- iColor = Color(238,175,74),
- },
- [12] = {
- Name = "Oeuf",
- Model = "models/props_phx/misc/egg.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_egg.png", "smooth"),
- Desc = "Oeuf pondu avec amour",
- Price = 30,
- iColor = Color(229,229,229),
- },
- [13] = {
- Name = "Bacon",
- Model = "models/zerochain/props_pizza/zpizmak_ingredient_bacon.mdl",
- Icon = Material("materials/zerochain/zpizmak/ui/icons/zpizmak_bacon.png", "smooth"),
- Desc = "Bacon pur porc",
- Price = 30,
- iColor = Color(118,29,33),
- },
- }
- // The Limit each fridge can spawn in
- zpizmak.config.Ingredient_Limit = 6
- // How long until the ingredient despawn, -1 disables this function
- zpizmak.config.Ingredient_Despawn = 60 //seconds
- ///////////////////////
- // Pizza Recipes
- ///////////////////////
- // All the Pizzas
- zpizmak.config.Pizzas = {
- [1] = {
- Name = "Magarita",
- Recipe = {SauceTomate = 1,Fromage = 1}, // The Ingredients needed.
- BakeTime = 10, // The Time in seconds the Pizza needs do be Baked
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl", // This can stay the same for every Pizza
- Desc = "A basic Pizza!",
- Price = 70, // This Value gets added to the Ingredients Cost
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_magarita.png", "smooth"), // How should the Pizza look when its done
- SpawnChance = 50, // How high is the Chance that this Pizza gets choosen by a Customer (1-100)
- ConsumHealth = 50, // How much Health gets the Player if he eats the Pizza
- },
- [2] = {
- Name = "Pizza Epinards",
- Recipe = {SauceTomate = 1,Fromage = 1,Epinards = 2},
- BakeTime = 15,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "A really Green Pizza!",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_spinat.png", "smooth"),
- SpawnChance = 25,
- ConsumHealth = 50,
- },
- [3] = {
- Name = "Pizza Salami",
- Recipe = {SauceTomate = 1,Fromage = 1,Salami = 2},
- BakeTime = 15,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "A Donkey Pizza!",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_salami.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- [4] = {
- Name = "Pizza Olive",
- Recipe = {SauceTomate = 1,Fromage = 1,Olives = 3},
- BakeTime = 20,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "A Italiano Pizza!",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_olivia.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- [5] = {
- Name = "Grande Pizza",
- Recipe = {SauceTomate = 1,Fromage = 1,Salami = 1,Olives = 1, Aubergine = 1,Epinards = 1,Cornichon = 1},
- BakeTime = 120,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "A Big Pizza!",
- Price = 150,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_grande.png", "smooth"),
- SpawnChance = 5,
- ConsumHealth = 100,
- },
- [6] = {
- Name = "Pizza Bacon",
- Recipe = {SauceTomate = 1,Fromage = 1,Bacon = 2},
- BakeTime = 25,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "Bacon!",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_bacon.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- [7] = {
- Name = "Pizza Oeuf",
- Recipe = {SauceTomate = 1,Fromage = 1,Oeuf = 1,Chili = 1,Bacon = 1},
- BakeTime = 25,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "Eggs and more Eggs.",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_egg.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- [8] = {
- Name = "Pizza Champignons",
- Recipe = {SauceTomate = 1,Fromage = 1,Epinards = 1,Chili = 1,Champignons = 1},
- BakeTime = 25,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "Dont gets you High.",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_mushroom.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- [9] = {
- Name = "Hawaïenne",
- Recipe = {SauceTomate = 1,Fromage = 2,Ananas = 1},
- BakeTime = 30,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "Tropical Taste!",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_hawai.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- [10] = {
- Name = "Fromagère",
- Recipe = {SauceTomate = 1,Fromage = 3},
- BakeTime = 30,
- Model = "models/zerochain/props_pizza/zpizmak_pizza.mdl",
- Desc = "A cheese Pizza!",
- Price = 120,
- PizzaTop = Material("materials/zerochain/zpizmak/ui/pizzas/pizza_cheese.png", "smooth"),
- SpawnChance = 10,
- ConsumHealth = 50,
- },
- }
- ///////////////////////
- // Pizza Oven
- ///////////////////////
- // How much time till the Pizza got Burned
- zpizmak.config.PizzaBurnTime = 20
- ///////////////////////
- // Customers
- ///////////////////////
- // Some Data for our customers
- zpizmak.config.Customers = {
- [1] = {
- Model = "models/Humans/Group01/male_07.mdl", // The Customer Model
- SitAnim = {"silo_sit"}, // The Customer Sit Animations
- ServAnim = {"cheer1", "cheer2"} // The Customer gets Pizza Animations
- },
- [2] = {
- Model = "models/Humans/Group01/male_08.mdl",
- SitAnim = {"sitchair1", "silo_sit"},
- ServAnim = {"cheer1", "cheer2"}
- },
- [3] = {
- Model = "models/Humans/Group01/male_09.mdl",
- SitAnim = {"silo_sit"},
- ServAnim = {"cheer1", "cheer2"}
- },
- [4] = {
- Model = "models/Humans/Group01/Female_01.mdl",
- SitAnim = {"sitchair1", "silo_sit"},
- ServAnim = {"cheer1", "heal"}
- },
- [5] = {
- Model = "models/Humans/Group01/Female_02.mdl",
- SitAnim = {"sitchair1", "silo_sit"},
- ServAnim = {"cheer1", "heal"}
- },
- [6] = {
- Model = "models/Humans/Group01/Female_03.mdl",
- SitAnim = {"sitchair1", "silo_sit"},
- ServAnim = {"cheer1", "heal"}
- },
- [7] = {
- Model = "models/Humans/Group01/Male_01.mdl",
- SitAnim = {"silo_sit"},
- ServAnim = {"cheer1", "cheer2"}
- },
- [8] = {
- Model = "models/alyx.mdl",
- SitAnim = {"d1_t03_sit_bed"},
- ServAnim = {"cheer1", "heal"}
- },
- [9] = {
- Model = "models/gman_high.mdl",
- SitAnim = {"silo_sit"},
- ServAnim = {"tiefidget", "lintpick"}
- },
- [10] = {
- Model = "models/Kleiner.mdl",
- SitAnim = {"silo_sit"},
- ServAnim = {"heal"}
- }
- }
- // How much does the player gets payed if he delivers a burned pizza
- zpizmak.config.Customer_BurnedPizzaPenalty = 0.2 //20%
- // The Interval at which new customers get spawned
- zpizmak.config.Customer_RespawnRate = 20
- // How many Customers can one Player have at once
- zpizmak.config.Customer_Limit = 3
- // Time in seconds we add to the bake time of the pizza for the Customer do wait.
- zpizmak.config.Customer_ExtraWaitTime = 100
- ///////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement