Finished everything I wanted to do before the Alpha.
** Going to test it a bit.
Also I might change the slide show to work with taggroup chosen in the gallery instead of profile and battle combo it is currently locked to.
SF Updated:- Game Over logic on MC's death
- Taxes code expanded to:
* Decent confiscation code (slaves and brothels, not items at this time) in case of total debt of 50000 Gold
* Displaying current debt in hero finances screen if such exists
* Displaying taxes so far this week in finances screen
- MC now has a chance to increase his stats if there are AP left at the end at the end of the day
- Fixed a bug where hero's MP and Fatigue wasn't displayed properly in bars at the team info, forest exploration testing and arena
- Brothels can no longer be sold at their face value, otherwise it would have been a way of never paying the property tax
- Hero location will now be properly updated if brothel is sold and he was living there
- Neow**!
Items created with:
item = Item()
item.id = "something_new"
item.desc = "test item 2"
...
items[item.id] = item
Don't use default values as it seems, because game wants fields like "cmax" from me.
You need to run:
item.init()
after item is properly setup as you like wish it to be BUT before you run "items[item.id] = item".