MYTHARP-Merlin

config.lua

Jul 28th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 77.80 KB | None | 0 0
  1. Icarus.craft.language:setActiveLanguage("English")
  2. Icarus.craft.settings.experienceEnabled = true
  3. Icarus.craft.settings.experienceFactor = 1.6
  4. Icarus.craft.settings.experienceBase = 20
  5. Icarus.craft.settings.levelUp = function(ply, level) end
  6. Icarus.craft.settings.showWeaponIconsOnUI = false
  7. Icarus.craft.settings.showUnneededMaterials = false
  8. Icarus.craft.settings.saveMaterialsOverSessions = true
  9. Icarus.craft.settings.dropMaterialsChatCommand = {"!dropmaterials", "/dropmaterials", "!materials", "/materials"}
  10. Icarus.craft.config:createMaterial("Wood", "icarus/craft/icons/wood")
  11. Icarus.craft.config:createMaterial("Metal", "icarus/craft/icons/metal")
  12. Icarus.craft.config:createMaterial("Adhesive", "icarus/craft/icons/adhesive")
  13. Icarus.craft.config:createMaterial("Plastic", "icarus/craft/icons/plastic")
  14.  
  15. Icarus.craft.materials.spawnChance = {
  16.     wood = 30,
  17.     plastic = 30,
  18.     adhesive = 25,
  19.     metal = 15
  20. }
  21.  
  22. -- Create a new category with a local variable named pistols to reference
  23. local pistols = Icarus.craft.config:createCategory("Pistols")
  24.  
  25. pistols:createWeapon({
  26.     uniqueId = "HL2MAGNUMREVOLVER",
  27.     name = "HL2-357 Magnum Revolver",
  28.     entity = "weapon_357",
  29.     model = "models/weapons/w_357.mdl",
  30.     prices = {
  31.         wood = 0,
  32.         adhesive = 70,
  33.         plastic = 15,
  34.         metal = 60
  35.     },
  36.     craftTimeInSeconds = 3,
  37.     icon = Material("icarus/craft/icons/pistol"),
  38.     levelRequirement = 1,
  39.     xpGainedOnCrafting = 30
  40. })
  41.  
  42. pistols:createWeapon({
  43.     uniqueId = "HL2PISTOL",
  44.     name = "HL2-Pistol",
  45.     entity = "weapon_pistol",
  46.     model = "models/weapons/w_Pistol.mdl",
  47.     prices = {
  48.         wood = 0,
  49.         adhesive = 65,
  50.         plastic = 20,
  51.         metal = 45
  52.     },
  53.     craftTimeInSeconds = 3,
  54.     icon = Material("icarus/craft/icons/pistol"),
  55.     levelRequirement = 1,
  56.     xpGainedOnCrafting = 30
  57. })
  58.  
  59. pistols:createWeapon({
  60.     uniqueId = "COLT1911",
  61.     name = "Colt 1911",
  62.     entity = "m9k_colt1911",
  63.     model = "models/weapons/s_dmgf_co1911.mdl",
  64.     prices = {
  65.         wood = 50,
  66.         adhesive = 30,
  67.         plastic = 15,
  68.         metal = 50
  69.     },
  70.     craftTimeInSeconds = 5,
  71.     icon = Material("icarus/craft/icons/pistol"),
  72.     levelRequirement = 1,
  73.     xpGainedOnCrafting = 70
  74. })
  75.  
  76. pistols:createWeapon({
  77.     uniqueId = "COLTPYTHON",
  78.     name = "Colt Python",
  79.     entity = "m9k_coltpython",
  80.     model = "models/weapons/w_colt_python.mdl",
  81.     prices = {
  82.         wood = 20,
  83.         adhesive = 35,
  84.         plastic = 0,
  85.         metal = 40
  86.     },
  87.     craftTimeInSeconds = 5,
  88.     icon = Material("icarus/craft/icons/pistol"),
  89.     levelRequirement = 2,
  90.     xpGainedOnCrafting = 70
  91. })
  92.  
  93. pistols:createWeapon({
  94.     uniqueId = "DEAGLE",
  95.     name = "Desert Eagle",
  96.     entity = "m9k_deagle",
  97.     model = "models/weapons/w_tcom_deagle.mdl",
  98.     prices = {
  99.         wood = 0,
  100.         adhesive = 90,
  101.         plastic = 10,
  102.         metal = 70
  103.     },
  104.     craftTimeInSeconds = 5,
  105.     icon = Material("icarus/craft/icons/pistol"),
  106.     levelRequirement = 3,
  107.     xpGainedOnCrafting = 70
  108. })
  109.  
  110. pistols:createWeapon({
  111.     uniqueId = "GLOCK18",
  112.     name = "Glock 18",
  113.     entity = "m9k_glock",
  114.     model = "models/weapons/w_dmg_glock.mdl",
  115.     prices = {
  116.         wood = 0,
  117.         adhesive = 70,
  118.         plastic = 15,
  119.         metal = 50
  120.     },
  121.     craftTimeInSeconds = 5,
  122.     icon = Material("icarus/craft/icons/pistol"),
  123.     levelRequirement = 4,
  124.     xpGainedOnCrafting = 70
  125. })
  126.  
  127. pistols:createWeapon({
  128.     uniqueId = "HKUSP",
  129.     name = "HK USP",
  130.     entity = "m9k_usp",
  131.     model = "models/weapons/w_pist_fokkususp.mdl",
  132.     prices = {
  133.         wood = 0,
  134.         adhesive = 70,
  135.         plastic = 10,
  136.         metal = 50
  137.     },
  138.     craftTimeInSeconds = 5,
  139.     icon = Material("icarus/craft/icons/pistol"),
  140.     levelRequirement = 5,
  141.     xpGainedOnCrafting = 70
  142. })
  143.  
  144. pistols:createWeapon({
  145.     uniqueId = "HK45C",
  146.     name = "HK45C",
  147.     entity = "m9k_hk45",
  148.     model = "models/weapons/w_hk45c.mdl",
  149.     prices = {
  150.         wood = 0,
  151.         adhesive = 75,
  152.         plastic = 20,
  153.         metal = 50
  154.     },
  155.     craftTimeInSeconds = 5,
  156.     icon = Material("icarus/craft/icons/pistol"),
  157.     levelRequirement = 6,
  158.     xpGainedOnCrafting = 70
  159. })
  160.  
  161. pistols:createWeapon({
  162.     uniqueId = "M29SATAN",
  163.     name = "M29 Satan",
  164.     entity = "m9k_m29satan",
  165.     model = "models/weapons/w_m29_satan.mdl",
  166.     prices = {
  167.         wood = 5,
  168.         adhesive = 75,
  169.         plastic = 5,
  170.         metal = 80
  171.     },
  172.     craftTimeInSeconds = 5,
  173.     icon = Material("icarus/craft/icons/pistol"),
  174.     levelRequirement = 7,
  175.     xpGainedOnCrafting = 70
  176. })
  177.  
  178. pistols:createWeapon({
  179.     uniqueId = "M92BERETTA",
  180.     name = "M92 Beretta",
  181.     entity = "m9k_m92beretta",
  182.     model = "models/weapons/w_beretta_m92.mdl",
  183.     prices = {
  184.         wood = 0,
  185.         adhesive = 50,
  186.         plastic = 10,
  187.         metal = 40
  188.     },
  189.     craftTimeInSeconds = 5,
  190.     icon = Material("icarus/craft/icons/pistol"),
  191.     levelRequirement = 8,
  192.     xpGainedOnCrafting = 70
  193. })
  194.  
  195. pistols:createWeapon({
  196.     uniqueId = "P08LUGER",
  197.     name = "P08 Luger",
  198.     entity = "m9k_luger",
  199.     model = "models/weapons/w_luger_p08.mdl",
  200.     prices = {
  201.         wood = 10,
  202.         adhesive = 85,
  203.         plastic = 10,
  204.         metal = 75
  205.     },
  206.     craftTimeInSeconds = 5,
  207.     icon = Material("icarus/craft/icons/pistol"),
  208.     levelRequirement = 9,
  209.     xpGainedOnCrafting = 70
  210. })
  211.  
  212. pistols:createWeapon({
  213.     uniqueId = "RAGINGBULL",
  214.     name = "Raging Bull",
  215.     entity = "m9k_ragingbull",
  216.     model = "models/weapons/w_taurus_raging_bull.mdl",
  217.     prices = {
  218.         wood = 0,
  219.         adhesive = 100,
  220.         plastic = 5,
  221.         metal = 80
  222.     },
  223.     craftTimeInSeconds = 5,
  224.     icon = Material("icarus/craft/icons/pistol"),
  225.     levelRequirement = 10,
  226.     xpGainedOnCrafting = 70
  227. })
  228.  
  229. pistols:createWeapon({
  230.     uniqueId = "SCOPEDRAGINGBULL",
  231.     name = "Raging Bull - Scoped",
  232.     entity = "m9k_scoped_taurus",
  233.     model = "models/weapons/w_raging_bull_scoped.mdl",
  234.     prices = {
  235.         wood = 0,
  236.         adhesive = 120,
  237.         plastic = 50,
  238.         metal = 100
  239.     },
  240.     craftTimeInSeconds = 5,
  241.     icon = Material("icarus/craft/icons/pistol"),
  242.     levelRequirement = 11,
  243.     xpGainedOnCrafting = 70
  244. })
  245.  
  246. pistols:createWeapon({
  247.     uniqueId = "REMINGTON1858",
  248.     name = "Remington 1858",
  249.     entity = "m9k_remington1858",
  250.     model = "models/weapons/w_remington_1858.mdl",
  251.     prices = {
  252.         wood = 20,
  253.         adhesive = 80,
  254.         plastic = 10,
  255.         metal = 70
  256.     },
  257.     craftTimeInSeconds = 5,
  258.     icon = Material("icarus/craft/icons/pistol"),
  259.     levelRequirement = 12,
  260.     xpGainedOnCrafting = 70
  261. })
  262.  
  263. pistols:createWeapon({
  264.     uniqueId = "S&WMODEL3RUSSIAN",
  265.     name = "S&W Model 3 Russian",
  266.     entity = "m9k_model3russian",
  267.     model = "models/weapons/w_model_3_rus.mdl",
  268.     prices = {
  269.         wood = 20,
  270.         adhesive = 80,
  271.         plastic = 15,
  272.         metal = 70
  273.     },
  274.     craftTimeInSeconds = 5,
  275.     icon = Material("icarus/craft/icons/pistol"),
  276.     levelRequirement = 13,
  277.     xpGainedOnCrafting = 70
  278. })
  279.  
  280. pistols:createWeapon({
  281.     uniqueId = "S&WMODEL500",
  282.     name = "S&W Model 500",
  283.     entity = "m9k_model500",
  284.     model = "models/weapons/w_sw_model_500.mdl",
  285.     prices = {
  286.         wood = 0,
  287.         adhesive = 80,
  288.         plastic = 20,
  289.         metal = 70
  290.     },
  291.     craftTimeInSeconds = 5,
  292.     icon = Material("icarus/craft/icons/pistol"),
  293.     levelRequirement = 14,
  294.     xpGainedOnCrafting = 70
  295. })
  296.  
  297. pistols:createWeapon({
  298.     uniqueId = "S&WMODEL627",
  299.     name = "S&W Model 627",
  300.     entity = "m9k_model627",
  301.     model = "models/weapons/w_sw_model_627.mdl",
  302.     prices = {
  303.         wood = 15,
  304.         adhesive = 75,
  305.         plastic = 0,
  306.         metal = 60
  307.     },
  308.     craftTimeInSeconds = 5,
  309.     icon = Material("icarus/craft/icons/pistol"),
  310.     levelRequirement = 15,
  311.     xpGainedOnCrafting = 70
  312. })
  313.  
  314. pistols:createWeapon({
  315.     uniqueId = "SIGSAUERP229R",
  316.     name = "Sig Sauer P229R",
  317.     entity = "m9k_sig_p229r",
  318.     model = "models/weapons/w_sig_229r.mdl",
  319.     prices = {
  320.         wood = 0,
  321.         adhesive = 90,
  322.         plastic = 25,
  323.         metal = 70
  324.     },
  325.     craftTimeInSeconds = 5,
  326.     icon = Material("icarus/craft/icons/pistol"),
  327.     levelRequirement = 16,
  328.     xpGainedOnCrafting = 70
  329. })
  330.  
  331. pistols:createWeapon({
  332.     uniqueId = "LAPIS",
  333.     name = "AQM Lapis Pistol",
  334.     entity = "sfw_lapis",
  335.     model = "models/weapons/w_pist_deagle.mdl",
  336.     prices = {
  337.         wood = 500,
  338.         adhesive = 700,
  339.         plastic = 500,
  340.         metal = 500
  341.     },
  342.     craftTimeInSeconds = 15,
  343.     icon = Material("icarus/craft/icons/pistol"),
  344.     levelRequirement = 105,
  345.     xpGainedOnCrafting = 250
  346. })
  347.  
  348. pistols:createWeapon({
  349.     uniqueId = "ASTRA",
  350.     name = "C-CA Astra",
  351.     entity = "sfw_astra",
  352.     model = "models/catalyst/spectra_chest.mdl",
  353.     prices = {
  354.         wood = 500,
  355.         adhesive = 700,
  356.         plastic = 500,
  357.         metal = 500
  358.     },
  359.     craftTimeInSeconds = 15,
  360.     icon = Material("icarus/craft/icons/pistol"),
  361.     levelRequirement = 110,
  362.     xpGainedOnCrafting = 250
  363. })
  364.  
  365. pistols:createWeapon({
  366.     uniqueId = "EMBER",
  367.     name = "HS12-CF Ember Pistol",
  368.     entity = "sfw_ember",
  369.     model = "models/weapons/w_smg_tmp.mdl",
  370.     prices = {
  371.         wood = 500,
  372.         adhesive = 700,
  373.         plastic = 500,
  374.         metal = 500
  375.     },
  376.     craftTimeInSeconds = 15,
  377.     icon = Material("icarus/craft/icons/pistol"),
  378.     levelRequirement = 115,
  379.     xpGainedOnCrafting = 250
  380. })
  381.  
  382. local smgs = Icarus.craft.config:createCategory("SMG's")
  383.  
  384. smgs:createWeapon({
  385.     uniqueId = "HL2SMG",
  386.     name = "HL2-Submachine Gun",
  387.     entity = "weapon_smg1",
  388.     model = "models/weapons/w_smg1.mdl",
  389.     prices = {
  390.         wood = 0,
  391.         adhesive = 70,
  392.         plastic = 50,
  393.         metal = 50
  394.     },
  395.     craftTimeInSeconds = 7,
  396.     icon = Material("icarus/craft/icons/smg"),
  397.     levelRequirement = 17,
  398.     xpGainedOnCrafting = 30
  399. })
  400.  
  401. smgs:createWeapon({
  402.     uniqueId = "BIZONPP19",
  403.     name = "Bizon PP19",
  404.     entity = "m9k_bizonp19",
  405.     model = "models/weapons/w_pp19_bizon.mdl",
  406.     prices = {
  407.         wood = 10,
  408.         adhesive = 70,
  409.         plastic = 15,
  410.         metal = 45
  411.     },
  412.     craftTimeInSeconds = 7,
  413.     icon = Material("icarus/craft/icons/smg"),
  414.     levelRequirement = 17,
  415.     xpGainedOnCrafting = 80
  416. })
  417.  
  418. smgs:createWeapon({
  419.     uniqueId = "FNP90",
  420.     name = "FN P90",
  421.     entity = "m9k_smgp90",
  422.     model = "models/weapons/w_fn_p90.mdl",
  423.     prices = {
  424.         wood = 0,
  425.         adhesive = 70,
  426.         plastic = 10,
  427.         metal = 60
  428.     },
  429.     craftTimeInSeconds = 7,
  430.     icon = Material("icarus/craft/icons/smg"),
  431.     levelRequirement = 18,
  432.     xpGainedOnCrafting = 80
  433. })
  434.  
  435. smgs:createWeapon({
  436.     uniqueId = "HKMP5",
  437.     name = "HK MP5",
  438.     entity = "m9k_mp5",
  439.     model = "models/weapons/w_hk_mp5.mdl",
  440.     prices = {
  441.         wood = 0,
  442.         adhesive = 85,
  443.         plastic = 15,
  444.         metal = 70
  445.     },
  446.     craftTimeInSeconds = 7,
  447.     icon = Material("icarus/craft/icons/smg"),
  448.     levelRequirement = 19,
  449.     xpGainedOnCrafting = 80
  450. })
  451.  
  452. smgs:createWeapon({
  453.     uniqueId = "HKUMP45",
  454.     name = "HK UMP45",
  455.     entity = "m9k_ump45",
  456.     model = "models/weapons/w_hk_ump45.mdl",
  457.     prices = {
  458.         wood = 0,
  459.         adhesive = 100,
  460.         plastic = 20,
  461.         metal = 80
  462.     },
  463.     craftTimeInSeconds = 7,
  464.     icon = Material("icarus/craft/icons/smg"),
  465.     levelRequirement = 20,
  466.     xpGainedOnCrafting = 80
  467. })
  468.  
  469. smgs:createWeapon({
  470.     uniqueId = "KRISSVECTOR",
  471.     name = "KRISS Vector",
  472.     entity = "m9k_vector",
  473.     model = "models/weapons/w_kriss_vector.mdl",
  474.     prices = {
  475.         wood = 0,
  476.         adhesive = 130,
  477.         plastic = 40,
  478.         metal = 90
  479.     },
  480.     craftTimeInSeconds = 7,
  481.     icon = Material("icarus/craft/icons/smg"),
  482.     levelRequirement = 21,
  483.     xpGainedOnCrafting = 80
  484. })
  485.  
  486. smgs:createWeapon({
  487.     uniqueId = "MAGPULPDR",
  488.     name = "Magpul PDR",
  489.     entity = "m9k_magpulpdr",
  490.     model = "models/weapons/w_magpul_pdr.mdl",
  491.     prices = {
  492.         wood = 0,
  493.         adhesive = 100,
  494.         plastic = 50,
  495.         metal = 50
  496.     },
  497.     craftTimeInSeconds = 7,
  498.     icon = Material("icarus/craft/icons/smg"),
  499.     levelRequirement = 22,
  500.     xpGainedOnCrafting = 80
  501. })
  502.  
  503. smgs:createWeapon({
  504.     uniqueId = "STEN",
  505.     name = "STEN",
  506.     entity = "m9k_sten",
  507.     model = "models/weapons/w_sten.mdl",
  508.     prices = {
  509.         wood = 0,
  510.         adhesive = 150,
  511.         plastic = 60,
  512.         metal = 90
  513.     },
  514.     craftTimeInSeconds = 7,
  515.     icon = Material("icarus/craft/icons/smg"),
  516.     levelRequirement = 23,
  517.     xpGainedOnCrafting = 80
  518. })
  519.  
  520. smgs:createWeapon({
  521.     uniqueId = "UZI",
  522.     name = "UZI",
  523.     entity = "m9k_uzi",
  524.     model = "models/weapons/w_uzi_imi.mdl",
  525.     prices = {
  526.         wood = 0,
  527.         adhesive = 60,
  528.         plastic = 15,
  529.         metal = 45
  530.     },
  531.     craftTimeInSeconds = 7,
  532.     icon = Material("icarus/craft/icons/smg"),
  533.     levelRequirement = 24,
  534.     xpGainedOnCrafting = 80
  535. })
  536.  
  537. smgs:createWeapon({
  538.     uniqueId = "AACHONEYBADGER",
  539.     name = "AAC Honey Badger",
  540.     entity = "m9k_honeybadger",
  541.     model = "models/weapons/w_aac_honeybadger.mdl",
  542.     prices = {
  543.         wood = 0,
  544.         adhesive = 145,
  545.         plastic = 65,
  546.         metal = 80
  547.     },
  548.     craftTimeInSeconds = 7,
  549.     icon = Material("icarus/craft/icons/smg"),
  550.     levelRequirement = 25,
  551.     xpGainedOnCrafting = 80
  552. })
  553.  
  554. smgs:createWeapon({
  555.     uniqueId = "HKMP7",
  556.     name = "HK MP7",
  557.     entity = "m9k_mp7",
  558.     model = "models/weapons/w_mp7_silenced.mdl",
  559.     prices = {
  560.         wood = 0,
  561.         adhesive = 85,
  562.         plastic = 25,
  563.         metal = 60
  564.     },
  565.     craftTimeInSeconds = 7,
  566.     icon = Material("icarus/craft/icons/smg"),
  567.     levelRequirement = 26,
  568.     xpGainedOnCrafting = 80
  569. })
  570.  
  571. smgs:createWeapon({
  572.     uniqueId = "HKUSC",
  573.     name = "HK USC",
  574.     entity = "m9k_usc",
  575.     model = "models/weapons/w_hk_usc.mdl",
  576.     prices = {
  577.         wood = 0,
  578.         adhesive = 165,
  579.         plastic = 75,
  580.         metal = 90
  581.     },
  582.     craftTimeInSeconds = 7,
  583.     icon = Material("icarus/craft/icons/smg"),
  584.     levelRequirement = 27,
  585.     xpGainedOnCrafting = 80
  586. })
  587.  
  588. smgs:createWeapon({
  589.     uniqueId = "KACPDW",
  590.     name = "KAC PDW",
  591.     entity = "m9k_kac_pdw",
  592.     model = "models/weapons/w_kac_pdw.mdl",
  593.     prices = {
  594.         wood = 0,
  595.         adhesive = 175,
  596.         plastic = 85,
  597.         metal = 90
  598.     },
  599.     craftTimeInSeconds = 7,
  600.     icon = Material("icarus/craft/icons/smg"),
  601.     levelRequirement = 28,
  602.     xpGainedOnCrafting = 80
  603. })
  604.  
  605. smgs:createWeapon({
  606.     uniqueId = "MP40",
  607.     name = "MP40",
  608.     entity = "m9k_mp40",
  609.     model = "models/weapons/w_mp40smg.mdl",
  610.     prices = {
  611.         wood = 0,
  612.         adhesive = 60,
  613.         plastic = 15,
  614.         metal = 45
  615.     },
  616.     craftTimeInSeconds = 7,
  617.     icon = Material("icarus/craft/icons/smg"),
  618.     levelRequirement = 29,
  619.     xpGainedOnCrafting = 80
  620. })
  621.  
  622. smgs:createWeapon({
  623.     uniqueId = "MP5SD",
  624.     name = "MP5SD",
  625.     entity = "m9k_mp5sd",
  626.     model = "models/weapons/w_hk_mp5sd.mdl",
  627.     prices = {
  628.         wood = 0,
  629.         adhesive = 95,
  630.         plastic = 45,
  631.         metal = 50
  632.     },
  633.     craftTimeInSeconds = 7,
  634.     icon = Material("icarus/craft/icons/smg"),
  635.     levelRequirement = 30,
  636.     xpGainedOnCrafting = 80
  637. })
  638.  
  639. smgs:createWeapon({
  640.     uniqueId = "MP9",
  641.     name = "MP9",
  642.     entity = "m9k_mp9",
  643.     model = "models/weapons/w_brugger_thomet_mp9.mdl",
  644.     prices = {
  645.         wood = 0,
  646.         adhesive = 95,
  647.         plastic = 50,
  648.         metal = 45
  649.     },
  650.     craftTimeInSeconds = 7,
  651.     icon = Material("icarus/craft/icons/smg"),
  652.     levelRequirement = 31,
  653.     xpGainedOnCrafting = 80
  654. })
  655.  
  656. smgs:createWeapon({
  657.     uniqueId = "TEC9",
  658.     name = "TEC-9",
  659.     entity = "m9k_tec9",
  660.     model = "models/weapons/w_intratec_tec9.mdl",
  661.     prices = {
  662.         wood = 0,
  663.         adhesive = 45,
  664.         plastic = 10,
  665.         metal = 35
  666.     },
  667.     craftTimeInSeconds = 5,
  668.     icon = Material("icarus/craft/icons/smg"),
  669.     levelRequirement = 32,
  670.     xpGainedOnCrafting = 40
  671. })
  672.  
  673. smgs:createWeapon({
  674.     uniqueId = "TOMMYGUN",
  675.     name = "Tommy Gun",
  676.     entity = "m9k_thompson",
  677.     model = "models/weapons/w_tommy_gun.mdl",
  678.     prices = {
  679.         wood = 30,
  680.         adhesive = 85,
  681.         plastic = 15,
  682.         metal = 40
  683.     },
  684.     craftTimeInSeconds = 7,
  685.     icon = Material("icarus/craft/icons/smg"),
  686.     levelRequirement = 33,
  687.     xpGainedOnCrafting = 80
  688. })
  689.  
  690. smgs:createWeapon({
  691.     uniqueId = "PRISMA",
  692.     name = "C-CE Prisma SMG",
  693.     entity = "sfw_prisma",
  694.     model = "models/catalyst/astra_rail.mdl",
  695.     prices = {
  696.         wood = 500,
  697.         adhesive = 700,
  698.         plastic = 500,
  699.         metal = 500
  700.     },
  701.     craftTimeInSeconds = 15,
  702.     icon = Material("icarus/craft/icons/smg"),
  703.     levelRequirement = 125,
  704.     xpGainedOnCrafting = 250
  705. })
  706.  
  707. smgs:createWeapon({
  708.     uniqueId = "BLIZZARD",
  709.     name = "T3i Blizzard SMG",
  710.     entity = "sfw_blizzard",
  711.     model = "models/catalyst/astra_rail.mdl",
  712.     prices = {
  713.         wood = 500,
  714.         adhesive = 700,
  715.         plastic = 500,
  716.         metal = 500
  717.     },
  718.     craftTimeInSeconds = 15,
  719.     icon = Material("icarus/craft/icons/smg"),
  720.     levelRequirement = 130,
  721.     xpGainedOnCrafting = 250
  722. })
  723.  
  724. -- Create a category and a local variable referecing it (UNIQUE)
  725. -- Please note that no categories can be named "Player", please don't try.
  726. local assaultRifles = Icarus.craft.config:createCategory("Assasult Rifles")
  727.  
  728. assaultRifles:createWeapon({
  729.     -- This must be unique!
  730.     uniqueId = "AR2",
  731.     -- Visual name of the weapon
  732.     name = "AR2",
  733.     -- What weapon class?
  734.     entity = "weapon_ar2",
  735.     -- The model of the weapon
  736.     model = "models/weapons/w_IRifle.mdl",
  737.     -- Prices
  738.     -- You need to write the materials you want to drop, by default all materials are included.
  739.     -- materialType = price
  740.     prices = {
  741.         wood = 0,
  742.         adhesive = 15,
  743.         plastic = 5,
  744.         metal = 10
  745.     },
  746.     -- How many seconds does it take to craft?
  747.     craftTimeInSeconds = 5,
  748.     -- What icon? ONLY .VTF
  749.     icon = Material("icarus/craft/icons/assaultrifle"),
  750.     -- Level required if leveling is turned on
  751.     levelRequirement = 34,
  752.     -- XP for crafting if leveling is turned on-
  753.     xpGainedOnCrafting = 30
  754. })
  755.  
  756. assaultRifles:createWeapon({
  757.     -- This must be unique!
  758.     uniqueId = "73WC",
  759.     -- Visual name of the weapon
  760.     name = "73 Winchester Carbine",
  761.     -- What weapon class?
  762.     entity = "m9k_winchester73",
  763.     -- The model of the weapon
  764.     model = "models/weapons/w_winchester_1873.mdl",
  765.     -- Prices
  766.     -- You need to write the materials you want to drop, by default all materials are included.
  767.     -- materialType = price
  768.     prices = {
  769.         wood = 10,
  770.         adhesive = 10,
  771.         plastic = 2,
  772.         metal = 3
  773.     },
  774.     -- How many seconds does it take to craft?
  775.     craftTimeInSeconds = 7,
  776.     -- What icon? ONLY .VTF
  777.     icon = Material("icarus/craft/icons/assaultrifle"),
  778.     -- Level required if leveling is turned on
  779.     levelRequirement = 34,
  780.     -- XP for crafting if leveling is turned on-
  781.     xpGainedOnCrafting = 50
  782. })
  783.  
  784. assaultRifles:createWeapon({
  785.     -- This must be unique!
  786.     uniqueId = "ACR",
  787.     -- Visual name of the weapon
  788.     name = "ACR",
  789.     -- What weapon class?
  790.     entity = "m9k_acr",
  791.     -- The model of the weapon
  792.     model = "models/weapons/w_masada_acr.mdl",
  793.     -- Prices
  794.     -- You need to write the materials you want to drop, by default all materials are included.
  795.     -- materialType = price
  796.     prices = {
  797.         wood = 0,
  798.         adhesive = 25,
  799.         plastic = 15,
  800.         metal = 15
  801.     },
  802.     -- How many seconds does it take to craft?
  803.     craftTimeInSeconds = 9,
  804.     -- What icon? ONLY .VTF
  805.     icon = Material("icarus/craft/icons/assaultrifle"),
  806.     -- Level required if leveling is turned on
  807.     levelRequirement = 35,
  808.     -- XP for crafting if leveling is turned on-
  809.     xpGainedOnCrafting = 50
  810. })
  811.  
  812. assaultRifles:createWeapon({
  813.     -- This must be unique!
  814.     uniqueId = "AK47",
  815.     -- Visual name of the weapon
  816.     name = "AK-47",
  817.     -- What weapon class?
  818.     entity = "m9k_ak47",
  819.     -- The model of the weapon
  820.     model = "models/weapons/w_ak47_m9k.mdl",
  821.     -- Prices
  822.     -- You need to write the materials you want to drop, by default all materials are included.
  823.     -- materialType = price
  824.     prices = {
  825.         wood = 20,
  826.         adhesive = 25,
  827.         plastic = 10,
  828.         metal = 5
  829.     },
  830.     -- How many seconds does it take to craft?
  831.     craftTimeInSeconds = 7,
  832.     -- What icon? ONLY .VTF
  833.     icon = Material("icarus/craft/icons/assaultrifle"),
  834.     -- Level required if leveling is turned on
  835.     levelRequirement = 36,
  836.     -- XP for crafting if leveling is turned on-
  837.     xpGainedOnCrafting = 50
  838. })
  839.  
  840. assaultRifles:createWeapon({
  841.     -- This must be unique!
  842.     uniqueId = "AK74",
  843.     -- Visual name of the weapon
  844.     name = "AK-74",
  845.     -- What weapon class?
  846.     entity = "m9k_ak74",
  847.     -- The model of the weapon
  848.     model = "models/weapons/w_tct_ak47.mdl",
  849.     -- Prices
  850.     -- You need to write the materials you want to drop, by default all materials are included.
  851.     -- materialType = price
  852.     prices = {
  853.         wood = 20,
  854.         adhesive = 25,
  855.         plastic = 10,
  856.         metal = 5
  857.     },
  858.     -- How many seconds does it take to craft?
  859.     craftTimeInSeconds = 7,
  860.     -- What icon? ONLY .VTF
  861.     icon = Material("icarus/craft/icons/assaultrifle"),
  862.     -- Level required if leveling is turned on
  863.     levelRequirement = 37,
  864.     -- XP for crafting if leveling is turned on-
  865.     xpGainedOnCrafting = 50
  866. })
  867.  
  868. assaultRifles:createWeapon({
  869.     -- This must be unique!
  870.     uniqueId = "AMD65",
  871.     -- Visual name of the weapon
  872.     name = "AMD 65",
  873.     -- What weapon class?
  874.     entity = "m9k_amd65",
  875.     -- The model of the weapon
  876.     model = "models/weapons/w_amd_65.mdl",
  877.     -- Prices
  878.     -- You need to write the materials you want to drop, by default all materials are included.
  879.     -- materialType = price
  880.     prices = {
  881.         wood = 0,
  882.         adhesive = 30,
  883.         plastic = 10,
  884.         metal = 35
  885.     },
  886.     -- How many seconds does it take to craft?
  887.     craftTimeInSeconds = 10,
  888.     -- What icon? ONLY .VTF
  889.     icon = Material("icarus/craft/icons/assaultrifle"),
  890.     -- Level required if leveling is turned on
  891.     levelRequirement = 38,
  892.     -- XP for crafting if leveling is turned on-
  893.     xpGainedOnCrafting = 75
  894. })
  895.  
  896. assaultRifles:createWeapon({
  897.     -- This must be unique!
  898.     uniqueId = "AN94",
  899.     -- Visual name of the weapon
  900.     name = "AN-94",
  901.     -- What weapon class?
  902.     entity = "m9k_an94",
  903.     -- The model of the weapon
  904.     model = "models/weapons/w_rif_an_94.mdl",
  905.     -- Prices
  906.     -- You need to write the materials you want to drop, by default all materials are included.
  907.     -- materialType = price
  908.     prices = {
  909.         wood = 0,
  910.         adhesive = 40,
  911.         plastic = 15,
  912.         metal = 45
  913.     },
  914.     -- How many seconds does it take to craft?
  915.     craftTimeInSeconds = 10,
  916.     -- What icon? ONLY .VTF
  917.     icon = Material("icarus/craft/icons/assaultrifle"),
  918.     -- Level required if leveling is turned on
  919.     levelRequirement = 39,
  920.     -- XP for crafting if leveling is turned on-
  921.     xpGainedOnCrafting = 75
  922. })
  923.  
  924. assaultRifles:createWeapon({
  925.     -- This must be unique!
  926.     uniqueId = "ASVAL",
  927.     -- Visual name of the weapon
  928.     name = "AS VAL",
  929.     -- What weapon class?
  930.     entity = "m9k_val",
  931.     -- The model of the weapon
  932.     model = "models/weapons/w_dmg_vally.mdl",
  933.     -- Prices
  934.     -- You need to write the materials you want to drop, by default all materials are included.
  935.     -- materialType = price
  936.     prices = {
  937.         wood = 0,
  938.         adhesive = 45,
  939.         plastic = 15,
  940.         metal = 50
  941.     },
  942.     -- How many seconds does it take to craft?
  943.     craftTimeInSeconds = 11,
  944.     -- What icon? ONLY .VTF
  945.     icon = Material("icarus/craft/icons/assaultrifle"),
  946.     -- Level required if leveling is turned on
  947.     levelRequirement = 40,
  948.     -- XP for crafting if leveling is turned on-
  949.     xpGainedOnCrafting = 75
  950. })
  951.  
  952. assaultRifles:createWeapon({
  953.     -- This must be unique!
  954.     uniqueId = "FAMAS",
  955.     -- Visual name of the weapon
  956.     name = "FAMAS",
  957.     -- What weapon class?
  958.     entity = "m9k_famas",
  959.     -- The model of the weapon
  960.     model = "models/weapons/w_tct_famas.mdl",
  961.     -- Prices
  962.     -- You need to write the materials you want to drop, by default all materials are included.
  963.     -- materialType = price
  964.     prices = {
  965.         wood = 0,
  966.         adhesive = 50,
  967.         plastic = 10,
  968.         metal = 60
  969.     },
  970.     -- How many seconds does it take to craft?
  971.     craftTimeInSeconds = 12,
  972.     -- What icon? ONLY .VTF
  973.     icon = Material("icarus/craft/icons/assaultrifle"),
  974.     -- Level required if leveling is turned on
  975.     levelRequirement = 41,
  976.     -- XP for crafting if leveling is turned on-
  977.     xpGainedOnCrafting = 75
  978. })
  979.  
  980. assaultRifles:createWeapon({
  981.     -- This must be unique!
  982.     uniqueId = "FNFAL",
  983.     -- Visual name of the weapon
  984.     name = "FN FAL",
  985.     -- What weapon class?
  986.     entity = "m9k_fal",
  987.     -- The model of the weapon
  988.     model = "models/weapons/w_fn_fal.mdl",
  989.     -- Prices
  990.     -- You need to write the materials you want to drop, by default all materials are included.
  991.     -- materialType = price
  992.     prices = {
  993.         wood = 5,
  994.         adhesive = 35,
  995.         plastic = 15,
  996.         metal = 45
  997.     },
  998.     -- How many seconds does it take to craft?
  999.     craftTimeInSeconds = 7,
  1000.     -- What icon? ONLY .VTF
  1001.     icon = Material("icarus/craft/icons/assaultrifle"),
  1002.     -- Level required if leveling is turned on
  1003.     levelRequirement = 42,
  1004.     -- XP for crafting if leveling is turned on-
  1005.     xpGainedOnCrafting = 50
  1006. })
  1007.  
  1008. assaultRifles:createWeapon({
  1009.     -- This must be unique!
  1010.     uniqueId = "FNFAL",
  1011.     -- Visual name of the weapon
  1012.     name = "FN FAL",
  1013.     -- What weapon class?
  1014.     entity = "m9k_fal",
  1015.     -- The model of the weapon
  1016.     model = "models/weapons/w_fn_fal.mdl",
  1017.     -- Prices
  1018.     -- You need to write the materials you want to drop, by default all materials are included.
  1019.     -- materialType = price
  1020.     prices = {
  1021.         wood = 5,
  1022.         adhesive = 35,
  1023.         plastic = 15,
  1024.         metal = 45
  1025.     },
  1026.     -- How many seconds does it take to craft?
  1027.     craftTimeInSeconds = 7,
  1028.     -- What icon? ONLY .VTF
  1029.     icon = Material("icarus/craft/icons/assaultrifle"),
  1030.     -- Level required if leveling is turned on
  1031.     levelRequirement = 43,
  1032.     -- XP for crafting if leveling is turned on-
  1033.     xpGainedOnCrafting = 50
  1034. })
  1035.  
  1036. assaultRifles:createWeapon({
  1037.     -- This must be unique!
  1038.     uniqueId = "G36",
  1039.     -- Visual name of the weapon
  1040.     name = "G36",
  1041.     -- What weapon class?
  1042.     entity = "m9k_g36",
  1043.     -- The model of the weapon
  1044.     model = "models/weapons/w_hk_g36c.mdl",
  1045.     -- Prices
  1046.     -- You need to write the materials you want to drop, by default all materials are included.
  1047.     -- materialType = price
  1048.     prices = {
  1049.         wood = 0,
  1050.         adhesive = 45,
  1051.         plastic = 10,
  1052.         metal = 50
  1053.     },
  1054.     -- How many seconds does it take to craft?
  1055.     craftTimeInSeconds = 7,
  1056.     -- What icon? ONLY .VTF
  1057.     icon = Material("icarus/craft/icons/assaultrifle"),
  1058.     -- Level required if leveling is turned on
  1059.     levelRequirement = 44,
  1060.     -- XP for crafting if leveling is turned on-
  1061.     xpGainedOnCrafting = 50
  1062. })
  1063.  
  1064. assaultRifles:createWeapon({
  1065.     -- This must be unique!
  1066.     uniqueId = "HK416",
  1067.     -- Visual name of the weapon
  1068.     name = "HK 416",
  1069.     -- What weapon class?
  1070.     entity = "m9k_m416",
  1071.     -- The model of the weapon
  1072.     model = "models/weapons/w_hk_416.mdl",
  1073.     -- Prices
  1074.     -- You need to write the materials you want to drop, by default all materials are included.
  1075.     -- materialType = price
  1076.     prices = {
  1077.         wood = 0,
  1078.         adhesive = 65,
  1079.         plastic = 5,
  1080.         metal = 55
  1081.     },
  1082.     -- How many seconds does it take to craft?
  1083.     craftTimeInSeconds = 7,
  1084.     -- What icon? ONLY .VTF
  1085.     icon = Material("icarus/craft/icons/assaultrifle"),
  1086.     -- Level required if leveling is turned on
  1087.     levelRequirement = 45,
  1088.     -- XP for crafting if leveling is turned on-
  1089.     xpGainedOnCrafting = 50
  1090. })
  1091.  
  1092. assaultRifles:createWeapon({
  1093.     -- This must be unique!
  1094.     uniqueId = "HKG3A3",
  1095.     -- Visual name of the weapon
  1096.     name = "HK G3A3",
  1097.     -- What weapon class?
  1098.     entity = "m9k_g3a3",
  1099.     -- The model of the weapon
  1100.     model = "models/weapons/w_hk_g3.mdl",
  1101.     -- Prices
  1102.     -- You need to write the materials you want to drop, by default all materials are included.
  1103.     -- materialType = price
  1104.     prices = {
  1105.         wood = 0,
  1106.         adhesive = 60,
  1107.         plastic = 0,
  1108.         metal = 60
  1109.     },
  1110.     -- How many seconds does it take to craft?
  1111.     craftTimeInSeconds = 7,
  1112.     -- What icon? ONLY .VTF
  1113.     icon = Material("icarus/craft/icons/assaultrifle"),
  1114.     -- Level required if leveling is turned on
  1115.     levelRequirement = 46,
  1116.     -- XP for crafting if leveling is turned on-
  1117.     xpGainedOnCrafting = 50
  1118. })
  1119.  
  1120. assaultRifles:createWeapon({
  1121.     -- This must be unique!
  1122.     uniqueId = "HKG3A3",
  1123.     -- Visual name of the weapon
  1124.     name = "HK G3A3",
  1125.     -- What weapon class?
  1126.     entity = "m9k_g3a3",
  1127.     -- The model of the weapon
  1128.     model = "models/weapons/w_hk_g3.mdl",
  1129.     -- Prices
  1130.     -- You need to write the materials you want to drop, by default all materials are included.
  1131.     -- materialType = price
  1132.     prices = {
  1133.         wood = 0,
  1134.         adhesive = 60,
  1135.         plastic = 0,
  1136.         metal = 60
  1137.     },
  1138.     -- How many seconds does it take to craft?
  1139.     craftTimeInSeconds = 7,
  1140.     -- What icon? ONLY .VTF
  1141.     icon = Material("icarus/craft/icons/assaultrifle"),
  1142.     -- Level required if leveling is turned on
  1143.     levelRequirement = 47,
  1144.     -- XP for crafting if leveling is turned on-
  1145.     xpGainedOnCrafting = 50
  1146. })
  1147.  
  1148. assaultRifles:createWeapon({
  1149.     -- This must be unique!
  1150.     uniqueId = "L85",
  1151.     -- Visual name of the weapon
  1152.     name = "L85",
  1153.     -- What weapon class?
  1154.     entity = "m9k_l85",
  1155.     -- The model of the weapon
  1156.     model = "models/weapons/w_l85a2.mdl",
  1157.     -- Prices
  1158.     -- You need to write the materials you want to drop, by default all materials are included.
  1159.     -- materialType = price
  1160.     prices = {
  1161.         wood = 0,
  1162.         adhesive = 65,
  1163.         plastic = 30,
  1164.         metal = 60
  1165.     },
  1166.     -- How many seconds does it take to craft?
  1167.     craftTimeInSeconds = 9,
  1168.     -- What icon? ONLY .VTF
  1169.     icon = Material("icarus/craft/icons/assaultrifle"),
  1170.     -- Level required if leveling is turned on
  1171.     levelRequirement = 48,
  1172.     -- XP for crafting if leveling is turned on-
  1173.     xpGainedOnCrafting = 70
  1174. })
  1175.  
  1176. assaultRifles:createWeapon({
  1177.     -- This must be unique!
  1178.     uniqueId = "M14",
  1179.     -- Visual name of the weapon
  1180.     name = "M14",
  1181.     -- What weapon class?
  1182.     entity = "m9k_m14sp",
  1183.     -- The model of the weapon
  1184.     model = "models/weapons/w_snip_m14sp.mdl",
  1185.     -- Prices
  1186.     -- You need to write the materials you want to drop, by default all materials are included.
  1187.     -- materialType = price
  1188.     prices = {
  1189.         wood = 0,
  1190.         adhesive = 65,
  1191.         plastic = 10,
  1192.         metal = 60
  1193.     },
  1194.     -- How many seconds does it take to craft?
  1195.     craftTimeInSeconds = 10,
  1196.     -- What icon? ONLY .VTF
  1197.     icon = Material("icarus/craft/icons/assaultrifle"),
  1198.     -- Level required if leveling is turned on
  1199.     levelRequirement = 49,
  1200.     -- XP for crafting if leveling is turned on-
  1201.     xpGainedOnCrafting = 70
  1202. })
  1203.  
  1204. assaultRifles:createWeapon({
  1205.     -- This must be unique!
  1206.     uniqueId = "M16A4ACOG",
  1207.     -- Visual name of the weapon
  1208.     name = "M16A4 ACOG",
  1209.     -- What weapon class?
  1210.     entity = "m9k_m16a4_acog",
  1211.     -- The model of the weapon
  1212.     model = "models/weapons/w_dmg_m16ag.mdl",
  1213.     -- Prices
  1214.     -- You need to write the materials you want to drop, by default all materials are included.
  1215.     -- materialType = price
  1216.     prices = {
  1217.         wood = 0,
  1218.         adhesive = 65,
  1219.         plastic = 30,
  1220.         metal = 60
  1221.     },
  1222.     -- How many seconds does it take to craft?
  1223.     craftTimeInSeconds = 12,
  1224.     -- What icon? ONLY .VTF
  1225.     icon = Material("icarus/craft/icons/assaultrifle"),
  1226.     -- Level required if leveling is turned on
  1227.     levelRequirement = 50,
  1228.     -- XP for crafting if leveling is turned on-
  1229.     xpGainedOnCrafting = 80
  1230. })
  1231.  
  1232. assaultRifles:createWeapon({
  1233.     -- This must be unique!
  1234.     uniqueId = "M4A1IRON",
  1235.     -- Visual name of the weapon
  1236.     name = "M4A1 Iron",
  1237.     -- What weapon class?
  1238.     entity = "m9k_m4a1",
  1239.     -- The model of the weapon
  1240.     model = "models/weapons/w_m4a1_iron.mdl",
  1241.     -- Prices
  1242.     -- You need to write the materials you want to drop, by default all materials are included.
  1243.     -- materialType = price
  1244.     prices = {
  1245.         wood = 0,
  1246.         adhesive = 70,
  1247.         plastic = 35,
  1248.         metal = 65
  1249.     },
  1250.     -- How many seconds does it take to craft?
  1251.     craftTimeInSeconds = 14,
  1252.     -- What icon? ONLY .VTF
  1253.     icon = Material("icarus/craft/icons/assaultrifle"),
  1254.     -- Level required if leveling is turned on
  1255.     levelRequirement = 51,
  1256.     -- XP for crafting if leveling is turned on-
  1257.     xpGainedOnCrafting = 90
  1258. })
  1259.  
  1260. assaultRifles:createWeapon({
  1261.     -- This must be unique!
  1262.     uniqueId = "SCAR",
  1263.     -- Visual name of the weapon
  1264.     name = "SCAR",
  1265.     -- What weapon class?
  1266.     entity = "m9k_scar",
  1267.     -- The model of the weapon
  1268.     model = "models/weapons/w_fn_scar_h.mdl",
  1269.     -- Prices
  1270.     -- You need to write the materials you want to drop, by default all materials are included.
  1271.     -- materialType = price
  1272.     prices = {
  1273.         wood = 0,
  1274.         adhesive = 80,
  1275.         plastic = 50,
  1276.         metal = 40
  1277.     },
  1278.     -- How many seconds does it take to craft?
  1279.     craftTimeInSeconds = 16,
  1280.     -- What icon? ONLY .VTF
  1281.     icon = Material("icarus/craft/icons/assaultrifle"),
  1282.     -- Level required if leveling is turned on
  1283.     levelRequirement = 52,
  1284.     -- XP for crafting if leveling is turned on-
  1285.     xpGainedOnCrafting = 100
  1286. })
  1287.  
  1288. assaultRifles:createWeapon({
  1289.     -- This must be unique!
  1290.     uniqueId = "SR3MVIKHR",
  1291.     -- Visual name of the weapon
  1292.     name = "SR-3M Vikhr",
  1293.     -- What weapon class?
  1294.     entity = "m9k_vikhr",
  1295.     -- The model of the weapon
  1296.     model = "models/weapons/w_dmg_vikhr.mdl",
  1297.     -- Prices
  1298.     -- You need to write the materials you want to drop, by default all materials are included.
  1299.     -- materialType = price
  1300.     prices = {
  1301.         wood = 0,
  1302.         adhesive = 80,
  1303.         plastic = 40,
  1304.         metal = 65
  1305.     },
  1306.     -- How many seconds does it take to craft?
  1307.     craftTimeInSeconds = 10,
  1308.     -- What icon? ONLY .VTF
  1309.     icon = Material("icarus/craft/icons/assaultrifle"),
  1310.     -- Level required if leveling is turned on
  1311.     levelRequirement = 53,
  1312.     -- XP for crafting if leveling is turned on-
  1313.     xpGainedOnCrafting = 85
  1314. })
  1315.  
  1316. assaultRifles:createWeapon({
  1317.     -- This must be unique!
  1318.     uniqueId = "AUGA3",
  1319.     -- Visual name of the weapon
  1320.     name = "Steyr AUG A3",
  1321.     -- What weapon class?
  1322.     entity = "m9k_auga3",
  1323.     -- The model of the weapon
  1324.     model = "models/weapons/w_auga3.mdl",
  1325.     -- Prices
  1326.     -- You need to write the materials you want to drop, by default all materials are included.
  1327.     -- materialType = price
  1328.     prices = {
  1329.         wood = 0,
  1330.         adhesive = 100,
  1331.         plastic = 50,
  1332.         metal = 50
  1333.     },
  1334.     -- How many seconds does it take to craft?
  1335.     craftTimeInSeconds = 10,
  1336.     -- What icon? ONLY .VTF
  1337.     icon = Material("icarus/craft/icons/assaultrifle"),
  1338.     -- Level required if leveling is turned on
  1339.     levelRequirement = 54,
  1340.     -- XP for crafting if leveling is turned on-
  1341.     xpGainedOnCrafting = 90
  1342. })
  1343.  
  1344. assaultRifles:createWeapon({
  1345.     -- This must be unique!
  1346.     uniqueId = "TAR21",
  1347.     -- Visual name of the weapon
  1348.     name = "TAR-21",
  1349.     -- What weapon class?
  1350.     entity = "m9k_tar21",
  1351.     -- The model of the weapon
  1352.     model = "models/weapons/w_imi_tar21.mdl",
  1353.     -- Prices
  1354.     -- You need to write the materials you want to drop, by default all materials are included.
  1355.     -- materialType = price
  1356.     prices = {
  1357.         wood = 0,
  1358.         adhesive = 75,
  1359.         plastic = 25,
  1360.         metal = 65
  1361.     },
  1362.     -- How many seconds does it take to craft?
  1363.     craftTimeInSeconds = 8,
  1364.     -- What icon? ONLY .VTF
  1365.     icon = Material("icarus/craft/icons/assaultrifle"),
  1366.     -- Level required if leveling is turned on
  1367.     levelRequirement = 55,
  1368.     -- XP for crafting if leveling is turned on-
  1369.     xpGainedOnCrafting = 80
  1370. })
  1371.  
  1372. assaultRifles:createWeapon({
  1373.     -- This must be unique!
  1374.     uniqueId = "HORNET",
  1375.     -- Visual name of the weapon
  1376.     name = "Hornet Flechette Rifle",
  1377.     -- What weapon class?
  1378.     entity = "sfw_hornet",
  1379.     -- The model of the weapon
  1380.     model = "models/catalyst/spectra_barrel.mdl",
  1381.     -- Prices
  1382.     -- You need to write the materials you want to drop, by default all materials are included.
  1383.     -- materialType = price
  1384.     prices = {
  1385.         wood = 500,
  1386.         adhesive = 700,
  1387.         plastic = 500,
  1388.         metal = 500
  1389.     },
  1390.     -- How many seconds does it take to craft?
  1391.     craftTimeInSeconds = 15,
  1392.     -- What icon? ONLY .VTF
  1393.     icon = Material("icarus/craft/icons/assaultrifle"),
  1394.     -- Level required if leveling is turned on
  1395.     levelRequirement = 135,
  1396.     -- XP for crafting if leveling is turned on-
  1397.     xpGainedOnCrafting = 250
  1398. })
  1399.  
  1400. assaultRifles:createWeapon({
  1401.     -- This must be unique!
  1402.     uniqueId = "FALLINGSTAR",
  1403.     -- Visual name of the weapon
  1404.     name = "ARX.2 Falling Star Cannon",
  1405.     -- What weapon class?
  1406.     entity = "sfw_fallingstar",
  1407.     -- The model of the weapon
  1408.     model = "models/catalyst/spectra_bone.mdl",
  1409.     -- Prices
  1410.     -- You need to write the materials you want to drop, by default all materials are included.
  1411.     -- materialType = price
  1412.     prices = {
  1413.         wood = 500,
  1414.         adhesive = 700,
  1415.         plastic = 500,
  1416.         metal = 500
  1417.     },
  1418.     -- How many seconds does it take to craft?
  1419.     craftTimeInSeconds = 15,
  1420.     -- What icon? ONLY .VTF
  1421.     icon = Material("icarus/craft/icons/assaultrifle"),
  1422.     -- Level required if leveling is turned on
  1423.     levelRequirement = 140,
  1424.     -- XP for crafting if leveling is turned on-
  1425.     xpGainedOnCrafting = 250
  1426. })
  1427.  
  1428. assaultRifles:createWeapon({
  1429.     -- This must be unique!
  1430.     uniqueId = "HEATWAVE",
  1431.     -- Visual name of the weapon
  1432.     name = "HS24 HeatWave Light Rifle",
  1433.     -- What weapon class?
  1434.     entity = "sfw_hwave",
  1435.     -- The model of the weapon
  1436.     model = "models/catalyst/spectra_barrel.mdl",
  1437.     -- Prices
  1438.     -- You need to write the materials you want to drop, by default all materials are included.
  1439.     -- materialType = price
  1440.     prices = {
  1441.         wood = 500,
  1442.         adhesive = 700,
  1443.         plastic = 500,
  1444.         metal = 500
  1445.     },
  1446.     -- How many seconds does it take to craft?
  1447.     craftTimeInSeconds = 15,
  1448.     -- What icon? ONLY .VTF
  1449.     icon = Material("icarus/craft/icons/assaultrifle"),
  1450.     -- Level required if leveling is turned on
  1451.     levelRequirement = 145,
  1452.     -- XP for crafting if leveling is turned on-
  1453.     xpGainedOnCrafting = 250
  1454. })
  1455.  
  1456. assaultRifles:createWeapon({
  1457.     -- This must be unique!
  1458.     uniqueId = "SAPPHIRE",
  1459.     -- Visual name of the weapon
  1460.     name = "HS24 Sapphire Light Rifle",
  1461.     -- What weapon class?
  1462.     entity = "sfw_saphyre",
  1463.     -- The model of the weapon
  1464.     model = "models/catalyst/spectra_barrel.mdl",
  1465.     -- Prices
  1466.     -- You need to write the materials you want to drop, by default all materials are included.
  1467.     -- materialType = price
  1468.     prices = {
  1469.         wood = 500,
  1470.         adhesive = 700,
  1471.         plastic = 500,
  1472.         metal = 500
  1473.     },
  1474.     -- How many seconds does it take to craft?
  1475.     craftTimeInSeconds = 15,
  1476.     -- What icon? ONLY .VTF
  1477.     icon = Material("icarus/craft/icons/assaultrifle"),
  1478.     -- Level required if leveling is turned on
  1479.     levelRequirement = 150,
  1480.     -- XP for crafting if leveling is turned on-
  1481.     xpGainedOnCrafting = 250
  1482. })
  1483.  
  1484. assaultRifles:createWeapon({
  1485.     -- This must be unique!
  1486.     uniqueId = "DRACO",
  1487.     -- Visual name of the weapon
  1488.     name = "HS46-C Draco Carbine",
  1489.     -- What weapon class?
  1490.     entity = "sfw_draco",
  1491.     -- The model of the weapon
  1492.     model = "models/catalyst/spectra_chest.mdl",
  1493.     -- Prices
  1494.     -- You need to write the materials you want to drop, by default all materials are included.
  1495.     -- materialType = price
  1496.     prices = {
  1497.         wood = 500,
  1498.         adhesive = 700,
  1499.         plastic = 500,
  1500.         metal = 500
  1501.     },
  1502.     -- How many seconds does it take to craft?
  1503.     craftTimeInSeconds = 15,
  1504.     -- What icon? ONLY .VTF
  1505.     icon = Material("icarus/craft/icons/assaultrifle"),
  1506.     -- Level required if leveling is turned on
  1507.     levelRequirement = 155,
  1508.     -- XP for crafting if leveling is turned on-
  1509.     xpGainedOnCrafting = 250
  1510. })
  1511.  
  1512. assaultRifles:createWeapon({
  1513.     -- This must be unique!
  1514.     uniqueId = "AQUAMARINE",
  1515.     -- Visual name of the weapon
  1516.     name = "HS46-VP Aquamarine Carbine",
  1517.     -- What weapon class?
  1518.     entity = "sfw_aquamarine",
  1519.     -- The model of the weapon
  1520.     model = "models/catalyst/spectra_chest.mdl",
  1521.     -- Prices
  1522.     -- You need to write the materials you want to drop, by default all materials are included.
  1523.     -- materialType = price
  1524.     prices = {
  1525.         wood = 500,
  1526.         adhesive = 700,
  1527.         plastic = 500,
  1528.         metal = 500
  1529.     },
  1530.     -- How many seconds does it take to craft?
  1531.     craftTimeInSeconds = 15,
  1532.     -- What icon? ONLY .VTF
  1533.     icon = Material("icarus/craft/icons/assaultrifle"),
  1534.     -- Level required if leveling is turned on
  1535.     levelRequirement = 160,
  1536.     -- XP for crafting if leveling is turned on-
  1537.     xpGainedOnCrafting = 250
  1538. })
  1539.  
  1540. assaultRifles:createWeapon({
  1541.     -- This must be unique!
  1542.     uniqueId = "NEUTRINO",
  1543.     -- Visual name of the weapon
  1544.     name = "MTM Neutrino Cannon",
  1545.     -- What weapon class?
  1546.     entity = "sfw_neutrino",
  1547.     -- The model of the weapon
  1548.     model = "models/catalyst/spectra_bone.mdl",
  1549.     -- Prices
  1550.     -- You need to write the materials you want to drop, by default all materials are included.
  1551.     -- materialType = price
  1552.     prices = {
  1553.         wood = 500,
  1554.         adhesive = 700,
  1555.         plastic = 500,
  1556.         metal = 500
  1557.     },
  1558.     -- How many seconds does it take to craft?
  1559.     craftTimeInSeconds = 15,
  1560.     -- What icon? ONLY .VTF
  1561.     icon = Material("icarus/craft/icons/assaultrifle"),
  1562.     -- Level required if leveling is turned on
  1563.     levelRequirement = 165,
  1564.     -- XP for crafting if leveling is turned on-
  1565.     xpGainedOnCrafting = 250
  1566. })
  1567.  
  1568. assaultRifles:createWeapon({
  1569.     -- This must be unique!
  1570.     uniqueId = "GRINDER",
  1571.     -- Visual name of the weapon
  1572.     name = "RK30-K2 Grinder Rifle",
  1573.     -- What weapon class?
  1574.     entity = "sfw_grinder",
  1575.     -- The model of the weapon
  1576.     model = "models/catalyst/spectra_barrel.mdl",
  1577.     -- Prices
  1578.     -- You need to write the materials you want to drop, by default all materials are included.
  1579.     -- materialType = price
  1580.     prices = {
  1581.         wood = 500,
  1582.         adhesive = 800,
  1583.         plastic = 500,
  1584.         metal = 500
  1585.     },
  1586.     -- How many seconds does it take to craft?
  1587.     craftTimeInSeconds = 30,
  1588.     -- What icon? ONLY .VTF
  1589.     icon = Material("icarus/craft/icons/assaultrifle"),
  1590.     -- Level required if leveling is turned on
  1591.     levelRequirement = 170,
  1592.     -- XP for crafting if leveling is turned on-
  1593.     xpGainedOnCrafting = 500
  1594. })
  1595.  
  1596. local shotguns = Icarus.craft.config:createCategory("Shotguns")
  1597.  
  1598. shotguns:createWeapon({
  1599.     uniqueId = "HL2SHOTGUN",
  1600.     name = "HL2-Shotgun",
  1601.     entity = "weapon_shotgun",
  1602.     model = "models/weapons/w_shotgun.mdl",
  1603.     prices = {
  1604.         wood = 0,
  1605.         adhesive = 90,
  1606.         plastic = 30,
  1607.         metal = 60
  1608.     },
  1609.     craftTimeInSeconds = 9,
  1610.     icon = Material("icarus/craft/icons/shotgun"),
  1611.     levelRequirement = 56,
  1612.     xpGainedOnCrafting = 90
  1613. })
  1614.  
  1615. shotguns:createWeapon({
  1616.     uniqueId = "BENELLIM3",
  1617.     name = "Benelli M3",
  1618.     entity = "m9k_m3",
  1619.     model = "models/weapons/w_benelli_m3.mdl",
  1620.     prices = {
  1621.         wood = 0,
  1622.         adhesive = 110,
  1623.         plastic = 10,
  1624.         metal = 100
  1625.     },
  1626.     craftTimeInSeconds = 9,
  1627.     icon = Material("icarus/craft/icons/shotgun"),
  1628.     levelRequirement = 56,
  1629.     xpGainedOnCrafting = 90
  1630. })
  1631.  
  1632. shotguns:createWeapon({
  1633.     uniqueId = "BROWNINGAUTO5",
  1634.     name = "Browning Auto 5",
  1635.     entity = "m9k_browningauto5",
  1636.     model = "models/weapons/w_browning_auto.mdl",
  1637.     prices = {
  1638.         wood = 20,
  1639.         adhesive = 60,
  1640.         plastic = 10,
  1641.         metal = 30
  1642.     },
  1643.     craftTimeInSeconds = 9,
  1644.     icon = Material("icarus/craft/icons/shotgun"),
  1645.     levelRequirement = 57,
  1646.     xpGainedOnCrafting = 90
  1647. })
  1648.  
  1649. shotguns:createWeapon({
  1650.     uniqueId = "ITHACAM37",
  1651.     name = "Ithaca M37",
  1652.     entity = "m9k_ithacam37",
  1653.     model = "models/weapons/w_ithaca_m37.mdl",
  1654.     prices = {
  1655.         wood = 0,
  1656.         adhesive = 100,
  1657.         plastic = 40,
  1658.         metal = 60
  1659.     },
  1660.     craftTimeInSeconds = 9,
  1661.     icon = Material("icarus/craft/icons/shotgun"),
  1662.     levelRequirement = 58,
  1663.     xpGainedOnCrafting = 90
  1664. })
  1665.  
  1666. shotguns:createWeapon({
  1667.     uniqueId = "MOSSBERG590",
  1668.     name = "Mossberg 590",
  1669.     entity = "m9k_mossberg590",
  1670.     model = "models/weapons/w_mossberg_590.mdl",
  1671.     prices = {
  1672.         wood = 0,
  1673.         adhesive = 110,
  1674.         plastic = 30,
  1675.         metal = 80
  1676.     },
  1677.     craftTimeInSeconds = 9,
  1678.     icon = Material("icarus/craft/icons/shotgun"),
  1679.     levelRequirement = 59,
  1680.     xpGainedOnCrafting = 90
  1681. })
  1682.  
  1683. shotguns:createWeapon({
  1684.     uniqueId = "REMINGTON870",
  1685.     name = "Remington 870",
  1686.     entity = "m9k_remington870",
  1687.     model = "models/weapons/w_remington_870_tact.mdl",
  1688.     prices = {
  1689.         wood = 0,
  1690.         adhesive = 110,
  1691.         plastic = 10,
  1692.         metal = 100
  1693.     },
  1694.     craftTimeInSeconds = 9,
  1695.     icon = Material("icarus/craft/icons/shotgun"),
  1696.     levelRequirement = 60,
  1697.     xpGainedOnCrafting = 90
  1698. })
  1699.  
  1700. shotguns:createWeapon({
  1701.     uniqueId = "SPAS12",
  1702.     name = "SPAS 12",
  1703.     entity = "m9k_spas12",
  1704.     model = "models/weapons/w_spas_12.mdl",
  1705.     prices = {
  1706.         wood = 0,
  1707.         adhesive = 80,
  1708.         plastic = 20,
  1709.         metal = 60
  1710.     },
  1711.     craftTimeInSeconds = 9,
  1712.     icon = Material("icarus/craft/icons/shotgun"),
  1713.     levelRequirement = 61,
  1714.     xpGainedOnCrafting = 90
  1715. })
  1716.  
  1717. shotguns:createWeapon({
  1718.     uniqueId = "WINCHESTER1897",
  1719.     name = "Winchester 1897",
  1720.     entity = "m9k_1897winchester",
  1721.     model = "models/weapons/w_winchester_1897_trench.mdl",
  1722.     prices = {
  1723.         wood = 20,
  1724.         adhesive = 100,
  1725.         plastic = 30,
  1726.         metal = 50
  1727.     },
  1728.     craftTimeInSeconds = 9,
  1729.     icon = Material("icarus/craft/icons/shotgun"),
  1730.     levelRequirement = 62,
  1731.     xpGainedOnCrafting = 90
  1732. })
  1733.  
  1734. shotguns:createWeapon({
  1735.     uniqueId = "WINCHESTER87",
  1736.     name = "Winchester 87",
  1737.     entity = "m9k_1887winchester",
  1738.     model = "models/weapons/w_winchester_1887.mdl",
  1739.     prices = {
  1740.         wood = 20,
  1741.         adhesive = 105,
  1742.         plastic = 15,
  1743.         metal = 70
  1744.     },
  1745.     craftTimeInSeconds = 9,
  1746.     icon = Material("icarus/craft/icons/shotgun"),
  1747.     levelRequirement = 63,
  1748.     xpGainedOnCrafting = 90
  1749. })
  1750.  
  1751. shotguns:createWeapon({
  1752.     uniqueId = "PANCORJACKHAMMER",
  1753.     name = "Pancor Jackhammer",
  1754.     entity = "m9k_jackhammer",
  1755.     model = "models/weapons/w_pancor_jackhammer.mdl",
  1756.     prices = {
  1757.         wood = 0,
  1758.         adhesive = 115,
  1759.         plastic = 15,
  1760.         metal = 100
  1761.     },
  1762.     craftTimeInSeconds = 9,
  1763.     icon = Material("icarus/craft/icons/shotgun"),
  1764.     levelRequirement = 64,
  1765.     xpGainedOnCrafting = 90
  1766. })
  1767.  
  1768. shotguns:createWeapon({
  1769.     uniqueId = "STRIKER12",
  1770.     name = "Striker 12",
  1771.     entity = "m9k_striker12",
  1772.     model = "models/weapons/w_striker_12g.mdl",
  1773.     prices = {
  1774.         wood = 0,
  1775.         adhesive = 160,
  1776.         plastic = 40,
  1777.         metal = 120
  1778.     },
  1779.     craftTimeInSeconds = 9,
  1780.     icon = Material("icarus/craft/icons/shotgun"),
  1781.     levelRequirement = 65,
  1782.     xpGainedOnCrafting = 90
  1783. })
  1784.  
  1785. shotguns:createWeapon({
  1786.     uniqueId = "USAS",
  1787.     name = "USAS",
  1788.     entity = "m9k_usas",
  1789.     model = "models/weapons/w_usas_12.mdl",
  1790.     prices = {
  1791.         wood = 0,
  1792.         adhesive = 140,
  1793.         plastic = 30,
  1794.         metal = 110
  1795.     },
  1796.     craftTimeInSeconds = 9,
  1797.     icon = Material("icarus/craft/icons/shotgun"),
  1798.     levelRequirement = 66,
  1799.     xpGainedOnCrafting = 90
  1800. })
  1801.  
  1802. shotguns:createWeapon({
  1803.     uniqueId = "DOUBLEBARRELSHOTGUN",
  1804.     name = "Double Barrel Shotgun",
  1805.     entity = "m9k_dbarrel",
  1806.     model = "models/weapons/w_double_barrel_shotgun.mdl",
  1807.     prices = {
  1808.         wood = 50,
  1809.         adhesive = 170,
  1810.         plastic = 20,
  1811.         metal = 100
  1812.     },
  1813.     craftTimeInSeconds = 9,
  1814.     icon = Material("icarus/craft/icons/shotgun"),
  1815.     levelRequirement = 67,
  1816.     xpGainedOnCrafting = 90
  1817. })
  1818.  
  1819. shotguns:createWeapon({
  1820.     uniqueId = "STORM",
  1821.     name = "ASR-5 Storm Shotgun",
  1822.     entity = "sfw_storm",
  1823.     model = "models/catalyst/gear/hw_case_01.mdl",
  1824.     prices = {
  1825.         wood = 500,
  1826.         adhesive = 700,
  1827.         plastic = 500,
  1828.         metal = 500
  1829.     },
  1830.     craftTimeInSeconds = 15,
  1831.     icon = Material("icarus/craft/icons/shotgun"),
  1832.     levelRequirement = 175,
  1833.     xpGainedOnCrafting = 300
  1834. })
  1835.  
  1836. shotguns:createWeapon({
  1837.     uniqueId = "SERAPHIM",
  1838.     name = "HS20-40 Seraphim Shotgun",
  1839.     entity = "sfw_seraphim",
  1840.     model = "models/catalyst/gear/hw_case_01.mdl",
  1841.     prices = {
  1842.         wood = 500,
  1843.         adhesive = 700,
  1844.         plastic = 500,
  1845.         metal = 500
  1846.     },
  1847.     craftTimeInSeconds = 15,
  1848.     icon = Material("icarus/craft/icons/shotgun"),
  1849.     levelRequirement = 180,
  1850.     xpGainedOnCrafting = 300
  1851. })
  1852.  
  1853. local sniperRifles = Icarus.craft.config:createCategory("Sniper Rifles")
  1854.  
  1855. sniperRifles:createWeapon({
  1856.     uniqueId = "HL2CROSSBOW",
  1857.     name = "HL2-Crossbow",
  1858.     entity = "weapon_crossbow",
  1859.     model = "models/weapons/w_crossbow.mdl",
  1860.     prices = {
  1861.         wood = 0,
  1862.         adhesive = 200,
  1863.         plastic = 100,
  1864.         metal = 100
  1865.     },
  1866.     craftTimeInSeconds = 8,
  1867.     icon = Material("icarus/craft/icons/sniperrifle"),
  1868.     levelRequirement = 68,
  1869.     xpGainedOnCrafting = 90
  1870. })
  1871.  
  1872. sniperRifles:createWeapon({
  1873.     uniqueId = "AIAW50",
  1874.     name = "AI AW50",
  1875.     entity = "m9k_aw50",
  1876.     model = "models/weapons/w_acc_int_aw50.mdl",
  1877.     prices = {
  1878.         wood = 0,
  1879.         adhesive = 160,
  1880.         plastic = 60,
  1881.         metal = 100
  1882.     },
  1883.     craftTimeInSeconds = 8,
  1884.     icon = Material("icarus/craft/icons/sniperrifle"),
  1885.     levelRequirement = 68,
  1886.     xpGainedOnCrafting = 90
  1887. })
  1888.  
  1889. sniperRifles:createWeapon({
  1890.     uniqueId = "M24",
  1891.     name = "M24",
  1892.     entity = "m9k_m24",
  1893.     model = "models/weapons/w_snip_m24_6.mdl",
  1894.     prices = {
  1895.         wood = 0,
  1896.         adhesive = 180,
  1897.         plastic = 70,
  1898.         metal = 110
  1899.     },
  1900.     craftTimeInSeconds = 8,
  1901.     icon = Material("icarus/craft/icons/sniperrifle"),
  1902.     levelRequirement = 69,
  1903.     xpGainedOnCrafting = 90
  1904. })
  1905.  
  1906. sniperRifles:createWeapon({
  1907.     uniqueId = "PSG1",
  1908.     name = "PSG-1",
  1909.     entity = "m9k_psg1",
  1910.     model = "models/weapons/w_hk_psg1.mdl",
  1911.     prices = {
  1912.         wood = 40,
  1913.         adhesive = 220,
  1914.         plastic = 60,
  1915.         metal = 120
  1916.     },
  1917.     craftTimeInSeconds = 8,
  1918.     icon = Material("icarus/craft/icons/sniperrifle"),
  1919.     levelRequirement = 70,
  1920.     xpGainedOnCrafting = 90
  1921. })
  1922.  
  1923. sniperRifles:createWeapon({
  1924.     uniqueId = "REMINGTON7615P",
  1925.     name = "Remington 7615p",
  1926.     entity = "m9k_remington7615p",
  1927.     model = "models/weapons/w_remington_7615p.mdl",
  1928.     prices = {
  1929.         wood = 0,
  1930.         adhesive = 120,
  1931.         plastic = 30,
  1932.         metal = 90
  1933.     },
  1934.     craftTimeInSeconds = 8,
  1935.     icon = Material("icarus/craft/icons/sniperrifle"),
  1936.     levelRequirement = 71,
  1937.     xpGainedOnCrafting = 90
  1938. })
  1939.  
  1940. sniperRifles:createWeapon({
  1941.     uniqueId = "BARRETM82",
  1942.     name = "Barret M82",
  1943.     entity = "m9k_barret_m82",
  1944.     model = "models/weapons/w_barret_m82.mdl",
  1945.     prices = {
  1946.         wood = 0,
  1947.         adhesive = 150,
  1948.         plastic = 50,
  1949.         metal = 100
  1950.     },
  1951.     craftTimeInSeconds = 8,
  1952.     icon = Material("icarus/craft/icons/sniperrifle"),
  1953.     levelRequirement = 72,
  1954.     xpGainedOnCrafting = 90
  1955. })
  1956.  
  1957. sniperRifles:createWeapon({
  1958.     uniqueId = "BARRETM98B",
  1959.     name = "Barret M98B",
  1960.     entity = "m9k_m98b",
  1961.     model = "models/weapons/w_barrett_m98b.mdl",
  1962.     prices = {
  1963.         wood = 0,
  1964.         adhesive = 160,
  1965.         plastic = 60,
  1966.         metal = 100
  1967.     },
  1968.     craftTimeInSeconds = 8,
  1969.     icon = Material("icarus/craft/icons/sniperrifle"),
  1970.     levelRequirement = 73,
  1971.     xpGainedOnCrafting = 90
  1972. })
  1973.  
  1974. sniperRifles:createWeapon({
  1975.     uniqueId = "DRAGUNOVSVU",
  1976.     name = "Dragunov SVU",
  1977.     entity = "m9k_svu",
  1978.     model = "models/weapons/w_dragunov_svu.mdl",
  1979.     prices = {
  1980.         wood = 0,
  1981.         adhesive = 110,
  1982.         plastic = 30,
  1983.         metal = 80
  1984.     },
  1985.     craftTimeInSeconds = 8,
  1986.     icon = Material("icarus/craft/icons/sniperrifle"),
  1987.     levelRequirement = 74,
  1988.     xpGainedOnCrafting = 90
  1989. })
  1990.  
  1991. sniperRifles:createWeapon({
  1992.     uniqueId = "HKSL8",
  1993.     name = "HK-SL8",
  1994.     entity = "m9k_sl8",
  1995.     model = "models/weapons/w_hk_sl8.mdl",
  1996.     prices = {
  1997.         wood = 0,
  1998.         adhesive = 115,
  1999.         plastic = 30,
  2000.         metal = 85
  2001.     },
  2002.     craftTimeInSeconds = 8,
  2003.     icon = Material("icarus/craft/icons/sniperrifle"),
  2004.     levelRequirement = 75,
  2005.     xpGainedOnCrafting = 90
  2006. })
  2007.  
  2008. sniperRifles:createWeapon({
  2009.     uniqueId = "INTERVENTION",
  2010.     name = "Intervention",
  2011.     entity = "m9k_intervention",
  2012.     model = "models/weapons/w_snip_int.mdl",
  2013.     prices = {
  2014.         wood = 0,
  2015.         adhesive = 180,
  2016.         plastic = 60,
  2017.         metal = 120
  2018.     },
  2019.     craftTimeInSeconds = 8,
  2020.     icon = Material("icarus/craft/icons/sniperrifle"),
  2021.     levelRequirement = 76,
  2022.     xpGainedOnCrafting = 90
  2023. })
  2024.  
  2025. sniperRifles:createWeapon({
  2026.     uniqueId = "SVDDRAGUNOV",
  2027.     name = "SVD Dragunov",
  2028.     entity = "m9k_dragunov",
  2029.     model = "models/weapons/w_svd_dragunov.mdl",
  2030.     prices = {
  2031.         wood = 40,
  2032.         adhesive = 180,
  2033.         plastic = 50,
  2034.         metal = 90
  2035.     },
  2036.     craftTimeInSeconds = 8,
  2037.     icon = Material("icarus/craft/icons/sniperrifle"),
  2038.     levelRequirement = 77,
  2039.     xpGainedOnCrafting = 90
  2040. })
  2041.  
  2042. sniperRifles:createWeapon({
  2043.     uniqueId = "SVT40",
  2044.     name = "SVT 40",
  2045.     entity = "m9k_svt40",
  2046.     model = "models/weapons/w_svt_40.mdl",
  2047.     prices = {
  2048.         wood = 90,
  2049.         adhesive = 180,
  2050.         plastic = 40,
  2051.         metal = 50
  2052.     },
  2053.     craftTimeInSeconds = 8,
  2054.     icon = Material("icarus/craft/icons/sniperrifle"),
  2055.     levelRequirement = 78,
  2056.     xpGainedOnCrafting = 90
  2057. })
  2058.  
  2059. sniperRifles:createWeapon({
  2060.     uniqueId = "THOMPSONCONTENDERG2",
  2061.     name = "Thompson Contender G2",
  2062.     entity = "m9k_contender",
  2063.     model = "models/weapons/w_g2_contender.mdl",
  2064.     prices = {
  2065.         wood = 0,
  2066.         adhesive = 140,
  2067.         plastic = 60,
  2068.         metal = 80
  2069.     },
  2070.     craftTimeInSeconds = 8,
  2071.     icon = Material("icarus/craft/icons/sniperrifle"),
  2072.     levelRequirement = 79,
  2073.     xpGainedOnCrafting = 90
  2074. })
  2075.  
  2076. sniperRifles:createWeapon({
  2077.     uniqueId = "PULSAR",
  2078.     name = "ALX-V1 Pulsar Sniper",
  2079.     entity = "sfw_pulsar",
  2080.     model = "models/weapons/w_snip_awp.mdl",
  2081.     prices = {
  2082.         wood = 500,
  2083.         adhesive = 700,
  2084.         plastic = 500,
  2085.         metal = 500
  2086.     },
  2087.     craftTimeInSeconds = 15,
  2088.     icon = Material("icarus/craft/icons/sniperrifle"),
  2089.     levelRequirement = 185,
  2090.     xpGainedOnCrafting = 300
  2091. })
  2092.  
  2093. sniperRifles:createWeapon({
  2094.     uniqueId = "PHOENIX",
  2095.     name = "HS107 Phoenix Sniper",
  2096.     entity = "sfw_phoenix",
  2097.     model = "models/weapons/w_snip_awp.mdl",
  2098.     prices = {
  2099.         wood = 500,
  2100.         adhesive = 700,
  2101.         plastic = 500,
  2102.         metal = 500
  2103.     },
  2104.     craftTimeInSeconds = 15,
  2105.     icon = Material("icarus/craft/icons/sniperrifle"),
  2106.     levelRequirement = 190,
  2107.     xpGainedOnCrafting = 300
  2108. })
  2109.  
  2110. sniperRifles:createWeapon({
  2111.     uniqueId = "JOTUNN",
  2112.     name = "T3i Jotunn Bow",
  2113.     entity = "sfw_jotunn",
  2114.     model = "models/weapons/c_models/c_bow/c_bow_xmas.mdl",
  2115.     prices = {
  2116.         wood = 500,
  2117.         adhesive = 700,
  2118.         plastic = 500,
  2119.         metal = 500
  2120.     },
  2121.     craftTimeInSeconds = 15,
  2122.     icon = Material("icarus/craft/icons/sniperrifle"),
  2123.     levelRequirement = 195,
  2124.     xpGainedOnCrafting = 300
  2125. })
  2126.  
  2127. local machineGuns = Icarus.craft.config:createCategory("Machine Guns")
  2128.  
  2129. machineGuns:createWeapon({
  2130.     uniqueId = "ARESSHRIKE",
  2131.     name = "Ares Shrike",
  2132.     entity = "m9k_ares_shrike",
  2133.     model = "models/weapons/w_ares_shrike.mdl",
  2134.     prices = {
  2135.         wood = 0,
  2136.         adhesive = 250,
  2137.         plastic = 100,
  2138.         metal = 150
  2139.     },
  2140.     craftTimeInSeconds = 12,
  2141.     icon = Material("icarus/craft/icons/machinegun"),
  2142.     levelRequirement = 80,
  2143.     xpGainedOnCrafting = 110
  2144. })
  2145.  
  2146. machineGuns:createWeapon({
  2147.     uniqueId = "FG42",
  2148.     name = "FG 42",
  2149.     entity = "m9k_fg42",
  2150.     model = "models/weapons/w_fg42.mdl",
  2151.     prices = {
  2152.         wood = 50,
  2153.         adhesive = 255,
  2154.         plastic = 90,
  2155.         metal = 115
  2156.     },
  2157.     craftTimeInSeconds = 12,
  2158.     icon = Material("icarus/craft/icons/machinegun"),
  2159.     levelRequirement = 81,
  2160.     xpGainedOnCrafting = 110
  2161. })
  2162.  
  2163. machineGuns:createWeapon({
  2164.     uniqueId = "M1918BAR",
  2165.     name = "M1918 BAR",
  2166.     entity = "m9k_m1918bar",
  2167.     model = "models/weapons/w_m1918_bar.mdl",
  2168.     prices = {
  2169.         wood = 60,
  2170.         adhesive = 210,
  2171.         plastic = 60,
  2172.         metal = 90
  2173.     },
  2174.     craftTimeInSeconds = 12,
  2175.     icon = Material("icarus/craft/icons/machinegun"),
  2176.     levelRequirement = 82,
  2177.     xpGainedOnCrafting = 110
  2178. })
  2179.  
  2180. machineGuns:createWeapon({
  2181.     uniqueId = "M249LMG",
  2182.     name = "M249 LMG",
  2183.     entity = "m9k_m2491mg",
  2184.     model = "models/weapons/w_m249_machine_gun.mdl",
  2185.     prices = {
  2186.         wood = 0,
  2187.         adhesive = 280,
  2188.         plastic = 80,
  2189.         metal = 200
  2190.     },
  2191.     craftTimeInSeconds = 12,
  2192.     icon = Material("icarus/craft/icons/machinegun"),
  2193.     levelRequirement = 83,
  2194.     xpGainedOnCrafting = 110
  2195. })
  2196.  
  2197. machineGuns:createWeapon({
  2198.     uniqueId = "M60MACHINEGUN",
  2199.     name = "M60 Machine Gun",
  2200.     entity = "m9k_m60",
  2201.     model = "models/weapons/w_m60_machine_gun.mdl",
  2202.     prices = {
  2203.         wood = 0,
  2204.         adhesive = 230,
  2205.         plastic = 70,
  2206.         metal = 160
  2207.     },
  2208.     craftTimeInSeconds = 12,
  2209.     icon = Material("icarus/craft/icons/machinegun"),
  2210.     levelRequirement = 84,
  2211.     xpGainedOnCrafting = 110
  2212. })
  2213.  
  2214. machineGuns:createWeapon({
  2215.     uniqueId = "PKM",
  2216.     name = "PKM",
  2217.     entity = "m9k_pkm",
  2218.     model = "models/weapons/w_mach_russ_pkm.mdl",
  2219.     prices = {
  2220.         wood = 65,
  2221.         adhesive = 205,
  2222.         plastic = 50,
  2223.         metal = 90
  2224.     },
  2225.     craftTimeInSeconds = 12,
  2226.     icon = Material("icarus/craft/icons/machinegun"),
  2227.     levelRequirement = 85,
  2228.     xpGainedOnCrafting = 110
  2229. })
  2230.  
  2231. machineGuns:createWeapon({
  2232.     uniqueId = "M134MINIGUN",
  2233.     name = "M134 Minigun",
  2234.     entity = "m9k_minigun",
  2235.     model = "models/weapons/w_m134_minigun.mdl",
  2236.     prices = {
  2237.         wood = 0,
  2238.         adhesive = 310,
  2239.         plastic = 60,
  2240.         metal = 250
  2241.     },
  2242.     craftTimeInSeconds = 12,
  2243.     icon = Material("icarus/craft/icons/machinegun"),
  2244.     levelRequirement = 86,
  2245.     xpGainedOnCrafting = 110
  2246. })
  2247.  
  2248. machineGuns:createWeapon({
  2249.     uniqueId = "BEHEMOTH",
  2250.     name = "RK800 Behemoth Chain-Gun",
  2251.     entity = "sfw_behemoth",
  2252.     model = "models/weapons/w_physics.mdl",
  2253.     prices = {
  2254.         wood = 600,
  2255.         adhesive = 900,
  2256.         plastic = 600,
  2257.         metal = 600
  2258.     },
  2259.     craftTimeInSeconds = 18,
  2260.     icon = Material("icarus/craft/icons/machinegun"),
  2261.     levelRequirement = 200,
  2262.     xpGainedOnCrafting = 300
  2263. })
  2264.  
  2265. machineGuns:createWeapon({
  2266.     uniqueId = "THUNDERBOLT",
  2267.     name = "T3i AC23 Thunderbolt ARC Emitter",
  2268.     entity = "sfw_thunderbolt",
  2269.     model = "models/weapons/w_smg1.mdl",
  2270.     prices = {
  2271.         wood = 600,
  2272.         adhesive = 900,
  2273.         plastic = 600,
  2274.         metal = 600
  2275.     },
  2276.     craftTimeInSeconds = 18,
  2277.     icon = Material("icarus/craft/icons/machinegun"),
  2278.     levelRequirement = 205,
  2279.     xpGainedOnCrafting = 300
  2280. })
  2281.  
  2282. local explosives = Icarus.craft.config:createCategory("Explosive Weapons")
  2283.  
  2284. explosives:createWeapon({
  2285.     uniqueId = "HL2FRAGGRENADE",
  2286.     name = "HL2-Frag Grenade",
  2287.     entity = "weapon_frag",
  2288.     model = "models/weapons/w_grenade.mdl",
  2289.     prices = {
  2290.         wood = 0,
  2291.         adhesive = 130,
  2292.         plastic = 50,
  2293.         metal = 80
  2294.     },
  2295.     craftTimeInSeconds = 15,
  2296.     icon = Material("icarus/craft/icons/explosive"),
  2297.     levelRequirement = 87,
  2298.     xpGainedOnCrafting = 125
  2299. })
  2300.  
  2301. explosives:createWeapon({
  2302.     uniqueId = "HL2RPGLAUNCHER",
  2303.     name = "HL2-RPG-Launcher",
  2304.     entity = "weapon_rpg",
  2305.     model = "models/weapons/w_rocket_launcher.mdl",
  2306.     prices = {
  2307.         wood = 70,
  2308.         adhesive = 320,
  2309.         plastic = 100,
  2310.         metal = 150
  2311.     },
  2312.     craftTimeInSeconds = 15,
  2313.     icon = Material("icarus/craft/icons/explosive"),
  2314.     levelRequirement = 87,
  2315.     xpGainedOnCrafting = 125
  2316. })
  2317.  
  2318. explosives:createWeapon({
  2319.     uniqueId = "HL2SLAM",
  2320.     name = "HL2-SLAM",
  2321.     entity = "weapon_slam",
  2322.     model = "models/weapons/w_slam.mdl",
  2323.     prices = {
  2324.         wood = 0,
  2325.         adhesive = 200,
  2326.         plastic = 100,
  2327.         metal = 100
  2328.     },
  2329.     craftTimeInSeconds = 15,
  2330.     icon = Material("icarus/craft/icons/explosive"),
  2331.     levelRequirement = 87,
  2332.     xpGainedOnCrafting = 125
  2333. })
  2334.  
  2335. explosives:createWeapon({
  2336.     uniqueId = "EX41GLAUNCHER",
  2337.     name = "EX41 Grenade Launcher",
  2338.     entity = "m9k_ex41",
  2339.     model = "models/weapons/w_ex41.mdl",
  2340.     prices = {
  2341.         wood = 50,
  2342.         adhesive = 175,
  2343.         plastic = 45,
  2344.         metal = 80
  2345.     },
  2346.     craftTimeInSeconds = 15,
  2347.     icon = Material("icarus/craft/icons/explosive"),
  2348.     levelRequirement = 87,
  2349.     xpGainedOnCrafting = 125
  2350. })
  2351.  
  2352. explosives:createWeapon({
  2353.     uniqueId = "M79GLAUNCHER",
  2354.     name = "M79 Grenade Launcher",
  2355.     entity = "m9k_m79g1",
  2356.     model = "models/weapons/w_m79_grenadelauncher.mdl",
  2357.     prices = {
  2358.         wood = 65,
  2359.         adhesive = 170,
  2360.         plastic = 35,
  2361.         metal = 70
  2362.     },
  2363.     craftTimeInSeconds = 15,
  2364.     icon = Material("icarus/craft/icons/explosive"),
  2365.     levelRequirement = 88,
  2366.     xpGainedOnCrafting = 125
  2367. })
  2368.  
  2369. explosives:createWeapon({
  2370.     uniqueId = "MILKORGLAUNCHER",
  2371.     name = "Milkor Mk1 Grenade Launcher",
  2372.     entity = "m9k_milkormg1",
  2373.     model = "models/weapons/w_milkor_mgl1.mdl",
  2374.     prices = {
  2375.         wood = 0,
  2376.         adhesive = 230,
  2377.         plastic = 80,
  2378.         metal = 150
  2379.     },
  2380.     craftTimeInSeconds = 15,
  2381.     icon = Material("icarus/craft/icons/explosive"),
  2382.     levelRequirement = 89,
  2383.     xpGainedOnCrafting = 125
  2384. })
  2385.  
  2386. explosives:createWeapon({
  2387.     uniqueId = "FRAGGRENADE",
  2388.     name = "Frag Grenade",
  2389.     entity = "m9k_m61_frag",
  2390.     model = "models/weapons/w_m61_fraggynade.mdl",
  2391.     prices = {
  2392.         wood = 0,
  2393.         adhesive = 130,
  2394.         plastic = 30,
  2395.         metal = 100
  2396.     },
  2397.     craftTimeInSeconds = 15,
  2398.     icon = Material("icarus/craft/icons/explosive"),
  2399.     levelRequirement = 90,
  2400.     xpGainedOnCrafting = 125
  2401. })
  2402.  
  2403. explosives:createWeapon({
  2404.     uniqueId = "STICKYFRAGGRENADE",
  2405.     name = "Sticky Frag Grenade",
  2406.     entity = "m9k_sticky_grenade",
  2407.     model = "models/weapons/w_sticky_grenade.mdl",
  2408.     prices = {
  2409.         wood = 0,
  2410.         adhesive = 180,
  2411.         plastic = 80,
  2412.         metal = 100
  2413.     },
  2414.     craftTimeInSeconds = 15,
  2415.     icon = Material("icarus/craft/icons/explosive"),
  2416.     levelRequirement = 91,
  2417.     xpGainedOnCrafting = 125
  2418. })
  2419.  
  2420. explosives:createWeapon({
  2421.     uniqueId = "NERVEGASGRENADE",
  2422.     name = "Nerve Gas Grenade",
  2423.     entity = "m9k_nerve_gas",
  2424.     model = "models/healthvial.mdl",
  2425.     prices = {
  2426.         wood = 0,
  2427.         adhesive = 300,
  2428.         plastic = 150,
  2429.         metal = 150
  2430.     },
  2431.     craftTimeInSeconds = 15,
  2432.     icon = Material("icarus/craft/icons/explosive"),
  2433.     levelRequirement = 92,
  2434.     xpGainedOnCrafting = 125
  2435. })
  2436.  
  2437. explosives:createWeapon({
  2438.     uniqueId = "IEDDETONATOR",
  2439.     name = "IED Detonator",
  2440.     entity = "m9k_ied_detonator",
  2441.     model = "models/weapons/w_camphon2.mdl",
  2442.     prices = {
  2443.         wood = 0,
  2444.         adhesive = 200,
  2445.         plastic = 100,
  2446.         metal = 100
  2447.     },
  2448.     craftTimeInSeconds = 15,
  2449.     icon = Material("icarus/craft/icons/explosive"),
  2450.     levelRequirement = 93,
  2451.     xpGainedOnCrafting = 125
  2452. })
  2453.  
  2454. explosives:createWeapon({
  2455.     uniqueId = "NITROGLYCERIN",
  2456.     name = "Nitroglycerin",
  2457.     entity = "m9k_nitro",
  2458.     model = "models/weapons/w_nitro.mdl",
  2459.     prices = {
  2460.         wood = 0,
  2461.         adhesive = 200,
  2462.         plastic = 200,
  2463.         metal = 0
  2464.     },
  2465.     craftTimeInSeconds = 15,
  2466.     icon = Material("icarus/craft/icons/explosive"),
  2467.     levelRequirement = 94,
  2468.     xpGainedOnCrafting = 125
  2469. })
  2470.  
  2471. explosives:createWeapon({
  2472.     uniqueId = "TIMEDC4",
  2473.     name = "Timed C4",
  2474.     entity = "m9k_suicide_bomb",
  2475.     model = "models/weapons/w_sb.mdl",
  2476.     prices = {
  2477.         wood = 80,
  2478.         adhesive = 280,
  2479.         plastic = 100,
  2480.         metal = 100
  2481.     },
  2482.     craftTimeInSeconds = 15,
  2483.     icon = Material("icarus/craft/icons/explosive"),
  2484.     levelRequirement = 95,
  2485.     xpGainedOnCrafting = 125
  2486. })
  2487.  
  2488. explosives:createWeapon({
  2489.     uniqueId = "MATADORRLAUNCHER",
  2490.     name = "Matador Rocket Launcher",
  2491.     entity = "m9k_matador",
  2492.     model = "models/weapons/w_gdcw_matador_rl.mdl",
  2493.     prices = {
  2494.         wood = 0,
  2495.         adhesive = 200,
  2496.         plastic = 80,
  2497.         metal = 120
  2498.     },
  2499.     craftTimeInSeconds = 15,
  2500.     icon = Material("icarus/craft/icons/explosive"),
  2501.     levelRequirement = 96,
  2502.     xpGainedOnCrafting = 125
  2503. })
  2504.  
  2505. explosives:createWeapon({
  2506.     uniqueId = "RPG7",
  2507.     name = "RPG-7",
  2508.     entity = "m9k_rpg7",
  2509.     model = "models/weapons/w_gdc_rpg7.mdl",
  2510.     prices = {
  2511.         wood = 90,
  2512.         adhesive = 240,
  2513.         plastic = 35,
  2514.         metal = 115
  2515.     },
  2516.     craftTimeInSeconds = 15,
  2517.     icon = Material("icarus/craft/icons/explosive"),
  2518.     levelRequirement = 97,
  2519.     xpGainedOnCrafting = 125
  2520. })
  2521.  
  2522. explosives:createWeapon({
  2523.     uniqueId = "M202QUADRL",
  2524.     name = "M202 Quad-RL",
  2525.     entity = "m9k_m202",
  2526.     model = "models/weapons/w_m202.mdl",
  2527.     prices = {
  2528.         wood = 0,
  2529.         adhesive = 400,
  2530.         plastic = 200,
  2531.         metal = 200
  2532.     },
  2533.     craftTimeInSeconds = 15,
  2534.     icon = Material("icarus/craft/icons/explosive"),
  2535.     levelRequirement = 98,
  2536.     xpGainedOnCrafting = 125
  2537. })
  2538.  
  2539. explosives:createWeapon({
  2540.     uniqueId = "METEOR",
  2541.     name = "VK220 Meteor Launcher",
  2542.     entity = "sfw_meteor",
  2543.     model = "models/weapons/w_rocket_launcher.mdl",
  2544.     prices = {
  2545.         wood = 600,
  2546.         adhesive = 900,
  2547.         plastic = 600,
  2548.         metal = 600
  2549.     },
  2550.     craftTimeInSeconds = 18,
  2551.     icon = Material("icarus/craft/icons/explosive"),
  2552.     levelRequirement = 210,
  2553.     xpGainedOnCrafting = 300
  2554. })
  2555.  
  2556. explosives:createWeapon({
  2557.     uniqueId = "SUPRA",
  2558.     name = "C-CK Supra",
  2559.     entity = "sfw_supra",
  2560.     model = "models/catalyst/astra_rail.mdl",
  2561.     prices = {
  2562.         wood = 600,
  2563.         adhesive = 900,
  2564.         plastic = 600,
  2565.         metal = 600
  2566.     },
  2567.     craftTimeInSeconds = 18,
  2568.     icon = Material("icarus/craft/icons/explosive"),
  2569.     levelRequirement = 215,
  2570.     xpGainedOnCrafting = 300
  2571. })
  2572.  
  2573. explosives:createWeapon({
  2574.     uniqueId = "VECTRA",
  2575.     name = "C-CS Vectra",
  2576.     entity = "sfw_vectra",
  2577.     model = "models/catalyst/spectra_bone.mdl",
  2578.     prices = {
  2579.         wood = 600,
  2580.         adhesive = 900,
  2581.         plastic = 600,
  2582.         metal = 600
  2583.     },
  2584.     craftTimeInSeconds = 18,
  2585.     icon = Material("icarus/craft/icons/explosive"),
  2586.     levelRequirement = 220,
  2587.     xpGainedOnCrafting = 300
  2588. })
  2589.  
  2590. explosives:createWeapon({
  2591.     uniqueId = "PYRE",
  2592.     name = "HS200-X Pyre Grenade Launcher",
  2593.     entity = "sfw_pyre",
  2594.     model = "models/catalyst/gear/hw_case_01.mdl",
  2595.     prices = {
  2596.         wood = 600,
  2597.         adhesive = 900,
  2598.         plastic = 600,
  2599.         metal = 600
  2600.     },
  2601.     craftTimeInSeconds = 18,
  2602.     icon = Material("icarus/craft/icons/explosive"),
  2603.     levelRequirement = 225,
  2604.     xpGainedOnCrafting = 300
  2605. })
  2606.  
  2607. explosives:createWeapon({
  2608.     uniqueId = "PANDEMIC",
  2609.     name = "HS24-K1 Pandemic",
  2610.     entity = "sfw_pandemic",
  2611.     model = "models/catalyst/gear/hw_case_01.mdl",
  2612.     prices = {
  2613.         wood = 600,
  2614.         adhesive = 900,
  2615.         plastic = 600,
  2616.         metal = 600
  2617.     },
  2618.     craftTimeInSeconds = 18,
  2619.     icon = Material("icarus/craft/icons/explosive"),
  2620.     levelRequirement = 230,
  2621.     xpGainedOnCrafting = 300
  2622. })
  2623.  
  2624. explosives:createWeapon({
  2625.     uniqueId = "UMBRA",
  2626.     name = "I-DC Umbra",
  2627.     entity = "sfw_umbra",
  2628.     model = "models/catalyst/astra_rail.mdl",
  2629.     prices = {
  2630.         wood = 600,
  2631.         adhesive = 900,
  2632.         plastic = 600,
  2633.         metal = 600
  2634.     },
  2635.     craftTimeInSeconds = 18,
  2636.     icon = Material("icarus/craft/icons/explosive"),
  2637.     levelRequirement = 235,
  2638.     xpGainedOnCrafting = 300
  2639. })
  2640.  
  2641. explosives:createWeapon({
  2642.     uniqueId = "CRYON",
  2643.     name = "T3i Cryon Ice Grenade",
  2644.     entity = "sfw_cryon",
  2645.     model = "models/catalyst/items/biocontainer.mdl",
  2646.     prices = {
  2647.         wood = 600,
  2648.         adhesive = 900,
  2649.         plastic = 600,
  2650.         metal = 600
  2651.     },
  2652.     craftTimeInSeconds = 18,
  2653.     icon = Material("icarus/craft/icons/explosive"),
  2654.     levelRequirement = 240,
  2655.     xpGainedOnCrafting = 300
  2656. })
  2657.  
  2658. explosives:createWeapon({
  2659.     uniqueId = "FATHOM",
  2660.     name = "TCTG M3 Fathom Grenade",
  2661.     entity = "sfw_fathom",
  2662.     model = "models/catalyst/items/biocontainer.mdl",
  2663.     prices = {
  2664.         wood = 600,
  2665.         adhesive = 900,
  2666.         plastic = 600,
  2667.         metal = 600
  2668.     },
  2669.     craftTimeInSeconds = 18,
  2670.     icon = Material("icarus/craft/icons/explosive"),
  2671.     levelRequirement = 245,
  2672.     xpGainedOnCrafting = 300
  2673. })
  2674.  
  2675. local meleeWeapons = Icarus.craft.config:createCategory("Melee Weapons")
  2676.  
  2677. meleeWeapons:createWeapon({
  2678.     uniqueId = "HL2STUNSTICK",
  2679.     name = "Hl2-Stun Stick",
  2680.     entity = "weapon_stunstick",
  2681.     model = "models/weapons/w_stunbaton.mdl",
  2682.     prices = {
  2683.         wood = 0,
  2684.         adhesive = 150,
  2685.         plastic = 60,
  2686.         metal = 90
  2687.     },
  2688.     craftTimeInSeconds = 18,
  2689.     icon = Material("icarus/craft/icons/melee"),
  2690.     levelRequirement = 99,
  2691.     xpGainedOnCrafting = 75
  2692. })
  2693.  
  2694. meleeWeapons:createWeapon({
  2695.     uniqueId = "DAMASCUSSWORD",
  2696.     name = "Damascus Sword",
  2697.     entity = "m9k_damascus",
  2698.     model = "models/weapons/w_damascus_sword.mdl",
  2699.     prices = {
  2700.         wood = 0,
  2701.         adhesive = 0,
  2702.         plastic = 0,
  2703.         metal = 0
  2704.     },
  2705.     craftTimeInSeconds = 18,
  2706.     icon = Material("icarus/craft/icons/melee"),
  2707.     levelRequirement = 99,
  2708.     xpGainedOnCrafting = 75
  2709. })
  2710.  
  2711. meleeWeapons:createWeapon({
  2712.     uniqueId = "HARPOON",
  2713.     name = "Harpoon",
  2714.     entity = "m9k_harpoon",
  2715.     model = "models/weapons/w_harpooner.mdl",
  2716.     prices = {
  2717.         wood = 0,
  2718.         adhesive = 350,
  2719.         plastic = 150,
  2720.         metal = 200
  2721.     },
  2722.     craftTimeInSeconds = 18,
  2723.     icon = Material("icarus/craft/icons/melee"),
  2724.     levelRequirement = 100,
  2725.     xpGainedOnCrafting = 75
  2726. })
  2727.  
  2728. meleeWeapons:createWeapon({
  2729.     uniqueId = "KNIFE",
  2730.     name = "Knife",
  2731.     entity = "m9k_knife",
  2732.     model = "models/weapons/w_extreme_ratio.mdl",
  2733.     prices = {
  2734.         wood = 0,
  2735.         adhesive = 120,
  2736.         plastic = 30,
  2737.         metal = 90
  2738.     },
  2739.     craftTimeInSeconds = 18,
  2740.     icon = Material("icarus/craft/icons/melee"),
  2741.     levelRequirement = 101,
  2742.     xpGainedOnCrafting = 75
  2743. })
  2744.  
  2745. meleeWeapons:createWeapon({
  2746.     uniqueId = "MACHETE",
  2747.     name = "Machete",
  2748.     entity = "m9k_machete",
  2749.     model = "models/weapons/w_machete.mdl",
  2750.     prices = {
  2751.         wood = 60,
  2752.         adhesive = 150,
  2753.         plastic = 0,
  2754.         metal = 90
  2755.     },
  2756.     craftTimeInSeconds = 18,
  2757.     icon = Material("icarus/craft/icons/melee"),
  2758.     levelRequirement = 102,
  2759.     xpGainedOnCrafting = 75
  2760. })
  2761.  
  2762. meleeWeapons:createWeapon({
  2763.     uniqueId = "FENRIS",
  2764.     name = "Fenris Energy Blade",
  2765.     entity = "sfw_eblade",
  2766.     model = "models/catalyst/spectra_bone.mdl",
  2767.     prices = {
  2768.         wood = 600,
  2769.         adhesive = 900,
  2770.         plastic = 600,
  2771.         metal = 600
  2772.     },
  2773.     craftTimeInSeconds = 20,
  2774.     icon = Material("icarus/craft/icons/melee"),
  2775.     levelRequirement = 250,
  2776.     xpGainedOnCrafting = 350
  2777. })
  2778.  
  2779. meleeWeapons:createWeapon({
  2780.     uniqueId = "PHASMA",
  2781.     name = "C-AE Phasma",
  2782.     entity = "sfw_phasma",
  2783.     model = "models/catalyst/spectra_barrel.mdl",
  2784.     prices = {
  2785.         wood = 600,
  2786.         adhesive = 900,
  2787.         plastic = 600,
  2788.         metal = 600
  2789.     },
  2790.     craftTimeInSeconds = 20,
  2791.     icon = Material("icarus/craft/icons/melee"),
  2792.     levelRequirement = 255,
  2793.     xpGainedOnCrafting = 350
  2794. })
  2795.  
  2796. local specialItems = Icarus.craft.config:createCategory("Special Items")
  2797.  
  2798. specialItems:setSettings({
  2799.     jobs = {
  2800.         ["Black Market Dealer"] = true,
  2801.         ["Dank 420"] = true,
  2802.         ["Snoop Dogg"] = true,
  2803.         ["Bloods Gang Member"] = true,
  2804.         ["Bloods Leader"] = true,
  2805.         ["Crips Gang Member"] = true,
  2806.         ["Crips Leader"] = true,
  2807.         ["Gangster"] = true,
  2808.         ["Mob-Boss Right-Hand Man"] = true,
  2809.         ["Mob-Boss"] = true,
  2810.         ["Thief"] = true,
  2811.         ["Pro Thief (Donator)"] = true,
  2812.         ["Ninja (Super Donator)"] = true,
  2813.         ["Deadly Thief (Super Donator)"] = true,
  2814.         ["Hitman"] = true,
  2815.         ["Zombie Hitman (Donator)"] = true,
  2816.         ["Agent47 (Super Donator)"] = true,
  2817.         ["Assassin (Super Donator)"] = true,
  2818.         ["Kidnapper (Regular)"] = true,
  2819.         ["Deadpool (Custom)"] = true
  2820.     }
  2821. })
  2822.  
  2823. specialItems:createWeapon({
  2824.     uniqueId = "LOCKPICK",
  2825.     name = "Lock Pick",
  2826.     entity = "lockpick",
  2827.     model = "models/weapons/w_crowbar.mdl",
  2828.     prices = {
  2829.         wood = 0,
  2830.         adhesive = 90,
  2831.         plastic = 0,
  2832.         metal = 90
  2833.     },
  2834.     craftTimeInSeconds = 10,
  2835.     icon = Material("icarus/craft/icons/special"),
  2836.     levelRequirement = 10,
  2837.     xpGainedOnCrafting = 30
  2838. })
  2839.  
  2840. specialItems:createWeapon({
  2841.     uniqueId = "PROLOCKPICK",
  2842.     name = "Pro Lock Pick",
  2843.     entity = "pro_lockpick",
  2844.     model = "models/weapons/w_crowbar.mdl",
  2845.     prices = {
  2846.         wood = 0,
  2847.         adhesive = 180,
  2848.         plastic = 0,
  2849.         metal = 180
  2850.     },
  2851.     craftTimeInSeconds = 10,
  2852.     icon = Material("icarus/craft/icons/special"),
  2853.     levelRequirement = 11,
  2854.     xpGainedOnCrafting = 30
  2855. })
  2856.  
  2857. specialItems:createWeapon({
  2858.     uniqueId = "UNARRESTBATON",
  2859.     name = "Unarrest Baton",
  2860.     entity = "unarrest_stick",
  2861.     model = "models/dpfilms/metropolice/props/hd_stunbaton.mdl",
  2862.     prices = {
  2863.         wood = 0,
  2864.         adhesive = 150,
  2865.         plastic = 50,
  2866.         metal = 100
  2867.     },
  2868.     craftTimeInSeconds = 10,
  2869.     icon = Material("icarus/craft/icons/special"),
  2870.     levelRequirement = 12,
  2871.     xpGainedOnCrafting = 30
  2872. })
  2873.  
  2874. specialItems:createWeapon({
  2875.     uniqueId = "KEYPADCRACKER",
  2876.     name = "Keypad Cracker",
  2877.     entity = "keypad_cracker",
  2878.     model = "models/weapons/w_c4.mdl",
  2879.     prices = {
  2880.         wood = 100,
  2881.         adhesive = 300,
  2882.         plastic = 100,
  2883.         metal = 100
  2884.     },
  2885.     craftTimeInSeconds = 10,
  2886.     icon = Material("icarus/craft/icons/special"),
  2887.     levelRequirement = 13,
  2888.     xpGainedOnCrafting = 30
  2889. })
  2890.  
  2891. specialItems:createWeapon({
  2892.     uniqueId = "PROKEYPADCRACKER",
  2893.     name = "Pro Keypad Cracker",
  2894.     entity = "prokeypadcracker",
  2895.     model = "models/weapons/w_c4.mdl",
  2896.     prices = {
  2897.         wood = 150,
  2898.         adhesive = 450,
  2899.         plastic = 150,
  2900.         metal = 150
  2901.     },
  2902.     craftTimeInSeconds = 10,
  2903.     icon = Material("icarus/craft/icons/special"),
  2904.     levelRequirement = 14,
  2905.     xpGainedOnCrafting = 30
  2906. })
  2907.  
  2908. specialItems:createWeapon({
  2909.     uniqueId = "DEPLOYABLEKEYPADCRACKER",
  2910.     name = "Deployable Keypad Cracker",
  2911.     entity = "weapon_sh_keypadcracker_deploy",
  2912.     model = "models/weapons/w_c4.mdl",
  2913.     prices = {
  2914.         wood = 200,
  2915.         adhesive = 600,
  2916.         plastic = 200,
  2917.         metal = 200
  2918.     },
  2919.     craftTimeInSeconds = 10,
  2920.     icon = Material("icarus/craft/icons/special"),
  2921.     levelRequirement = 15,
  2922.     xpGainedOnCrafting = 30
  2923. })
  2924.  
  2925. specialItems:createWeapon({
  2926.     uniqueId = "TACTICALINSERTION",
  2927.     name = "Tactical Insertion",
  2928.     entity = "seal6-tac-insert",
  2929.     model = "models/hoff/weapons/tac_insert/w_tac_insert.mdl",
  2930.     prices = {
  2931.         wood = 50,
  2932.         adhesive = 230,
  2933.         plastic = 80,
  2934.         metal = 100
  2935.     },
  2936.     craftTimeInSeconds = 10,
  2937.     icon = Material("icarus/craft/icons/special"),
  2938.     levelRequirement = 16,
  2939.     xpGainedOnCrafting = 30
  2940. })
  2941. -- Shall boxes with materials spawn around the map? (REQUIRES RESTART TO TAKE EFFECT)
  2942. Icarus.craft.materials.enabled = true
  2943. -- After how long time should the material boxes despawn (to avoid server lag)
  2944. Icarus.craft.materials.despawnTime = 300
  2945. -- Please remember to have commas after!
  2946. Icarus.craft.materials.box = {
  2947.   -- Spawn related
  2948.   spawnTime = {
  2949.     -- How many seconds should it take for a box to spawn (if random set to false)
  2950.     seconds = false,
  2951.     -- Should it be random how many seconds it takes? (true/false)
  2952.     random = true,
  2953.     -- If random how many seconds is the minimum
  2954.     minSeconds = 50,
  2955.     -- If random how many seconds is the maximum
  2956.     maxSeconds = 70
  2957.   },
  2958.   -- Amount of materials in each box
  2959.   materials = {
  2960.     -- How many total materials should be in a box if (if random set to false)
  2961.     amount = false,
  2962.     -- Should it be random how many materials are in a box? (true/false)
  2963.     random = true,
  2964.     -- If random how many materials is the minimum
  2965.     min = 5,
  2966.     -- If random how many materials is the maximum
  2967.     max = 30
  2968.   }
  2969. }
Advertisement
Add Comment
Please, Sign In to add comment