summaryrefslogtreecommitdiff
path: root/gamemode
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-05-01 11:32:16 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-05-01 11:32:16 -0400
commit96d392e6edb6f9502713dfc79996f600c9c63f75 (patch)
tree57a3c565a1418dba87c36ac71eeed17c68f5272d /gamemode
parent8947791ae22821974a02d34eeca73eca43cde9bd (diff)
downloadgmstranded-96d392e6edb6f9502713dfc79996f600c9c63f75.tar.gz
gmstranded-96d392e6edb6f9502713dfc79996f600c9c63f75.tar.bz2
gmstranded-96d392e6edb6f9502713dfc79996f600c9c63f75.zip
Fixed production from copper furnace, added sulpher and iron resources
Diffstat (limited to 'gamemode')
-rw-r--r--gamemode/craftablesystem/furnaces/copperfurnace.lua6
-rw-r--r--gamemode/itemsystem/items/iron.lua10
-rw-r--r--gamemode/itemsystem/items/sulpher.lua10
3 files changed, 23 insertions, 3 deletions
diff --git a/gamemode/craftablesystem/furnaces/copperfurnace.lua b/gamemode/craftablesystem/furnaces/copperfurnace.lua
index 2d8c066..e11d2d7 100644
--- a/gamemode/craftablesystem/furnaces/copperfurnace.lua
+++ b/gamemode/craftablesystem/furnaces/copperfurnace.lua
@@ -21,7 +21,7 @@ COMBI.Description = "Iron can be used to create more advanced buildings and tool
COMBI.Entity = "gms_copperfurnace"
COMBI.Req = {}
-COMBI.Req["Iron_Ore"] = 1
+COMBI.Req["Iron Ore"] = 1
COMBI.Results = {}
COMBI.Results["Iron"] = 1
@@ -37,7 +37,7 @@ for v,k in pairs(SmeltMultiples) do
COMBI.Entity = "gms_copperfurnace"
COMBI.Req = {}
- COMBI.Req["Iron_Ore"] = k
+ COMBI.Req["Iron Ore"] = k
COMBI.Results = {}
COMBI.Results["Iron"] = k
@@ -53,7 +53,7 @@ COMBI.Description = "Iron can be used to create more advanced buildings and tool
COMBI.Entity = "gms_copperfurnace"
COMBI.Req = {}
-COMBI.Req["Iron_Ore"] = 1
+COMBI.Req["Iron Ore"] = 1
COMBI.Results = {}
COMBI.Results["Iron"] = 1
diff --git a/gamemode/itemsystem/items/iron.lua b/gamemode/itemsystem/items/iron.lua
new file mode 100644
index 0000000..0cf2e5d
--- /dev/null
+++ b/gamemode/itemsystem/items/iron.lua
@@ -0,0 +1,10 @@
+ITEM = {}
+
+ITEM.Name = "Iron"
+ITEM.Description = "Something you can craft with!"
+ITEM.Icon = "test.png"
+ITEM.UniqueData = false
+
+genericMakeDroppable(ITEM)
+
+GMS.RegisterResource(ITEM)
diff --git a/gamemode/itemsystem/items/sulpher.lua b/gamemode/itemsystem/items/sulpher.lua
new file mode 100644
index 0000000..f4fcc63
--- /dev/null
+++ b/gamemode/itemsystem/items/sulpher.lua
@@ -0,0 +1,10 @@
+ITEM = {}
+
+ITEM.Name = "Sulpher"
+ITEM.Description = "Watch out, it's explosive!"
+ITEM.Icon = "test.png"
+ITEM.UniqueData = false
+
+genericMakeDroppable(ITEM)
+
+GMS.RegisterResource(ITEM)