Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Ah, I'm kind of new at coding especially within Python. I attempted to type "if platinum_achievement.has()" and it ended up just showing an error.
Code itself : 
"

if platinum_achievement.has()

    e "This is a Test"
"
Then the error code

```

I'm sorry, but errors were detected in your script. Please correct the

errors listed below, and try again.

File "game/script.rpy", line 74: reached end of line when expecting ':'.

    if platinum_achievement.has()

                                 ^

Ren'Py Version: Ren'Py 8.3.6.25022803

Tue Mar 11 22:06:59 2025

```


I apologize if this might be a stupid question

You need a colon at the end of every conditional statement to start a block e.g.

if platinum_achievement.has():
    # stuff

You may want to check out feniksdev.com for some tutorials on conditional statements if you're having trouble!