This commit is contained in:
lifestorm
2024-08-05 18:40:29 +03:00
parent 9f505a0646
commit c6d9b6f580
8044 changed files with 1853472 additions and 21 deletions

View File

@@ -0,0 +1,46 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
list.Set( "RopeMaterials", "#ropematerial.rope", "cable/rope" )
list.Set( "RopeMaterials", "#ropematerial.cable", "cable/cable2" )
list.Set( "RopeMaterials", "#ropematerial.xbeam", "cable/xbeam" )
list.Set( "RopeMaterials", "#ropematerial.laser", "cable/redlaser" )
list.Set( "RopeMaterials", "#ropematerial.electric", "cable/blue_elec" )
list.Set( "RopeMaterials", "#ropematerial.physbeam", "cable/physbeam" )
list.Set( "RopeMaterials", "#ropematerial.hydra", "cable/hydra" )
local PANEL = {}
--[[---------------------------------------------------------
Name: Paint
-----------------------------------------------------------]]
function PANEL:Init()
self:SetItemWidth( 0.14 )
self:SetItemHeight( 0.3 )
self:SetAutoHeight( true )
local mats = list.Get( "RopeMaterials" )
for k, v in pairs( mats ) do
self:AddMaterial( k, v )
end
end
function PANEL:Paint( w, h )
draw.RoundedBox( 4, 0, 0, w, h, Color( 128, 128, 128, 255 ) )
end
vgui.Register( "RopeMaterial", PANEL, "MatSelect" )