Craft
Crafting system
By SchwarzKruppzo
Modules
cwCraft plugin
Entry point of the Craft plugin, which lets players craft items from blueprints at crafting stations.
cw.blueprints class
Defines the
cw.blueprints library of the Craft plugin, which creates, registers and looks up the blueprints players craft at crafting stations.Base Blueprint object
Items
Box of Bolts item
Defines the Box of Bolts item (
box_of_bolts) of the Craft plugin, a crafting material used by several of the weapon blueprints.Box of Screws item
Defines the Box of Screws item (
box_of_screws) of the Craft plugin, a crafting material used by every weapon blueprint.Broken 357 Magnum item
Defines the Broken 357 Magnum item (
broken_357) of the Craft plugin, a broken revolver in the Materials category that no blueprint uses yet.Broken AK-74 item
Defines the Broken AK-74 item (
broken_ak74) of the Craft plugin, a crafting material that the blueprint_ak74 blueprint rebuilds into the sxbase_ak74 weapon.Broken HK-21 item
Defines the Broken HK-21 item (
broken_hk21) of the Craft plugin, a crafting material that the blueprint_hk21 blueprint rebuilds into the sxbase_hmg weapon.Broken LAR item
Defines the Broken LAR item (
broken_lar) of the Craft plugin, a crafting material that the blueprint_lar blueprint rebuilds into the sxbase_lar weapon.Broken M1911 item
Defines the Broken M1911 item (
broken_m1911) of the Craft plugin, a crafting material that the blueprint_m1911 blueprint rebuilds into the sxbase_m1911 weapon.Broken M40A1 item
Defines the Broken M40A1 item (
broken_m40a1) of the Craft plugin, a crafting material that the blueprint_m40a1 blueprint rebuilds into the sxbase_m40a1 weapon.Broken M4A1 item
Defines the Broken M4A1 item (
broken_m4a1) of the Craft plugin, a crafting material that the blueprint_m4a1 blueprint rebuilds into the sxbase_m4a1 weapon.Broken M9 item
Defines the Broken M9 item (
broken_m9) of the Craft plugin, a crafting material that the blueprint_m9 blueprint rebuilds into the sxbase_m9 weapon.Broken MP5K item
Defines the Broken MP5K item (
broken_mp5k) of the Craft plugin, a crafting material that the blueprint_mp5k blueprint rebuilds into the sxbase_mp5k weapon.Broken MP7 item
Defines the Broken MP7 item (
broken_mp7) of the Craft plugin, a crafting material that the blueprint_mp7 blueprint rebuilds into the sxbase_mp7 weapon.Broken MP7A1 item
Defines the Broken MP7A1 item (
broken_smg1) of the Craft plugin, a broken submachine gun in the Materials category that no blueprint uses yet.Broken PP19 item
Defines the Broken PP19 item (
broken_pp19) of the Craft plugin, a crafting material that the blueprint_pp19 blueprint rebuilds into the sxbase_pp19 weapon.Broken Shotgun item
Defines the Broken Shotgun item (
broken_shotgun) of the Craft plugin, a crafting material that the blueprint_shotgun blueprint rebuilds into the sxbase_spas12 weapon.Broken USP Match item
Defines the Broken USP Match item (
broken_uspmatch) of the Craft plugin, a crafting material that the blueprint_uspmatch blueprint rebuilds into the sxbase_uspmatch weapon.Bullet Casings item
Defines the Bullet Casings item (
bullet_casings) of the Craft plugin, a crafting material used by the ammunition blueprints.Cables item
Defines the Cables item (
cables) of the Craft plugin, a crafting material used by the backpack, bag, breaching charge and zip tie blueprints.Car Battery item
Defines the Car Battery item (
car_battery) of the Craft plugin, an item in the Materials category that no blueprint uses yet.Charcoal item
Defines the Charcoal item (
charcoal) of the Craft plugin, a crafting material made from wooden_parts at the furnace and used by the metal smelting and gunpowder blueprints, which is not sold in the business menu and whose dropped entity gets a tree bark material.Cloth item
Defines the Cloth item (
cloth) of the Craft plugin, a crafting material made by the blueprint_cloth blueprint and used by the clothing, bag, backpack and bandage blueprints.Energy Cell item
Defines the Energy Cell item (
energy_cell) of the Craft plugin, a crafting material used by the handheld radio, flashlight, breaching charge and pulse rifle ammunition blueprints.Gunpowder item
Defines the Gunpowder item (
gunpowder) of the Craft plugin, a crafting material made from selitra, sulphur and charcoal and used by the ammunition and breaching charge blueprints.Newspaper item
Defines the Newspaper item (
newspaper) of the Craft plugin, an item in the Materials category that no blueprint uses yet.Plastic item
Defines the Plastic item (
plastic) of the Craft plugin, a crafting material recycled from empty tin cans and plastic bottles and used by medical, radio, gas mask and some weapon blueprints.Reclaimed Metal item
Defines the Reclaimed Metal item (
reclaimed_metal) of the Craft plugin, a crafting material smelted from scrap_metal and used by the weapon blueprints and to make refined_metal.Refined Electronics item
Defines the Refined Electronics item (
refined_electronics) of the Craft plugin, a crafting material made from scrap_electronics and used by the handheld radio, health kit, breaching charge and welding tool blueprints.Refined Metal item
Defines the Refined Metal item (
refined_metal) of the Craft plugin, a crafting material smelted from reclaimed_metal and used by the ammunition, tool and a few clothing blueprints.Rock item
Defines the Rock item (
rock) of the Craft plugin, a heavy item in the Materials category that no blueprint uses yet.Scrap Electronics item
Defines the Scrap Electronics item (
scrap_electronics) of the Craft plugin, a crafting material used by the flashlight blueprint and to make refined_electronics.Scrap Metal item
Defines the Scrap Metal item (
scrap_metal) of the Craft plugin, a crafting material smelted from empty cans and used to make reclaimed_metal and buckshot.Screw Driver item
Defines the Screw Driver item (
screw_driver) of the Craft plugin, a tool that the weapon blueprints and some others require but do not use up.Selitra item
Defines the Selitra item (
selitra) of the Craft plugin, saltpeter, a crafting material used to make gunpowder.Sulphur item
Defines the Sulphur item (
sulphur) of the Craft plugin, a crafting material used to make gunpowder.Welding tool item
Defines the Welding tool item (
weld) of the Craft plugin, a tool, filed under Materials, that most weapon blueprints require but do not use up.Wooden Board item
Defines the Wooden Board item (
wooden_board) of the Craft plugin, an item in the Materials category that is not sold in the business menu and that no blueprint uses yet.Wooden Parts item
Defines the Wooden Parts item (
wooden_parts) of the Craft plugin, a crafting material that is not sold in the business menu and is used to make charcoal and by the blueprint_ak74 blueprint.Wrench item
Defines the Wrench item (
wrench) of the Craft plugin, a tool that most weapon blueprints require but do not use up.Entities
cw_crafttable entity
Panels
cwCraft (craftmenu) panel
Defines the
cwCraft panel of the Craft plugin, the menu a crafting station opens to browse and craft its blueprints.