The last couple of days I have been working on the new character goals system. That system provides the main character with experience to spend on their stats, which meant the character sheet needed an update to make it A) interactive and B) more attractive. The character sheet was also the obvious place to put the full goal progress and descriptions (I am thinking about adding small goal progress bars on the main UI as well).
I'm happy to say the code behind the goal system is some of the most expandable and elegant I've written for Lab Rats 2 so far. I wanted to provide support for as wide a range of goals as possible, so the system makes as few assumptions about what a goal is. A new event listener system sends active goals updates when an event is fired. Each goal has a function that determines what it does when a goal is fired. As an example, the "Brave New World" goal, which requires the player to personally generate research points, adds the amount of research generated to an internal count when the research event is fired. Other goals keep track of people you have talked to and finish when you've interacted with enough unique people. Goals can also have unique functions attached that determine how their progress bars and progress text are displayed.
Each category of goal has an internal difficulty score that is increased as goals are finished. The same style of goal will have higher requirements as the difficulty rises, which should keep experience gain in line with productivity gain over the course of the game. Goals can also be set to only be presented to the player if certain requirements are met; for example difficulty over or under a threshold, a special role assigned to someone, or a certain amount of money in the business.
The goal writing process is quick and flexible - I added 9 of the 12 current events over an hour tonight - so I will be adding more going forward. I hope to use the goals as a tutorial system with early goals guiding players through the basic steps of running their business.
Let me know what you think of the new look and if you have any suggestions!
Vren
2018-08-17 07:24:33 +0000 UTCPetechons
2018-08-14 16:40:01 +0000 UTCExxxPlay Games 18+
2018-08-14 15:53:58 +0000 UTCRed Claw
2018-08-14 15:52:19 +0000 UTCNicolas
2018-08-14 12:06:28 +0000 UTC