8.2 Lint Update + Good News!
As mentioned in the devlog on inline conditions, I've updated the lint files (shared between both listings) for 8.2 so they account for the fact that the built-in linter will filter dialogue and choice text.
More important, however, is that inline conditions are officially a part of Ren'Py as of 8.2! I put in a request for it back when I made this tool, and I'm happy to see it finally come to the engine proper. So, this tool will not be necessary if you have Ren'Py 8.2 or later.
If you'd been using inline conditions, you can easily update to the built-in engine version via regular expression find-and-replace. It looks like this:
FIND: <(.*?)> REPLACE: [$1]
If you're using a robust code editor like VS Code (which is my editor of choice), you should be able to turn on regular expression matching (regex) in the find-and-replace popup (it looks like a .* symbol). If you copy the above bits into the right slots (omitting FIND: and REPLACE: of course), it'll automatically update your script to use the new syntax.
Do let me know if you have any issues switching over!
While this tool is mostly redundant due to the 8.2 update, I will be maintaining Inline Conditions until that is properly added to the engine as well, and this tool will remain up for anyone on an older Ren'Py version who needs it.
Files
Get Inline Python for Ren'Py
Inline Python for Ren'Py
Use Python right inside dialogue in Ren'Py
Status | Released |
Category | Assets |
Author | Feniks |
Genre | Interactive Fiction, Visual Novel |
Tags | Kinetic Novel, Modular, Ren'Py, sourcecode |
More posts
- Inline Linting UpdateJan 09, 2024
Leave a comment
Log in with itch.io to leave a comment.