One common element of simulation-style VNs is a planner of some kind where you choose between various options for different things. Then the game decides what events happen based on things you've already done, statistics, affection points, or things like that. This framework should make it easier for game writers to do that.
PyTom wrote the original version, but I wanted to integrate it with screens for Our Personal Space, so I updated it. It includes a sample game that shows how to define periods of time, when events should happen, and things like that. The sample code has lots of comments and explains things pretty well, so please start there to learn how to use it. The main files you will want to change are:
- main.rpy - This has the "start" label in it which is where the game starts.
- events.rpy - This is where all the events are defined.
- styles.rpy - If you want to change how it looks.
Download the Dating Sim Engine:
https://github.com/renpy/dse/releases/latest
-------------------------------------------------------------------------------
Changelog
v3.0 - Initial re-release
v3.1 - More consistent styles, Fixed a bug where it would crash if you asked it not to display the stats label or value, More comments directing users to the parts they probably wish to change
v3.11 - Fixed a bug where skipping periods would not work properly
v3.12 - Added hidden stat feature
v4.0 - Changed to be compatible with the new GUI system. Also renamed most files to make it obvious which were part of the DSE.
v4.1 - Fixed variables being accessed before initialized. Thanks isak grozny!