diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-01 19:39:32 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-01 19:39:32 -0400 |
| commit | 671afe4f2ece80877c776d47a9158e0b4e5d7bd5 (patch) | |
| tree | fb0619c87dd020a810d4b244d520e3690193989e /gamemode/itemsystem/items/deaddroppable.lua | |
| parent | 050a8799a07e41c21c3f45f8865cadc1db80bf2f (diff) | |
| download | gmstranded-671afe4f2ece80877c776d47a9158e0b4e5d7bd5.tar.gz gmstranded-671afe4f2ece80877c776d47a9158e0b4e5d7bd5.tar.bz2 gmstranded-671afe4f2ece80877c776d47a9158e0b4e5d7bd5.zip | |
Updated itemsystem to compress how many files we need
Diffstat (limited to 'gamemode/itemsystem/items/deaddroppable.lua')
| -rw-r--r-- | gamemode/itemsystem/items/deaddroppable.lua | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/gamemode/itemsystem/items/deaddroppable.lua b/gamemode/itemsystem/items/deaddroppable.lua new file mode 100644 index 0000000..64b6933 --- /dev/null +++ b/gamemode/itemsystem/items/deaddroppable.lua @@ -0,0 +1,67 @@ +--A bunch of intermediate resources, since they're all almost the same code-wise, they're all collected here. + +--Try to keep this table in alphabetical order so if something needs changeing, you can find it +local tbl = { + {"Adamantine Ore","Something you can craft with!","test.png"}, + {"Air Rune","This stone seems like it should be heavier.","test.png"}, + {"Baits","Something you can use to fish with! (Consumed automatically)","test.png"}, + {"Basic Rune","Something you can craft with!","test.png"}, + {"Bass","Don't drop it!","test.png"}, + {"Batteries","It holds a charge!","test.png"}, + {"Cedar","You can identify that this is wood.","test.png"}, + {"Charcoal","Bits of burnt wood.","test.png"}, + {"Copper Ore","Something you can craft with!","test.png"}, + {"Dough","Something you can craft with!","test.png"}, + {"Dust","Ever wondered what would happen if sand got smaller?","test.png"}, + {"Earth Rune","A stone that's heavier than it looks.","test.png"}, + {"Elm","You can identify that this is wood.","test.png"}, + {"Fire Rune","A slightly warm stone.","test.png"}, + {"Flashlight","Lights up the dark!","test.png"}, + {"Glass","Useful in construction!","test.png"}, + {"Gold","You're Rich!","test.png"}, + {"Gold Ore","Something you can craft with!","test.png"}, + {"Gunpowder","Something you can craft with!","test.png"}, + {"Herbs","Blech, vegtables...","test.png"}, + {"Iron","Something you can craft with!","test.png"}, + {"Iron Ore","Something you can craft with!","test.png"}, + {"Mahogany","A rich dark color.","test.png"}, + {"Maple","It's some nice wood, Eh?","test.png"}, + {"Meat","Something you can craft with!","test.png"}, + {"Mithril Ore","Something you can craft with!","test.png"}, + {"Pickaxe Handle","Something you can craft with!","test.png"}, + {"Pickaxe Head","Something you can craft with!","test.png"}, + {"Plastic","Some solidified resin!","test.png"}, + {"Platinum","Something you can craft with!","test.png"}, + {"Platinum Ore","Something you can craft with!","test.png"}, + {"Pure Mithril","Something you can craft with!","test.png"}, + {"Resin","Something you can craft with!","test.png"}, + {"Salmon","Something you can craft with!","test.png"}, + {"Sand","How in the world are you holding this stuff?","test.png"}, + {"Shark","Something you can craft with!","test.png"}, + {"Silver","Something you can craft with!","test.png"}, + {"Silver Ore","Something you can craft with!","test.png"}, + {"Spices","Freshen up that stinking mutton!","test.png"}, + {"Steel","Something you can craft with!","test.png"}, + {"Steel Ore","Something you can craft with!","test.png"}, + {"Stone","Something you can craft with!","test.png"}, + {"Strange Stone","Something you can craft with!","test.png"}, + {"Sulpher","Watch out, it's explosive!","test.png"}, + {"Teak","You've got wood.","test.png"}, + {"Tech","You're blinded by SCIENCE!","test.png"}, + {"Tech Ore","Something you can craft with!","test.png"}, + {"Trout","A flippy floppy fish!","test.png"}, + {"Urine Bottles","Something you can craft with!","test.png"}, + {"Water Rune","Whenever you touch it, your hand feels slightly damp.","test.png"}, + {"Wood","Something you can craft with!","test.png"}, + {"Wrist Watch","See the time wherever you go!","test.png"}, +} + +for k,v in pairs(tbl) do + local ITEM = {} + ITEM.Name = v[1] + ITEM.Description = v[2] + ITEM.Icon = v[3] + ITEM.UniqueData = false + genericMakeDroppable(ITEM) + GMS.RegisterResource(ITEM) +end |
