eternaldensity / Sandcastle-Builder

xkcd: 1190: Time: The Game
Other
79 stars 65 forks source link

Glass Ceiling Autovator unlock criterion doesn't function on NegPix #1435

Open charmsRace opened 8 years ago

charmsRace commented 8 years ago

The condition is Molpy.Got('Glass Ceiling ' + i) == Math.sign(np % i), but Math.sign only evaluates to -1 and 0. It should be replaced with Math.abs(Math.sign(np % i)). Oops, this one's my bad. I would submit a correction myself, but I haven't finagled git (or linux) on this chromebook yet and don't expect to have the time to soon.

Incidentally, I haven't been active for a while; are there any other outstanding issues relating to the content I programmed? I only recently started playing 4.0.