From 427b41c5683d9c913bd7b66d540d8a882a33ebf6 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 27 May 2016 20:24:40 -0400 Subject: Refactored where the structure code was --- gamemode/structuresystem/structures/stonefurnace.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'gamemode/structuresystem/structures/stonefurnace.lua') diff --git a/gamemode/structuresystem/structures/stonefurnace.lua b/gamemode/structuresystem/structures/stonefurnace.lua index 5914ed2..029b242 100644 --- a/gamemode/structuresystem/structures/stonefurnace.lua +++ b/gamemode/structuresystem/structures/stonefurnace.lua @@ -3,10 +3,6 @@ local STRUCT = {} STRUCT.Name = "Stone Furnace" STRUCT.Model = "models/props/de_inferno/ClayOven.mdl" -STRUCT.Structure = { - {"models/props/de_inferno/ClayOven.mdl",Vector(0,0,0),Angle(0,0,0)} -} - STRUCT.onInitialize = function(self) print("Initalize called!") end @@ -35,10 +31,11 @@ local genericRecipe = { ["Requirements"] = {["Copper Ore"] = 1}, ["Results"] = {["Copper"] = 1}, ["Ratio"] = {1,1}, - ["Time"] = timefunc + ["Time"] = timefunc, + ["Mults"] = {1,5,10,20,50} } genericGiveRecipie(STRUCT,genericRecipe) -genericMakeFurnace(STRUCT) +genericMakeCrafting(STRUCT) registerStructure(STRUCT) -- cgit v1.2.3-70-g09d2