diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-01 11:36:27 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-01 11:36:27 -0400 |
| commit | a1a02f08a06e8d150099a483a2a4e1844364ac5a (patch) | |
| tree | a6fac7be87f206ab655d259f3addaab9928a97c2 | |
| parent | 30d4e993bbfab707f817d03fa98bfaf126d7c75e (diff) | |
| download | gmstranded-a1a02f08a06e8d150099a483a2a4e1844364ac5a.tar.gz gmstranded-a1a02f08a06e8d150099a483a2a4e1844364ac5a.tar.bz2 gmstranded-a1a02f08a06e8d150099a483a2a4e1844364ac5a.zip | |
Fixed production from iron furnace, created sand, glass, and charcoal
| -rw-r--r-- | gamemode/craftablesystem/furnaces/ironfurnace.lua | 6 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/charcoal.lua | 10 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/glass.lua | 10 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/sand.lua | 10 |
4 files changed, 33 insertions, 3 deletions
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) |
