aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gamemode/config/colortheme.lua8
-rw-r--r--gamemode/core/inventory/inventory.lua4
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