Okay, so i'll try this again, shorter this time. I have a global function do(s, duration=None, flow=True) where s is a string. To use this in the Ren'Py environment, I must write e.g.
Code: Select all
$ do("Leo kiss Lauren")Code: Select all
Do "Leo kiss Lauren"1. Someone of you knows how to do this with just changing 1 or 2 files.
2. I have to convince PyTom to integrate this functionality in Ren'Py.
3. It's already there and I just don't know it.
So before I try the much harder way 2, I wanted to try 1 and 3. Any ideas?
Background (only needs reading for way 3): My partner
With the timeball it is possible to create multiplayer games (even for Dating Sims) and time travel to the past and back to the newest reached time in game. This will all just be fine.
So what I need the new Syntax for is user-friendlyness. No programmer would have problems working with a simple $ do, but Ren'Py is not primarly designed for programmers, if I recall correctly. While the Dating Sim Engine (see my sig) will come as an extension to Ren'Py just like the more simply DSE there already is, I thought the timeball may be interesting enough to be used seperately and for inexperienced users (since it's all closed up, nobody has to mess with the code), it just needs a proper do function to work and maybe a nice Ren'Py-Do.
PS: If I'm mistaken and Do or do is already a key word, please don't hang the idea for this. The "do" can be easily exchanged later.
