Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local BLUEPRINT = Clockwork.crafting:New();
- BLUEPRINT.category = "Ammo Blueprint";
- BLUEPRINT.description = "A blueprint for testing crafting";
- BLUEPRINT.model = "models/Items/BoxMRounds.mdl";
- BLUEPRINT.name = "SMG Bullets Blueprint";
- BLUEPRINT.itemRequirements = {
- ["Bullet Casings"] = 2,
- ["Refined Metal"] = 2,
- ["Gunpowder"] = 2
- --"beer"
- --{1, "beer"}
- --{"beer", 1}
- --["beer"] = 1 -- RECOMMENDED WAY
- };
- BLUEPRINT.takeItems = {
- ["Bullet Casings"] = 2,
- ["Refined Metal"] = 2,
- ["Gunpowder"] = 2
- };
- BLUEPRINT.giveItems = {
- ["SMG Bullets"] = 1
- --"beer"
- --{1, "beer"}
- --{"beer", 1}
- --["beer"] = 1 -- RECOMMENDED WAY
- };
- -- Called just before crafting.
- function BLUEPRINT:OnCraft(player)
- end;
- -- Called just after crafting.
- function BLUEPRINT:PostCraft(player)
- end;
- -- Called when crafting is unsuccessful.
- function BLUEPRINT:FailedCraft(player)
- end;
- BLUEPRINT:Register();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement