From a1a02f08a06e8d150099a483a2a4e1844364ac5a Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 1 May 2016 11:36:27 -0400 Subject: Fixed production from iron furnace, created sand, glass, and charcoal --- gamemode/craftablesystem/furnaces/ironfurnace.lua | 6 +++--- gamemode/itemsystem/items/charcoal.lua | 10 ++++++++++ gamemode/itemsystem/items/glass.lua | 10 ++++++++++ gamemode/itemsystem/items/sand.lua | 10 ++++++++++ 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 gamemode/itemsystem/items/charcoal.lua create mode 100644 gamemode/itemsystem/items/glass.lua create mode 100644 gamemode/itemsystem/items/sand.lua (limited to 'gamemode') diff --git a/gamemode/craftablesystem/furnaces/ironfurnace.lua b/gamemode/craftablesystem/furnaces/ironfurnace.lua index 8264148..55f0e7c 100644 --- a/gamemode/craftablesystem/furnaces/ironfurnace.lua +++ b/gamemode/craftablesystem/furnaces/ironfurnace.lua @@ -21,7 +21,7 @@ COMBI.Description = "Tech can be used to create more advanced buildings and tool COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 1 +COMBI.Req["Tech Ore"] = 1 COMBI.Results = {} COMBI.Results["Tech"] = 1 @@ -39,7 +39,7 @@ COMBI.Description = "Tech can be used to create more advanced buildings and tool COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} -COMBI.Req["Tech_Ore"] = 1 +COMBI.Req["Tech Ore"] = 1 COMBI.Results = {} COMBI.Results["Tech"] = 1 @@ -55,7 +55,7 @@ for k,v in pairs(TechMultiples) do COMBI.Entity = "gms_ironfurnace" COMBI.Req = {} - COMBI.Req["Tech_Ore"] = v + COMBI.Req["Tech Ore"] = v COMBI.Results = {} COMBI.Results["Tech"] = v diff --git a/gamemode/itemsystem/items/charcoal.lua b/gamemode/itemsystem/items/charcoal.lua new file mode 100644 index 0000000..a580582 --- /dev/null +++ b/gamemode/itemsystem/items/charcoal.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Charcoal" +ITEM.Description = "Bits of burnt wood." +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) diff --git a/gamemode/itemsystem/items/glass.lua b/gamemode/itemsystem/items/glass.lua new file mode 100644 index 0000000..3827185 --- /dev/null +++ b/gamemode/itemsystem/items/glass.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Glass" +ITEM.Description = "Useful in construction!" +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) diff --git a/gamemode/itemsystem/items/sand.lua b/gamemode/itemsystem/items/sand.lua new file mode 100644 index 0000000..37924e7 --- /dev/null +++ b/gamemode/itemsystem/items/sand.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Sand" +ITEM.Description = "How in the world are you holding this stuff?" +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) -- cgit v1.2.3-70-g09d2