-- do return end -- -- ART.RegisterInventorySheet(function() -- -- local width = ScrW() -- local height = ScrH() -- -- local questsheet = vgui.Create( "DPanel") -- questsheet.Paint = function(self,w,h) end -- -- --Display quests -- local questselector = vgui.Create( "DScrollPanel", questsheet ) -- questselector:SetSize((width / 4) - 20, (height / 2) - 40) -- questselector:SetPos(0,0) -- local questinfo = vgui.Create("DScrollPanel", questsheet) -- questinfo:SetSize(width / 4, height / 2) -- questinfo:SetPos(0,height / 2) -- for k,v in pairs(LocalPlayer().Quests or {}) do -- print("Displaying quest:" .. k) -- local questbutton = vgui.Create( "DButton" , questselector ) -- questbutton:Dock(TOP) -- questbutton:SetText(k) -- questbutton.DoClick = function() -- print("At point of clicking, art is:") -- PrintTable(ART) -- ART.GetQuest(k).DrawQuestInfo(questinfo,v) -- end -- end -- -- return "Quests", questsheet, "icon16/house.png" -- end)