From 70d3228761c2b207aa723af0ea11717201d71988 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 27 Nov 2017 15:31:58 -0500 Subject: Comments Added some comments to the colortheme config Added some comments to inventory registry --- gamemode/config/colortheme.lua | 8 +++++++- gamemode/core/inventory/inventory.lua | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'gamemode') 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 -- cgit v1.2.3-70-g09d2