forked from Mirrors/openclonk
Changed the colours of the drain and source pipes to accommodate for people with red-green color blindness (#1757).
The colours have been suggested by K-Pone.qteditor
parent
56f8372a68
commit
042ee8b2e5
|
@ -22,15 +22,17 @@ public func SetNeutral()
|
|||
}
|
||||
|
||||
// Reddish colour.
|
||||
// Please to not change otherwise people with dyschromatopsia will hunt you down.
|
||||
public func SetDrain()
|
||||
{
|
||||
SetProperty("LineColors", [RGB(110, 80, 80), RGB(110, 80, 80)]);
|
||||
SetProperty("LineColors", [RGB(238, 102, 0), RGB(238, 102, 0)]);
|
||||
}
|
||||
|
||||
// Greenish colour.
|
||||
// Please to not change otherwise people with dyschromatopsia will hunt you down.
|
||||
public func SetSource()
|
||||
{
|
||||
SetProperty("LineColors", [RGB(80, 110, 80), RGB(80, 110, 80)]);
|
||||
SetProperty("LineColors", [RGB(102, 136, 34), RGB(102, 136, 34)]);
|
||||
}
|
||||
|
||||
// Returns true if this object is a functioning pipe.
|
||||
|
|
Loading…
Reference in New Issue