diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-01 12:00:18 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-01 12:00:18 -0400 |
| commit | 5f68ea128a2c4dfa2da8d78d33cb92506fed3286 (patch) | |
| tree | d85b935763f6f220c17568ebf40b154ba8a3cd2e | |
| parent | 42185f28aaf1abe61f7e3cc8ee81e3e6b93bd913 (diff) | |
| download | gmstranded-5f68ea128a2c4dfa2da8d78d33cb92506fed3286.tar.gz gmstranded-5f68ea128a2c4dfa2da8d78d33cb92506fed3286.tar.bz2 gmstranded-5f68ea128a2c4dfa2da8d78d33cb92506fed3286.zip | |
Fixed workbench recipies, added batteries, flashlight, teak, and wristwatch resources
| -rw-r--r-- | gamemode/craftablesystem/workbenches/mythrilworkbench.lua | 4 | ||||
| -rw-r--r-- | gamemode/craftablesystem/workbenches/techworkbench.lua | 2 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/batteries.lua | 10 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/flashlight.lua | 10 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/teak.lua | 10 | ||||
| -rw-r--r-- | gamemode/itemsystem/items/wristwatch.lua | 10 |
6 files changed, 43 insertions, 3 deletions
diff --git a/gamemode/craftablesystem/workbenches/mythrilworkbench.lua b/gamemode/craftablesystem/workbenches/mythrilworkbench.lua index 91a5e3a..a99e43f 100644 --- a/gamemode/craftablesystem/workbenches/mythrilworkbench.lua +++ b/gamemode/craftablesystem/workbenches/mythrilworkbench.lua @@ -4,7 +4,7 @@ COMBI.Name = "Mithril WorkBench" COMBI.Description = "A very basic industrial crafting station" COMBI.Req = {} -COMBI.Req["Pure_Mithril"] = 200 +COMBI.Req["Pure Mithril"] = 200 COMBI.Req["Teak"] = 20 COMBI.Results = "gms_mithrilworkbench" @@ -20,7 +20,7 @@ COMBI.Description = "A strange pickaxe that has a tendency to only mine a weird COMBI.Entity = "gms_mithrilworkbench" COMBI.Req = {} -COMBI.Req["Pure_Mithril"] = 50 +COMBI.Req["Pure Mithril"] = 50 COMBI.Req["Teak"] = 25 diff --git a/gamemode/craftablesystem/workbenches/techworkbench.lua b/gamemode/craftablesystem/workbenches/techworkbench.lua index 96b07cb..5940986 100644 --- a/gamemode/craftablesystem/workbenches/techworkbench.lua +++ b/gamemode/craftablesystem/workbenches/techworkbench.lua @@ -97,7 +97,7 @@ COMBI.Description = "See the time whereever you go." COMBI.Entity = "gms_techworkbench" COMBI.Results = {} -COMBI.Results["Wrist_Watch"] = 1 +COMBI.Results["Wrist Watch"] = 1 COMBI.Req = {} COMBI.Req["Iron"] = 5 diff --git a/gamemode/itemsystem/items/batteries.lua b/gamemode/itemsystem/items/batteries.lua new file mode 100644 index 0000000..0e78a75 --- /dev/null +++ b/gamemode/itemsystem/items/batteries.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Batteries" +ITEM.Description = "It holds a charge!" +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) diff --git a/gamemode/itemsystem/items/flashlight.lua b/gamemode/itemsystem/items/flashlight.lua new file mode 100644 index 0000000..7c6e966 --- /dev/null +++ b/gamemode/itemsystem/items/flashlight.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Flashlight" +ITEM.Description = "Lights up the dark!" +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) diff --git a/gamemode/itemsystem/items/teak.lua b/gamemode/itemsystem/items/teak.lua new file mode 100644 index 0000000..e56ff68 --- /dev/null +++ b/gamemode/itemsystem/items/teak.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Teak" +ITEM.Description = "You've got wood." +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) diff --git a/gamemode/itemsystem/items/wristwatch.lua b/gamemode/itemsystem/items/wristwatch.lua new file mode 100644 index 0000000..7d01f26 --- /dev/null +++ b/gamemode/itemsystem/items/wristwatch.lua @@ -0,0 +1,10 @@ +ITEM = {} + +ITEM.Name = "Wrist Watch" +ITEM.Description = "See the time wherever you go!" +ITEM.Icon = "test.png" +ITEM.UniqueData = false + +genericMakeDroppable(ITEM) + +GMS.RegisterResource(ITEM) |
