aboutsummaryrefslogtreecommitdiff
path: root/gamemode/inventorysystem/quests
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-07-21 19:08:34 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2018-07-21 19:08:34 -0400
commit81d3d4eb333e226432a591461b84ed12f5ac9a3f (patch)
treed802983c3caf6683f1fd8eb881c7df65afa0d27b /gamemode/inventorysystem/quests
parentbfdf805676684a838dde5d4cdeb3d8c972d5003d (diff)
downloadartery-81d3d4eb333e226432a591461b84ed12f5ac9a3f.tar.gz
artery-81d3d4eb333e226432a591461b84ed12f5ac9a3f.tar.bz2
artery-81d3d4eb333e226432a591461b84ed12f5ac9a3f.zip
Various updates
* Animation api now allows sequences to be played * items now have a .inv attribute that is set when they are added to shaped or equipment inventories * Refactored the way skill inventory is structured * Added some more methods to cl_common to move items around on a player * Minor update to nrequire to display purple message when asked to include a file that dosn't exist.
Diffstat (limited to 'gamemode/inventorysystem/quests')
-rw-r--r--gamemode/inventorysystem/quests/cl_quests.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/gamemode/inventorysystem/quests/cl_quests.lua b/gamemode/inventorysystem/quests/cl_quests.lua
index 9ad8eb1..e485109 100644
--- a/gamemode/inventorysystem/quests/cl_quests.lua
+++ b/gamemode/inventorysystem/quests/cl_quests.lua
@@ -23,19 +23,10 @@ local hh = (scrh - 100) / 2
inv.DrawOnDPanel = function(self,panel)
local spanel = vgui.Create("DPanel", panel)
spanel:Dock(FILL)
- function spanel:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 255, 0, 0 ) )
- end
local qls = vgui.Create("DScrollPanel", spanel)
- function qls:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 0, 255, 0 ) )
- end
qls:SetSize((scrw/4) - 40, hh)
inv.qls = qls
local sls = vgui.Create("DScrollPanel", spanel)
- function sls:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 0, 0, 255 ) )
- end
sls:SetSize((scrw/4) - 40, hh)
sls:SetPos(0,hh)
inv.sls = sls
@@ -43,9 +34,6 @@ inv.DrawOnDPanel = function(self,panel)
questlist:SetCols(4)
questlist:SetColWide(((scrw/4) - 40) /4)
questlist:SetSize((scrw/4) - 50, hh)
- function questlist:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 0, 255, 255 ) )
- end
inv.questlist = questlist
inv.questlog = questlog
questlog = vgui.Create("DLabel", sls)