GeneratePixel() contextual information is out of date
wykrmn last edited by
Which shard is affected?
When writing the
Game.cpu.generatePixel()method using the in-game editor, the tooltip displays the following:
Generate 1 pixel resource unit for 5000 CPU from your bucket.
What should have happened?
I believe the correct tooltip due to recent changes is
Generate 1 pixel resource unit for 10000 CPU from your bucket.
Attempting to generate a pixel resource unit with between 5000 and 9999 CPU in the bucket returns -6,
How can we reproduce this?
- Open the in-game script editor
- On any line, begin typing sufficient portion of the function call
Game.cpu.generatePixel()to prompt the contextual information tooltip.
- The information should be displayed as written in that window.