So, character generation is working in its basic form. It’s now able to make characters with bodyparts, save them and reload them. After being without computer for a while I’ve had to spend some time re-acclimatising myself with the code, so I also went around and did some tidying up here and there as I re-learned my way around.
The next step will be the staff management script. I’ve been thinking about ways to go about keeping track of who is working where. It’s important how that information is stored; should work location be stored on each NPC, or the location store a list of NPC’s working there, that sort of thing. One of my more code-savvy friends recommended I look at something called a doubly-linked list, which will take me a bit of reading to understand. As long as only one script is responsible for adding/removing/moving staff around I think it should be okay. Either way, once that’s in place, I can expand things a little, add some logic and code for facilities to actually do stuff and it’ll start looking a bit more like a game. With sexy parts. I haven’t forgotten about the sexy parts, promise.