diff options
| -rw-r--r-- | gamemode/craftablesystem/furnaces/copperfurnace.lua | 6 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/iron.lua | 10 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/sulpher.lua | 10 |
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) |
