summaryrefslogtreecommitdiff
path: root/gamemode/structuresystem/structures/stonefurnace.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-27 20:24:40 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-27 20:24:40 -0400
commit427b41c5683d9c913bd7b66d540d8a882a33ebf6 (patch)
tree8c91e778b2ad6385964573964674fb3aa97a9594 /gamemode/structuresystem/structures/stonefurnace.lua
parent9ea65b0c6a2b53766e5aa66cb6d86644a70da21f (diff)
downloadgmstranded-427b41c5683d9c913bd7b66d540d8a882a33ebf6.tar.gz
gmstranded-427b41c5683d9c913bd7b66d540d8a882a33ebf6.tar.bz2
gmstranded-427b41c5683d9c913bd7b66d540d8a882a33ebf6.zip
Refactored where the structure code was
Diffstat (limited to 'gamemode/structuresystem/structures/stonefurnace.lua')
-rw-r--r--gamemode/structuresystem/structures/stonefurnace.lua9
1 files changed, 3 insertions, 6 deletions
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)