mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
29 lines
614 B
Lua
29 lines
614 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/
|
||
|
|
--]]
|
||
|
|
|
||
|
|
if SAM_LOADED then return end
|
||
|
|
|
||
|
|
local colors = {
|
||
|
|
Red = Color(244, 67, 54),
|
||
|
|
Blue = Color(13, 130, 223),
|
||
|
|
Green = Color(0, 230, 64),
|
||
|
|
White = Color(236, 240, 241),
|
||
|
|
Black = Color(10, 10, 10)
|
||
|
|
}
|
||
|
|
|
||
|
|
function sam.get_color(name)
|
||
|
|
return colors[name]
|
||
|
|
end
|
||
|
|
|
||
|
|
function sam.add_color(name, color)
|
||
|
|
if isstring(name) and IsColor(color) then
|
||
|
|
colors[name] = color
|
||
|
|
end
|
||
|
|
end
|