MV Help with MOGHunters YuruYuri Plugin

I'm not too sure if this is the right place for this

I'm working with the MOGhunter YuruYuri plugin, my problem is that it's working excellently, however the "easy mode" has problems that aren't so easy. For example some problems have numbers like 38 x 16 = or 54 x 12 = which for an easy mode multiplication isn't that easy to quickly mental math. I was hoping someone could help me figure out where in the script to I need to change the random math variable so that the equations aren't so...calculator heavy?

The plugin is contained within Moghunter's MV project file that can be found here if that helps? https://mogplugins.wordpress.com/rpg-maker-mv/
The 38 x 16 is a bit of a cruncher, but 54 x 12 should be pretty straightforward to do mentally.
5 x 12 = 60
thus 50 x 12 = 600
4 x 12 = 48
648

Doing multiples of 12 should be pretty familiar to anyone who's learned to tell time and do the hours of a day (which I think comes well before multiplication, school-wise).

Probably even more for anyone in the U.S.A. who learns to multiply 12 inches per foot.

To address your actual question, I don't know if this is explained in the plugin instructions, because I'm not going to go through translating and reading them.

But the way the numbers are determined is not by some grid or list of "what's easier or harder to work with."

The level you choose is what multiple of 9 the numbers can randomly be. So level one you can get numbers from 0-9. Level two 0-18. That's it.

And then the mathematical operator is a straightforward random chance, you have even odds of addition, subtraction or multiplication.

So I'm not sure what you're using for "easy mode," but that's how the questions are calculated. If you wanted to do something different, where you have specific numbers that are easy to practice multiplication with, you'd need to rewrite the whole insides.
The 38 x 16 is a bit of a cruncher, but 54 x 12 should be pretty straightforward to do mentally.
5 x 12 = 60
thus 50 x 12 = 600
4 x 12 = 48
648

Doing multiples of 12 should be pretty familiar to anyone who's learned to tell time and do the hours of a day (which I think comes well before multiplication, school-wise).

So I'm not sure what you're using for "easy mode," but that's how the questions are calculated. If you wanted to do something different, where you have specific numbers that are easy to practice multiplication with, you'd need to rewrite the whole insides.

Not everyone is oriented to military time. The question isn't referring to if the problems can "literally" be done mentally as much as it is how to customize the plugin to set the time and emphasis that needs to be placed on this simple game segment. A brief timed mini-game mind you, not an educational tool for practicing multiplication.

I don't need problems that at first glance potentially prompt the player to run and get a calculator or some scratch paper. I'm looking for problems that stay closer to simple addition and subtraction or maybe even capped at your typical early grade school 12 times tables (which stop at 12). I was asking if the plugin could be edited to fit a specific need.
Okay...well, that all comes off as a bit aggressive, and doesn't appear to address any of the through explanation I offered you of how the plugin works.

Not everyone is oriented to military time.
I said zero things about military time. Telling regular time works in two 12-hour blocks in each 24-hour day. And even ignoring time completely, working with 12s is basic second-level multiplication because it's counting by 10s and 2s.

I'm looking for problems that stay closer to simple addition and subtraction or maybe even capped at your typical early grade school 12 times tables (which stop at 12).
Okay, well, as I said above, level 1 stops at 9 which is less than 12.

I was asking if the plugin could be edited to fit a specific need.
I don't see anything specific in the request. You asked how it might be changed to "not be calculator heavy," but I don't know what your definition of calculator-heavy is.

If you want to take out multiplication, that's an easy edit I can give you. If you want to limit how high the numbers are, I already took the time and effort to read the code and give you an explanation of how that can be done.

