diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-02 19:34:54 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-02 19:34:54 -0400 |
| commit | d37298c12ebc3d001c55d66b2319aeeda09dafd2 (patch) | |
| tree | aac87080202383ae2e57c3b359061fe6ddc4eb5f /gamemode/itemsystem | |
| parent | 79a5901ce9206f27090c590393838232fc23be62 (diff) | |
| download | gmstranded-d37298c12ebc3d001c55d66b2319aeeda09dafd2.tar.gz gmstranded-d37298c12ebc3d001c55d66b2319aeeda09dafd2.tar.bz2 gmstranded-d37298c12ebc3d001c55d66b2319aeeda09dafd2.zip | |
Started work on databaseing engine
Diffstat (limited to 'gamemode/itemsystem')
| -rw-r--r-- | gamemode/itemsystem/items/aaaItemExample.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gamemode/itemsystem/items/aaaItemExample.lua b/gamemode/itemsystem/items/aaaItemExample.lua index ee67639..872e93e 100644 --- a/gamemode/itemsystem/items/aaaItemExample.lua +++ b/gamemode/itemsystem/items/aaaItemExample.lua @@ -12,6 +12,7 @@ ITEM.Description = "Why did I even write this? No one will ever read it!" ITEM.Icon = "test.png" --If this item has "unique data", for example batteries that run out of charge +--If true, then the item must define a table .UniqueFields, an array of strings that tell what fields are unique. ITEM.UniqueData = false --A table of strings to functions that show up when the player clicks the item in their inventory. |
