Broadcast Tower Culture Generation Energy Scaling Not Functioning

Issue #68 resolved
Former user created an issue

As seen in this function, the ratio for energy production scaling on broadcast towers is hard-limited to 1.75 times, but math.floor is called immediately on the result of applying it to culture generation, and since the base culture generation of the towers is 1, and the scaling is applied to the base value directly, this will always result in no change to the value, which is likely not intended.

It is likely that this is a mistake, and that math.floor should not be called here. I'm not entirely sure what the intent of flooring is there, and you could probably replace the conditional limiting it with a math.min call.

Comments (2)

  1. Log in to comment