diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-27 15:31:58 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-27 15:36:46 -0500 |
| commit | 70d3228761c2b207aa723af0ea11717201d71988 (patch) | |
| tree | 83c513d13c172e056fee8f6d14768e9474e0e420 /gamemode | |
| parent | 83af51534bf16bf048aea1cd3b74a0308ed9dd71 (diff) | |
| download | artery-70d3228761c2b207aa723af0ea11717201d71988.tar.gz artery-70d3228761c2b207aa723af0ea11717201d71988.tar.bz2 artery-70d3228761c2b207aa723af0ea11717201d71988.zip | |
Comments
Added some comments to the colortheme config
Added some comments to inventory registry
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/config/colortheme.lua | 8 | ||||
| -rw-r--r-- | gamemode/core/inventory/inventory.lua | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gamemode/config/colortheme.lua b/gamemode/config/colortheme.lua index f54fdd7..13c7a26 100644 --- a/gamemode/config/colortheme.lua +++ b/gamemode/config/colortheme.lua @@ -1,10 +1,16 @@ +---Holds color config for various bits and peices in artery. +-- Feel free to change these I guess. +--@shared colortheme.lua + --[[ This file needs some text so gmod dosn't throw a fit ]] local theme = {} ---Not technically correct colors, but they look nice togeather, generated by http://terminal.sexy +---Colors used for console print functions. +-- Not technically correct colors, but they look nice togeather. Generated by http://terminal.sexy +--@export theme.console = { background = Color(254,249,236), foreground = Color(109,114,126), diff --git a/gamemode/core/inventory/inventory.lua b/gamemode/core/inventory/inventory.lua index ea1d33e..9215a49 100644 --- a/gamemode/core/inventory/inventory.lua +++ b/gamemode/core/inventory/inventory.lua @@ -175,6 +175,10 @@ function inv.CreateInventoryFromData(name,data,owner) return ret end +concommand.Add("artery_printinventories", function(ply,cmd,args) + PrintTable(inventories) +end) + ---To Be Depriciated. function inv.DeriveInventory(name) while inventories[name] == nil do |
