From 4c19fc52eaceb3c00886cb915bd3d72bbd0965e8 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 1 May 2016 11:49:50 -0400 Subject: Fixed recipies for steel furnace, added mahogany and steel resources --- gamemode/craftablesystem/furnaces/steelfurnace.lua | 6 +++--- gamemode/itemsystem/items/mahogany.lua | 10 ++++++++++ gamemode/itemsystem/items/steel.lua | 10 ++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 gamemode/itemsystem/items/mahogany.lua create mode 100644 gamemode/itemsystem/items/steel.lua (limited to 'gamemode') diff --git a/gamemode/craftablesystem/furnaces/steelfurnace.lua b/gamemode/craftablesystem/furnaces/steelfurnace.lua index d4680a9..55c1b26 100644 --- a/gamemode/craftablesystem/furnaces/steelfurnace.lua +++ b/gamemode/craftablesystem/furnaces/steelfurnace.lua @@ -22,7 +22,7 @@ COMBI.Description = "Platinum can be used to create more advanced buildings and COMBI.Entity = "gms_steelfurnace" COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 1 +COMBI.Req["Platinum Ore"] = 1 COMBI.Results = {} COMBI.Results["Platinum"] = 1 @@ -38,7 +38,7 @@ for k,v in pairs(PlatinumMultiples) do COMBI.Entity = "gms_steelfurnace" COMBI.Req = {} - COMBI.Req["Platinum_Ore"] = v + COMBI.Req["Platinum Ore"] = v COMBI.Results = {} COMBI.Results["Platinum"] = v @@ -54,7 +54,7 @@ COMBI.Description = "Platinum can be used to create more advanced buildings and COMBI.Entity = "gms_steelfurnace" COMBI.Req = {} -COMBI.Req["Platinum_Ore"] = 1 +COMBI.Req["Platinum Ore"] = 1 COMBI.Results = {} COMBI.Results["Platinum"] = 1 diff --git a/gamemode/itemsystem/items/mahogany.lua b/gamemode/itemsystem/items/mahogany.lua new file mode 100644 index 0000000..6747457 --- /dev/null +++ b/gamemode/itemsystem/items/mahogany.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Mahogany" +ITEM.Description = "A rich dark color." +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) diff --git a/gamemode/itemsystem/items/steel.lua b/gamemode/itemsystem/items/steel.lua new file mode 100644 index 0000000..77e79e1 --- /dev/null +++ b/gamemode/itemsystem/items/steel.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Steel" +ITEM.Description = "Something you can craft with!" +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) -- cgit v1.2.3-70-g09d2