From 27d82244e24c25e7b272d5b8bed34ce36907780a Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 27 May 2016 21:42:48 -0400 Subject: More additions to structures and crafting --- gamemode/structuresystem/structures/stonefurnace.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gamemode/structuresystem/structures') diff --git a/gamemode/structuresystem/structures/stonefurnace.lua b/gamemode/structuresystem/structures/stonefurnace.lua index 029b242..03ae99e 100644 --- a/gamemode/structuresystem/structures/stonefurnace.lua +++ b/gamemode/structuresystem/structures/stonefurnace.lua @@ -24,6 +24,9 @@ local timefunc = function(ply, num) print("Time was: " .. time) return time end +local checkfunc = function(ply) + return true +end local genericRecipe = { ["Name"] = "Copper", @@ -31,6 +34,8 @@ local genericRecipe = { ["Requirements"] = {["Copper Ore"] = 1}, ["Results"] = {["Copper"] = 1}, ["Ratio"] = {1,1}, + ["Image"] = "test.png", + ["CanCraft"] = checkfunc, ["Time"] = timefunc, ["Mults"] = {1,5,10,20,50} } -- cgit v1.2.3-70-g09d2