diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-27 21:42:48 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-27 21:42:48 -0400 |
| commit | 27d82244e24c25e7b272d5b8bed34ce36907780a (patch) | |
| tree | 01de0ea4ef4d11f32806d30eeb69e232db8192c2 /gamemode/structuresystem/structures | |
| parent | 427b41c5683d9c913bd7b66d540d8a882a33ebf6 (diff) | |
| download | gmstranded-27d82244e24c25e7b272d5b8bed34ce36907780a.tar.gz gmstranded-27d82244e24c25e7b272d5b8bed34ce36907780a.tar.bz2 gmstranded-27d82244e24c25e7b272d5b8bed34ce36907780a.zip | |
More additions to structures and crafting
Diffstat (limited to 'gamemode/structuresystem/structures')
| -rw-r--r-- | gamemode/structuresystem/structures/stonefurnace.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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} } |
