Tools of the Trade

Man, programming. Sometimes there are things where I think beforehand that they will take ages, and there are others things that seem so simple that are surprisingly hard. The instrument list was the latter. I though I could just copy over the code from all these other lists that I already introduced (albums, songs, artists, etc.), but as the instrument aren’t object instances and just parts of a data structure, everything was different. I fixed it now after a day and a half, but man, I though this would take 15 minutes.

Anyway, the instrument room now works. Not only can musicians now be assigned instruments, but some instruments also unlock new genres. There’s no Rock without an E-Guitar at your disposal, for instance. I’m not happy yet with the structure of the menu, but I will change it when I overhaul the entire UI anyway.

I still have to change some things in the rest of the code so that assigning the instruments actually has an impact on instrument skill and boosting certain genres when in use. But after that we get to the next big package: talent scouting. I do have a fun idea for that…