UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #5142 Incorrect production time calculation when adding/removing workers
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    Campaign
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    RESOLVED
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (1)
  • icon_download.png Console log
    ufoconsole.log uploaded Sep 17, 2013 by unknown user
Duplicate issues (0)
This issue does not have any duplicates
Description
When adding or removing workers from a project, the new production time is calculated incorrectly. Specifically, the game acts as if the workers had been assigned to that project from the very start, rather than just being assigned now.

For example, for one worker to create Shiva Rounds takes 100 hours. After 8 hours production the time remaining is 92 hours.
If one then assigns nine more workers to the project then it would be logical for the remaining time to be adjusted to 9.2 hours (i.e., ten times faster).
Instead, the game adjusts the time to 2 hours (i.e., 10 hours for 10 workers to complete the project, minus 8 hours already spent)!
If this calculation gives a negative number, the project will complete almost instantly.
Steps to reproduce this issue
- Start a new game and build a base.
- Enter the base screen and set production to Shiva 20mm API rounds. The production time now reads 10h.
- Unhire 9 employees. The production time now reads 100h.
- Run time forward by 8 hours. The production time now reads 92h.
- Hire the 9 workers again. The production time now reads 2h. Unhire them again and it returns to 92h.
- Run time forward by 6 hours. The production time now reads 86h.
- Hire the 9 workers again. The production time now reads 0h. Unhire them again and it returns to 86h.
- Finally hire the 9 workers again and let time run at the lowest setting (5 sec). The production will complete almost immediately.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif