mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
28 lines
622 B
Lua
28 lines
622 B
Lua
--[[
|
|
| 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/
|
|
--]]
|
|
|
|
|
|
--
|
|
-- prop_generic is the base for all other properties.
|
|
-- All the business should be done in :Setup using inline functions.
|
|
-- So when you derive from this class - you should ideally only override Setup.
|
|
--
|
|
|
|
local PANEL = {}
|
|
|
|
function PANEL:Init()
|
|
end
|
|
|
|
function PANEL:GetDecimals()
|
|
return 0
|
|
end
|
|
|
|
derma.DefineControl( "DProperty_Int", "", PANEL, "DProperty_Float" )
|