ThaiJamesLee / Capitalism-X

University of Mannheim - Master Team Project - FSS2019
3 stars 0 forks source link

Producing Products does not work #161

Open jsobbe opened 4 years ago

jsobbe commented 4 years ago

When trying to produce after introducing the default tv and buying the selected components/machinery, the player gets an empty error message and the following exception is thrown:

de.uni.mannheim.capitalismx.production.exceptions.ComponenLockedException: At least on of the components is not unlocked yet. You might need to do some research first. at de.uni.mannheim.capitalismx.production.ProductionDepartment.produceProduct(ProductionDepartment.java:343) at de.uni.mannheim.capitalismx.gamecontroller.GameController.produceProduct(GameController.java:982) at de.uni.mannheim.capitalismx.ui.components.production.LaunchedProductsListViewCell.produceProduct(LaunchedProductsListViewCell.java:85) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .....

At least on of the components is not unlocked yet. You might need to do some research first.

All basic TV components should be unlocked from the beginning, right?

dexzhao commented 4 years ago

You have to level the R&D department at least once to be able to produce with components available from year 1990 on. We could refactor the department level skills of R&D to allow the player to produce with the first components without levelling the department.