# Point system messing up

I’m making a “Papers please” mechanic game ( as in, you are given detail about something, in my version being a core, and you are supposed to either allow or reject it ) test game for a school project, but the point system is kinda messing up.

the way it works is - there are 3 things that effect the grade of the core: the building itself, how close it is to surroundings, and the amount of workers.in the beginning of the scene and every time you choose to allow or not, if their variable is set to 1, they’re good, if the variable is set to 2, they’re bad.

For two of them ( building and surroundings ) the variable is randomly generated immediately, but for the workers, it randomly generates the amount of workers ( between 1 - 10 ), and based on that the 1 or 2 is set ( more then 5 is good, less or equal is bad ). i think the problem is here btw ( with the workers ).

after that, it adds up the 3 variables ( building, surroundings and the good or bad of workers ), and if it’s more then 4 it’s a bad grade ( because that is more then one bad variable ).

now, for the allow and reject buttons there are 2 events for each. one if you press that button if there’s a good grade, and if there’s a bad grade. if you bad grade it’s supposed to take 50 points, and if good grade it’s supposed to give you 100 points.

now what’s weird about what really happens is - sometimes it would give you 50 points instead of 100 ( when that happens it sometimes also looks like it generated twice instead of once )

and BTW, all of the variables are scene variables.

and if you see this, please help quickly, because the project is due for the 13th of November.

I didn’t quite understand the game, but 50 = 100 - 50.
If you have a “key is pressed” or a “left click or touch is pressed” condition, try to replace them by their “is released” equivalent.

i did that, but now it seems like the way it counts is broken\

Maybe it’s the way im caculating the grade?

i do it by adding up the building, placement and worker points ( Variable(Building) + Variable(Placement) + Variable(WorkersPts) all in one command

These two variables exist?

yes they do, just the picture isn’t up to date and i changed “Workers” to WorkersAmount"

i kinda fixed it now. i figured why the worker amount doesn’t work, so the only thing left is the problem when it gives 50

Back to my original answer then:

how does that help? i have no command that does that. i do realize that that’s probably what’s happening, so thx for that ( and the rest of the help, sorry im so impatient and annoying )

You have a command that adds 100 and another that subtracts 50. So I’m guessing that both are happening.
But I can’t give specific guidance without seeing the events.

here, but i need to send the game in around 5 hours, so i hope you’ll have an answer by then!

btw, i checked the buttons’ hitboxes, because i thought i might be pressing both of them those times, but it looks ok

Well, there’s a Trigger once, so my guess about a double trigger may be wrong, unless you’re changing Grade at the same time.
Where are the events that change Grade?