Commit b43db1ca

Fully implement the eating mechanic as intended. Add some generic job utility functions to the abstract python object.

This finally brings all the pieces together, the biggest change here are the above mentioned generic methods which can be applied to all kinds of job types:

But why don’t you check out the final product (and imagine that chair is actually a refrigerator)

Commit 16e67b0c

– further implement the food buying mechanic in python (still not complete)
– correct “parameter” parameter passing into python scripts
– add interface to allow python scripts to reduce the funds (buy things)
– fix job type copy constructor (did not initialise all values)
– do not allow values greater than 100 in controllable objects
– add mechanic in the game state/main app that force-refreshes the widgets if the funds changed through a script

Really as it says in the surprisingly in-depth commit message, making good progress!