Thank you for the answers!
It's definitely true that I'm just beginner with Python and I need to learn it more, but I just had no idea where to find what I'm currently interested in. That's why I've asked here.
I'm going to read more about that
any(),
all(),
map(),
reduce() and
filter() functions, but from the quick glimpse they seem very handy to me. Thank you again.
----
Thing is that I have moved to Ren'Py from my old engine that had stopped developing in 2012. It hasn't even support more than 256 colors, heh.
But I was on an expert level there. It means that I have a very clear idea what game I want to make and what variables and functions I'll need.
Unfortunately, Ren'Py is way too different, so currently I'm writing a long part of code expecting that I'll figure it out eventually... And noticing that the basic of the basics – logic functions – isn't directly here kind of scares me. What else is not there? Original functions? Procedures?
I guess there is always a way around, but my current code is already quite messy.