I also said what would be more difficult to do (i.e. you probably wouldn't get it as a free request).

So if you have an actual outstanding question after reading that explanation and want to let us know, we can go from there.
Okay...well, that all comes off as a bit aggressive, and doesn't appear to address any of the through explanation I offered you of how the plugin works.
How is my response any less aggressive than yours? I didn't ask how people in the USA solve problems, nor did I ask you to one up me and show off by solving the math like I was an idiot and couldn't do it. That was rude and unnecessary. I didn't ask for a critique of my skill and basic knowledge, just a question.
I said zero things about military time. Telling regular time works in two 12-hour blocks in each 24-hour day. And even ignoring time completely, working with 12s is basic second-level multiplication because it's counting by 10s and 2s.
Tell me, if you're playing a game say, Baldi's Basics for example, where you're being timed in a math scenario are you really going to have mere seconds to think that out? Not everyone can instantly look at a problem and think to solve it in a second, I'm trying to make this section approachable and quick. That's why that game keeps it to simple addition and subtraction.
I don't see anything specific in the request. You asked how it might be changed to "not be calculator heavy," but I don't know what your definition of calculator-heavy is.
Let me give you an example if you saw a problem like this and were being timed, say one minute and saw these problems would you solve them or just grab a calculator which slows down the progression and detracts attention from the fun to solve 5 problems that all look like these. Granted the 9x22 should be easy enough to solve, but would you think to solve it in a split second or just grab a calculator because who wants to go through all that?

Screenshot 2024-02-22 090614.png
Screenshot 2024-02-22 090758.png
Screenshot 2024-02-22 094426.png

If you want to take out multiplication, that's an easy edit I can give you.
That's all you had to do in the first place. Or at the very least make that suggestion instead of assuming I didn't know what was basic 2th grade math.
If you want to limit how high the numbers are, I already took the time and effort to read the code and give you an explanation of how that can be done.
You did not. If I knew where to find those sections I wouldn't be here on the forum asking for help. I do not know how to code, I know nothing about coding, or even where to start. If you wanted to help you could have said something along the lines of "oh on search for something around line 597 that should look like this,

this.refreshNumber(this._numberQ1,this._QData[0],this._numberQData,1,0,0);

and change the value of each number to. etc. See how different that is as opposed to you saying "And then the mathematical operator is a straightforward random chance" random chance of what? Random chance where? Where is this random chance calculated?
I also said what would be more difficult to do (i.e. you probably wouldn't get it as a free request).

So if you have an actual outstanding question after reading that explanation and want to let us know, we can go from there.
I didn't say anything about a request? If it came to that I'm sure I wouldn't mind paying. Difficulty wasn't an object because I asked if I could be shown something, hinting at the fact that I was willing to set aside the time to learn. I asked "help me figure out where in the script to I need to change", meaning I was looking for someone to point me in the right direction, not just blurb off a bunch of stuff that clearly I didn't know where it was or I wouldn't be asking for help in the first place.

Thanks for your time.
Well...I'm not reading all that.

Good luck.
Well...I'm not reading all that.

Good luck.
Kinda' figured that. Most of it was replies to what you said in your own words like you did with my comments before but to each their own. I'll figure something out as a workaround.
I'll fix your initial response for you:
"Thank you for going into the code and seeing what the levels represent. I actually want to remove multiplication entirely; could you tell me how to do that, please?"
I'll fix your initial response for you:
"Thank you for going into the code and seeing what the levels represent. I actually want to remove multiplication entirely; could you tell me how to do that, please?"
And yet, even if he went into the code he still gave me nothing to work with. Ok so what if thats what the level represents, that doesn't help me, plus I never asked for multiplication to specifically be removed.

Yes, I will admit I could have worded it more on the nose but after hearing that I needed to be shown where to find something and what to do he just gave up.
And yet, even if he went into the code he still gave me nothing to work with. Ok so what if thats what the level represents, that doesn't help me, plus I never asked for multiplication to specifically be removed.

Yes, I will admit I could have worded it more on the nose but after hearing that I needed to be shown where to find something and what to do he just gave up.
That was just an example of what you could have asked for. The issue is that you still haven't specified exactly in what manner you want it to be simplified, so it's not really possible to answer your question to your satisfaction without guessing at what you're trying to make it do.

As an aside to your response, what you need to keep in mind is that we're all unpaid volunteers; literally any amount of effort we put into trying to help you is going above and beyond what you're actually entitled to, whether it helps or not. You'll make way more friends if you acknowledge effort on its own merit rather than only being happy when it directly gets you closer to your intended goal. Turan still tried to answer your question, and only stopped when you displayed an attitude of entitlement and ungratefulness at the attempt.
And today's "A-hole of the Day" award goes to OP, who couldn't help but be a dick for no reason! Congratulations!
That was just an example of what you could have asked for. The issue is that you still haven't specified exactly in what manner you want it to be simplified, so it's not really possible to answer your question to your satisfaction without guessing at what you're trying to make it do.
I'm only asking for the math to be simplified to basic addition, subtraction, and multiplication.
For example i need problems that look more like this if that is possible.
2 +45
3×7
4-37
And today's "A-hole of the Day" award goes to OP, who couldn't help but be a dick for no reason! Congratulations!
How exactly am I a dick, when I asked something and got math problems spelled out to me like I was stupid and practically told that knowing my 12 times tables "Doing multiples of 12 should be pretty familiar to anyone who's learned to tell time" as if Im dense.
How exactly am I a dick, when I asked something and got math problems spelled out to me like I was stupid and practically told that knowing my 12 times tables "Doing multiples of 12 should be pretty familiar to anyone who's learned to tell time" as if Im dense.
Because you went and dragged the whole thing out instead of just letting it go. He was simply being thorough as hell in his explanation, and it's something I've encountered many times before. It doesn't mean that Turan thinks your stupid.

Going back to re-read his post, it comes off as him simply stating something highly likely. I doubt he meant any harm or insult.
I'm only asking for the math to be simplified to basic addition, subtraction, and multiplication.
For example i need problems that look more like this if that is possible.
2 +45
3×7
4-37

How exactly am I a dick, when I asked something and got math problems spelled out to me like I was stupid and practically told that knowing my 12 times tables "Doing multiples of 12 should be pretty familiar to anyone who's learned to tell time" as if Im dense.
So taking into account that the level goes up in multiples of 9, it looks like what you want is for multiplication to go up in a smaller range than other types do?
Because you went and dragged the whole thing out instead of just letting it go. He was simply being thorough as hell in his explanation, and it's something I've encountered many times before. It doesn't mean that Turan thinks your stupid.

Going back to re-read his post, it comes off as him simply stating something highly likely. I doubt he meant any harm or insult.
And yet he clearly saw that bothered me, but instead of offering an apology or explanation he doubled down in the next post. "So if you have an actual outstanding question" as if my initial question was that inadequate.

His tone was very much like he was talking down to me so I just clapped back with my own sarcasm. I even tried to explain exactly what I wanted, I gave a break down of each of his points but he'd already shut down on me by that point. I tried and did explain what I wanted and what I was referring to as the problem.

Edited:
So taking into account that the level goes up in multiples of 9, it looks like what you want is for multiplication to go up in a smaller range than other types do?
Yes that is exactly what I am looking for. Thank you and Im sorry you had to get in the middle of this.

I Think two people just had a big misunderstanding of each others tones.
So taking into account that the level goes up in multiples of 9, it looks like what you want is for multiplication to go up in a smaller range than other types do?
Yes that is exactly what I am looking for. Thank you and Im sorry you had to get in the middle of this.

I Think two people just had a big misunderstanding of each others tones.
Double-post notice: @Fangzarie
His tone was very much like he was talking down to me so I just clapped back with my own sarcasm. I even tried to explain exactly what I wanted, I gave a break down of each of his points but he'd already shut down on me by that point. I tried and did explain what I wanted and what I was refering to as the problem.
It really wasn't. You interpreted it that way, which threw off his own efforts to help you. It's always in one's best interest to try and not assume the worst of another, because that can lead to things like this.

In the future, if you encounter someone who you think might be talking down to you, consider taking the high road and ignoring it. I completely understand what you were feeling, as I've come across possible cases before, but most people you'll run into around these parts aren't out to make you feel like an idiot.
Double-post notice: @Fangzarie
Apologies I got carried away with replying. You can delete the previous post if necessary.
In the future, if you encounter someone who you think might be talking down to you, consider taking the high road and ignoring it. I completely understand what you were feeling, as I've come across possible cases before, but most people you'll run into around these parts aren't out to make you feel like an idiot.
Right, I'll pack my patience. I apologize @ATT_Turan for my outburst. Whether it was your intention or not I should not have blown up like that. In the future I will try to be more mindful. Thank you everyone for attempting to help me despite how rude I've honestly been.
I appreciate you acknowledging that. Now, to get this back on topic:

The range of the questions is determined by Scene_YuriYuriPM.prototype.setNewQ, which starts on line 579.

The sign (+, -, *) is determined after the loop that sets the level range, so it'll need a bit of rearranging to accomplish what you were asking for. What I would personally do is modify lines 580-584 to be as follows:

JavaScript:
var lv = "9"
var multLv = "3"
var sign = Math.randomInt(3);
for (var i = 0; i < this._Level; i++) {lv += sign == 2 ? multLv : lv};
this._QData[0] = Math.randomInt(Number(lv));
this._QData[1] = sign;
this._QData[2] = Math.randomInt(Number(lv));

This would raise the multiplication question range by 3 per level rather than 9 (notwithstanding that I'd use a completely different method to code this in the first place)

Original thread: https://forums.rpgmakerweb.com/threads/help-with-moghunters-yuruyuri-plugin.166035/