Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Glass 1
- resource.AddFile( "models/alchemylab/glass1.mdl" );
- resource.AddFile( "models/alchemylab/glass1.dx80" );
- resource.AddFile( "models/alchemylab/glass1.dx90" );
- resource.AddFile( "models/alchemylab/glass1.sw" );
- resource.AddFile( "models/alchemylab/glass1.vvd" );
- resource.AddFile( "models/alchemylab/glass1.phy" );
- //Glass 2
- resource.AddFile( "models/alchemylab/glass2.mdl" );
- resource.AddFile( "models/alchemylab/glass2.dx80" );
- resource.AddFile( "models/alchemylab/glass2.dx90" );
- resource.AddFile( "models/alchemylab/glass2.sw" );
- resource.AddFile( "models/alchemylab/glass2.vvd" );
- resource.AddFile( "models/alchemylab/glass2.phy" );
- //Glass 3
- resource.AddFile( "models/alchemylab/glass3.mdl" );
- resource.AddFile( "models/alchemylab/glass3.dx80" );
- resource.AddFile( "models/alchemylab/glass3.dx90" );
- resource.AddFile( "models/alchemylab/glass3.sw" );
- resource.AddFile( "models/alchemylab/glass3.vvd" );
- resource.AddFile( "models/alchemylab/glass3.phy" );
- //Glass 4
- resource.AddFile( "models/alchemylab/glass4.mdl" );
- resource.AddFile( "models/alchemylab/glass4.dx80" );
- resource.AddFile( "models/alchemylab/glass4.dx90" );
- resource.AddFile( "models/alchemylab/glass4.sw" );
- resource.AddFile( "models/alchemylab/glass4.vvd" );
- resource.AddFile( "models/alchemylab/glass4.phy" );
- //Glass 5
- resource.AddFile( "models/alchemylab/glass5.mdl" );
- resource.AddFile( "models/alchemylab/glass5.dx80" );
- resource.AddFile( "models/alchemylab/glass5.dx90" );
- resource.AddFile( "models/alchemylab/glass5.sw" );
- resource.AddFile( "models/alchemylab/glass5.vvd" );
- resource.AddFile( "models/alchemylab/glass5.phy" );
- //Glass 6
- resource.AddFile( "models/alchemylab/glass6.mdl" );
- resource.AddFile( "models/alchemylab/glass6.dx80" );
- resource.AddFile( "models/alchemylab/glass6.dx90" );
- resource.AddFile( "models/alchemylab/glass6.sw" );
- resource.AddFile( "models/alchemylab/glass6.vvd" );
- resource.AddFile( "models/alchemylab/glass6.phy" );
- //Glass 7
- resource.AddFile( "models/alchemylab/glass7.mdl" );
- resource.AddFile( "models/alchemylab/glass7.dx80" );
- resource.AddFile( "models/alchemylab/glass7.dx90" );
- resource.AddFile( "models/alchemylab/glass7.sw" );
- resource.AddFile( "models/alchemylab/glass7.vvd" );
- resource.AddFile( "models/alchemylab/glass7.phy" );
- //Glass 8
- resource.AddFile( "models/alchemylab/glass8.mdl" );
- resource.AddFile( "models/alchemylab/glass8.dx80" );
- resource.AddFile( "models/alchemylab/glass8.dx90" );
- resource.AddFile( "models/alchemylab/glass8.sw" );
- resource.AddFile( "models/alchemylab/glass8.vvd" );
- resource.AddFile( "models/alchemylab/glass8.phy" );
- //Glass 9
- resource.AddFile( "models/alchemylab/glass9.mdl" );
- resource.AddFile( "models/alchemylab/glass9.dx80" );
- resource.AddFile( "models/alchemylab/glass9.dx90" );
- resource.AddFile( "models/alchemylab/glass9.sw" );
- resource.AddFile( "models/alchemylab/glass9.vvd" );
- resource.AddFile( "models/alchemylab/glass9.phy" );
- //Glass 10
- resource.AddFile( "models/alchemylab/glass10.mdl" );
- resource.AddFile( "models/alchemylab/glass10.dx80" );
- resource.AddFile( "models/alchemylab/glass10.dx90" );
- resource.AddFile( "models/alchemylab/glass10.sw" );
- resource.AddFile( "models/alchemylab/glass10.vvd" );
- resource.AddFile( "models/alchemylab/glass10.phy" );
- if CLIENT then
- surface.CreateFont( "AlchemyFont48", {
- font = "BEBAS",
- size = 48,
- weight = 500,
- blursize = 0,
- scanlines = 0,
- antialias = true,
- underline = false,
- italic = false,
- strikeout = false,
- symbol = false,
- rotary = false,
- shadow = false,
- additive = false,
- outline = false
- } )
- surface.CreateFont( "AlchemyFont64", {
- font = "BEBAS",
- size = 64,
- weight = 500,
- blursize = 0,
- scanlines = 0,
- antialias = true,
- underline = false,
- italic = false,
- strikeout = false,
- symbol = false,
- rotary = false,
- shadow = false,
- additive = false,
- outline = false
- } )
- end
- AM = {}
- AM.Recipes = {}
- AM.ModTranslations = {}
- AM.ModTranslations["RestoreHealth"] = {"Restore Health", "HP"}
- AM.ModTranslations["RestoreArmor"] = {"Restore Armor", "AR"}
- AM.ModTranslations["RunSpeed"] = {"Run Speed", "Speed"}
- AM.ModTranslations["JumpHeight"] = {"Jump Height", "Power"}
- AM.ModTranslations["Poison"] = {"Poison", "HP"}
- AM.ModTranslations["Invisibility"] = {"Invisibility", "seconds"}
- AM.ModTranslations["CopDisguise"] = {"Cop Disguisement", "seconds"}
- AM.ModTranslations["MaxHealth"] = {"Max. Health", "HP"}
- AM.IngredientTranslations = {}
- AM.IngredientTranslations["ingredient_cactus"] = "Cactus"
- AM.IngredientTranslations["ingredient_oldbattery"] = "Old Battery"
- AM.IngredientTranslations["ingredient_alcohol"] = "Alcohol"
- AM.IngredientTranslations["ingredient_orange"] = "Orange"
- AM.IngredientTranslations["ingredient_pieceofwood"] = "Piece of Wood"
- AM.IngredientTranslations["ingredient_melonslice"] = "Melon Slice"
- AM.IngredientTranslations["ingredient_slime"] = "Slime"
- if CLIENT then
- function AM.ShowPotionInfo()
- if LocalPlayer():GetEyeTrace().Entity then
- local E = LocalPlayer():GetEyeTrace().Entity
- if E:IsValid() and E:GetPos():Distance(LocalPlayer():GetPos()) > 200 then return end
- if E.IsPotion then
- draw.SimpleTextOutlined( 'Potion', "DermaLarge", ScrW()/2, ScrH()/2, Color(142, 235, 0, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_TOP, 1, Color( 0, 0, 0, 255 ) )
- local i = 1
- for k, v in pairs (E.Mods) do
- draw.SimpleTextOutlined( AM.ModTranslations[k][1] .. " ("..v.." "..AM.ModTranslations[k][2]..")", "DermaDefaultBold", ScrW()/2, (ScrH()/2)+(15*i), Color( 255, 190, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_TOP, 1, Color( 0, 0, 0, 255 ) )
- i=i+1
- end
- end
- end
- end
- hook.Add("HUDPaint", "ShowPotionInfo", AM.ShowPotionInfo)
- end
- function AM.AddRecipe( recipeTbl )
- AM.Recipes[#AM.Recipes+1] = recipeTbl
- end
- --
- --
- --
- --
- --
- --
- --
- --
- --
- --
- --
- --
- -- ADD RECIPES BELOW, DON'T MIND WHATS UP THERE
- --
- --
- --
- --
- --
- --
- --
- --
- --
- --
- --
- --
- local Recipe = {}
- Recipe.name = "Small Healing Potion"
- Recipe.model = "models/alchemylab/glass2.mdl"
- Recipe.effect = "effect_alchemy_redpotion"
- Recipe.ingredients = {"ingredient_cactus", "ingredient_oldbattery"}
- Recipe.mods =
- {
- RestoreHealth = {Min = 5, Max = 15}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Shell Potion"
- Recipe.model = "models/alchemylab/glass1.mdl"
- Recipe.effect = "effect_alchemy_yellowpotion"
- Recipe.ingredients = {"ingredient_melonslice", "ingredient_pieceofwood"}
- Recipe.mods =
- {
- RestoreArmor = {Min = 5, Max = 15}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Haste Potion"
- Recipe.model = "models/alchemylab/glass3.mdl"
- Recipe.effect = "effect_alchemy_purplepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_orange"}
- Recipe.mods =
- {
- RunSpeed = {Min = 30, Max = 60}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Feather Potion"
- Recipe.model = "models/alchemylab/glass4.mdl"
- Recipe.effect = "effect_alchemy_bluepotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_pieceofwood"}
- Recipe.mods =
- {
- JumpHeight = {Min = 60, Max = 120}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Poison"
- Recipe.model = "models/alchemylab/glass5.mdl"
- Recipe.effect = "effect_alchemy_greenpotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_oldbattery"}
- Recipe.mods =
- {
- Poison = {Min = 25, Max = 50}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Invisibility Potion"
- Recipe.model = "models/alchemylab/glass9.mdl"
- Recipe.effect = "effect_alchemy_pinkpotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_pieceofwood"}
- Recipe.mods =
- {
- Invisibility = {Min = 25, Max = 50}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Cop Disguise Potion"
- Recipe.model = "models/alchemylab/glass7.mdl"
- Recipe.effect = "effect_alchemy_orangepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_pieceofwood"}
- Recipe.mods =
- {
- CopDisguise = {Min = 15, Max = 30}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Small Strenght Potion"
- Recipe.model = "models/alchemylab/glass10.mdl"
- Recipe.effect = "effect_alchemy_whitepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_oldbattery"}
- Recipe.mods =
- {
- MaxHealth = {Min = 25, Max = 50}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Healing Potion"
- Recipe.model = "models/alchemylab/glass2.mdl"
- Recipe.effect = "effect_alchemy_redpotion"
- Recipe.ingredients = {"ingredient_cactus", "ingredient_oldbattery", "ingredient_melonslice"}
- Recipe.mods =
- {
- RestoreHealth = {Min = 15, Max = 35}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Shell Potion"
- Recipe.model = "models/alchemylab/glass1.mdl"
- Recipe.effect = "effect_alchemy_yellowpotion"
- Recipe.ingredients = {"ingredient_melonslice", "ingredient_pieceofwood", "ingredient_alcohol"}
- Recipe.mods =
- {
- RestoreArmor = {Min = 15, Max = 35}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Haste Potion"
- Recipe.model = "models/alchemylab/glass3.mdl"
- Recipe.effect = "effect_alchemy_purplepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_orange", "ingredient_oldbattery"}
- Recipe.mods =
- {
- RunSpeed = {Min = 60, Max = 100}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Feather Potion"
- Recipe.model = "models/alchemylab/glass4.mdl"
- Recipe.effect = "effect_alchemy_bluepotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_pieceofwood", "ingredient_melonslice"}
- Recipe.mods =
- {
- JumpHeight = {Min = 120, Max = 180}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Poison"
- Recipe.model = "models/alchemylab/glass5.mdl"
- Recipe.effect = "effect_alchemy_greenpotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_oldbattery", "ingredient_orange"}
- Recipe.mods =
- {
- Poison = {Min = 50, Max = 75}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Invisibility Potion"
- Recipe.model = "models/alchemylab/glass9.mdl"
- Recipe.effect = "effect_alchemy_pinkpotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_pieceofwood", "ingredient_slime"}
- Recipe.mods =
- {
- Invisibility = {Min = 50, Max = 75}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Cop Disguise Potion"
- Recipe.model = "models/alchemylab/glass7.mdl"
- Recipe.effect = "effect_alchemy_orangepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_pieceofwood", "ingredient_orange"}
- Recipe.mods =
- {
- CopDisguise = {Min = 30, Max = 60}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Medium Strenght Potion"
- Recipe.model = "models/alchemylab/glass10.mdl"
- Recipe.effect = "effect_alchemy_whitepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_oldbattery", "ingredient_cactus"}
- Recipe.mods =
- {
- MaxHealth = {Min = 50, Max = 75}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Healing Potion"
- Recipe.model = "models/alchemylab/glass2.mdl"
- Recipe.effect = "effect_alchemy_redpotion"
- Recipe.ingredients = {"ingredient_cactus", "ingredient_oldbattery", "ingredient_melonslice", "ingredient_slime"}
- Recipe.mods =
- {
- RestoreHealth = {Min = 35, Max = 70}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Shell Potion"
- Recipe.model = "models/alchemylab/glass1.mdl"
- Recipe.effect = "effect_alchemy_yellowpotion"
- Recipe.ingredients = {"ingredient_melonslice", "ingredient_pieceofwood", "ingredient_alcohol", "ingredient_oldbattery"}
- Recipe.mods =
- {
- RestoreArmor = {Min = 35, Max = 70}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Haste Potion"
- Recipe.model = "models/alchemylab/glass3.mdl"
- Recipe.effect = "effect_alchemy_purplepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_orange", "ingredient_oldbattery", "ingredient_alcohol"}
- Recipe.mods =
- {
- RunSpeed = {Min = 100, Max = 150}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Feather Potion"
- Recipe.model = "models/alchemylab/glass4.mdl"
- Recipe.effect = "effect_alchemy_bluepotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_pieceofwood", "ingredient_melonslice", "ingredient_cactus"}
- Recipe.mods =
- {
- JumpHeight = {Min = 180, Max = 240}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Deadly Poison"
- Recipe.model = "models/alchemylab/glass5.mdl"
- Recipe.effect = "effect_alchemy_greenpotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_oldbattery", "ingredient_orange", "ingredient_slime"}
- Recipe.mods =
- {
- Poison = {Min = 75, Max = 100}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Invisibility Potion"
- Recipe.model = "models/alchemylab/glass9.mdl"
- Recipe.effect = "effect_alchemy_pinkpotion"
- Recipe.ingredients = {"ingredient_alcohol", "ingredient_pieceofwood", "ingredient_slime", "ingredient_cactus"}
- Recipe.mods =
- {
- Invisibility = {Min = 75, Max = 100}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Cop Disguise Potion"
- Recipe.model = "models/alchemylab/glass7.mdl"
- Recipe.effect = "effect_alchemy_orangepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_pieceofwood", "ingredient_orange", "ingredient_cactus"}
- Recipe.mods =
- {
- CopDisguise = {Min = 60, Max = 90}
- }
- AM.AddRecipe( Recipe )
- local Recipe = {}
- Recipe.name = "Large Strenght Potion"
- Recipe.model = "models/alchemylab/glass10.mdl"
- Recipe.effect = "effect_alchemy_whitepotion"
- Recipe.ingredients = {"ingredient_slime", "ingredient_oldbattery", "ingredient_cactus", "ingredient_melonslice"}
- Recipe.mods =
- {
- MaxHealth = {Min = 75, Max = 100}
- }
- AM.AddRecipe( Recipe )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement