PC History Release: Version 0.03.5 (Patreon)
Content
I went ahead and wrote the comparison functions directly in JavaScript so that I could use asynchronous functions to examine everything. You'd never guess that hundreds of variables were being compared (with about 1,000 lines of code) by how fast the passage loads. ^-^ In some ways, writing directly to js is quite nice, particularly when it's just mechanics. But, I do want to keep things a little more comprehensible for potential contributors/modders, so I'll try to stick with twee for the most part.
Fun fact: even though twine accepts //comments in .js files, it gets all messed up if you use them inside a script macro in a .tw file. :(
Change Log:
Passages: 550, Words (non js/css): 219,528, Size: 46,599
- Added "Son of Insanity" and "Just Don't" random number generation options in the RNG test area.
- Added player character history storage function
- Added player character history initialization
- Added asynchronous player character history comparison that determines all the changes the player character has had over the previous week.
- Added Week Summary display that shows all the changes in a concise format.
- Added finished attraction preferences to character creation.
- Added ability to preview weekly summary, by choosing "Week Summary" and clicking execute from the quick command area on the right UI bar.
- Added temporary menu to change various stats to view changes in week summary.
- Some minor fixes and other changes.