diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-25 22:40:09 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-25 22:40:09 -0400 |
| commit | f797cbe348dd52b51da4cd4812cfa291d1434095 (patch) | |
| tree | df4fabacfc6819a981d750c510122f5bbda8083c /gamemode/structuresystem/structures/stonefurnace.lua | |
| parent | a5932d386488030b6005c829fe343f74daed9893 (diff) | |
| parent | fd04cb695e1c0e6597456f2b1b7b076310fd81bf (diff) | |
| download | gmstranded-f797cbe348dd52b51da4cd4812cfa291d1434095.tar.gz gmstranded-f797cbe348dd52b51da4cd4812cfa291d1434095.tar.bz2 gmstranded-f797cbe348dd52b51da4cd4812cfa291d1434095.zip | |
Merge branch 'structsystem'hotfix
Diffstat (limited to 'gamemode/structuresystem/structures/stonefurnace.lua')
| -rw-r--r-- | gamemode/structuresystem/structures/stonefurnace.lua | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gamemode/structuresystem/structures/stonefurnace.lua b/gamemode/structuresystem/structures/stonefurnace.lua new file mode 100644 index 0000000..84c0311 --- /dev/null +++ b/gamemode/structuresystem/structures/stonefurnace.lua @@ -0,0 +1,31 @@ +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 + +STRUCT.uniquedata = false + +STRUCT.onUse = function(self, ply) + print("I am the old use function!") +end + +STRUCT.Recipes = {} + +STRUCT.timemult = 0.5 +STRUCT.skillease = 0.25 + +genericMakeFurnace(STRUCT) +recipieForSmelt(STRUCT.Recipes,"Copper", "Smelt copper ore into copper", "Copper Ore", "Copper", {1,1}, {1,5,10}) + +print("stone furnace's recipies:") +PrintTable(STRUCT.Recipes) + +registerStructure(STRUCT) |
