shmurfer
Engaged Member
- Dec 29, 2019
- 2,496
- 3,559
Why is that dev using a string to evaluate booleans.
they're an alien from the planet Stringboolian that's just how it's done over there...Why is that dev using a string to evaluate booleans.
A bit roundabout, but will probably work:NEED HELP
game:My Cute Roommate [v1.6.1 Ex Beta]
https://f95zone.to/threads/my-cute-roommate-v1-6-1-ex-beta-astaros3d.5405/
OS:WindowsPRO10 last update
Subject:
The developer of this game use the "hide_all()" function in every "label/screen", and this causes the URM to close/exit each time. Neither URM nor keyboard shortcuts work after changing the screen/progress story.
If I remove all of its "hide_all()" functions from all files, then the character images will mess with each other and some of the active layers.
I can change all of its "hide_all()" functions to any other "clear/clean" function. To prevent the closure of the URM, but at the same time ensure a stable game.
Please help!
Yes. Go to URM's website (link in OP), click on the big "Universal Ren'Py Mod" banner, which will take you to the latest version of URM. If you then click on "Load full history" in the "Changelog" section, you'll get a list of older URM versions, and you can select whatever version you want to download.is it possible to download old versions of URM?
That doesn't look like it could ever be false, unless there's a hidden variabe in .pap being checked. You'd normally edit the variable in the brackets.Is there any way for you to add branching to this?
View attachment 4975450
So I can make this false?
pap is a function that checks if affection over a certain threshold.That doesn't look like it could ever be false, unless there's a hidden variabe in .pap being checked. You'd normally edit the variable in the brackets.
dafuq is that dev doing.
I get it, but eww. Hiding the variable behind a function instead of just doing a lucy.affection >= 50. Not surprised URM doesn't handle it smartly already. You could use URM to edit that affection as a stopgap.pap is a function that checks if affection over a certain threshold.
Alas, it checks if affection is more than % of max possible affection that could've been gained in entire game
It can be false, say if I had -2 affection, but I could've gained 6 affection total, so that means I am definitely below 50% of total possible affection
EDIT: If you want the passage in code:
View attachment 4975493
Takes shit loads of time, as it's part of a classI get it, but eww. Hiding the variable behind a function instead of just doing a lucy.affection >= 50. Not surprised URM doesn't handle it smartly already. You could use URM to edit that affection as a stopgap.
The stat editing? Or the variable access in terms of processing time? Like yeah rip if it's stat editing you should remember that variable. The latter is hella interesting though.Takes shit loads of time, as it's part of a class