I keep getting this error:
if you know how to fix it pls tell me. I need to know what i did wrong and how to fix it.
I keep getting this error:
if you know how to fix it pls tell me. I need to know what i did wrong and how to fix it.
Yeah, looks like you’ve defined girls_time as a character.
Something like define girls_time = “zero” or something.
I assume you were trying to set a default value of the variable $ girls_time, in which case you’d likely want to do default girls_time = 0
Note the number by itself defines it as an integer - which can then be incremented with $ girls_time += 1
EDIT: If you saw it - ignore what I said about lack of space. Apparently that makes no difference and is mostly just a style thing.
Can we see the code chunk where you define ‘girls’ and all the ‘girl_[whatever]’ bits?
I’m not 100%, but it looks like Ren’py thinks you’re trying to add one to a character. That’s the typeerror I’d expect if you went into the Ren’py Tutorial and told it to “add one to Eileen”.
No. Sorry. Didn't mean to imply that. It was intended as an example. I meant that if you opened the tutorial and tried to add one to Eileen, I think you might get the same error. But you don't have to keep her around in your game.
– JakobY
i try but I able fix the problem... some reason I can't use the _ between girls_time and that fixes... stupid
– Maria_HouseSuggests there's something not quite right with where you define girls_time - like JakobY said if we could see the section of code where you define that variable we can help diagnose it more accurately.
– Ares42