Devlog 36# - OfficeSystem Bug , storeMaxOutput BUG FIX

**Office and StoreSystem bugs

Basically, the office efficiency , if it was less then 100, resulted in store output being 0, so if the store can output 1000 products per day, the 90% efficiency of the office should result in less then 1000 output per day, but it resulted in 0... It was very annoying, and the most annoying thing was the issue

STORE ISSUE





Yes..the f ..... the f (100(f))....was the issue, crazy right??? roundtoInt was necessary because the outputerperday is actually int, but regardless..freaking f..so much time wasted. But still love it..ha..ha....




Office Issue:

Essntially the issue was the 2 turn delay after adding another worker or removing. So lets say, you have more workload then the maxOfficeworkload with all workers workload combined, or in other words, 100/120, and you add another worker, so the office info and Ui updates, but the change didnt come yet, the change comes next day, so basucally with a 2 turns delay the change happens, resulting in a day delay for either max output/profit, or negative modifier ( loss) ... this was simple fix. but equaly annoying because i spent so much time going everything else instead of finding this immediatly.. still love it











Comments

Popular posts from this blog

Devlog #47 - TaxSystem/FinanceSystem ,Update-FIx -LoanFixes-- TruckSystem Update - Upgrade/BuyNEwTruck - Costs Prices introduced / OfficeSystem CreateNewOffice, upgrade office - other Fixes

Devlog #46 - HubSystem - CreatNewHub added, HubBuild Ui + INdustrySystem Update - -INdustryTierData to be combined with the IndustryData and IndustryState struct -

Devlog #49-50 - Asset System-NEW system, *Game Design* -construction costs update - LoanSystem- fix-redesign-upgrade,Bug fixes-storeSystem,AutoAdvance Day, Market system, Truck System cost redesign, refactored, Ui bug fixes