ID:2749543
 
Not a bug
BYOND Version:514
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 96.0.4664.93
Applies to:Dream Maker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
Color generators ignore second argument when using color strings. No matter what you input the second argument will be treated as white, and all interpolated colors will land between the first argument and white. Format of color string used doesn't appear to matter (i.e. #F00 vs #FF0000).

Numbered Steps to Reproduce Problem:
1. Create a color generator using two color string inputs, in which the second is non-white.

Code Snippet (if applicable) to Reproduce Problem:
// red to black
var/generator/G = generator("color", "#F00", "#000" )


Expected Results:
Second input is used when generating colors

Actual Results:
Second input is always treated as white when generating colors

Does the problem occur:
Every time? Or how often?Every time
In other games?Yes
In other user accounts?Yes
On other computers?Yes

When does the problem NOT occur?
When you want your second input to be white.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Unknown
Workarounds:
None known
Lummox JR changed status to 'Unverified'
I tried to reproduce this but I get correct results on both the server and client. Do you have a test case that shows the issue?
Upon further testing this is not a bug. Issue was the result of improper code on our end.

Sorry about that, you may resolve this report
Spevacus resolved issue (Not a bug)