Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Achievements for Ren'Py

In-depth ingame achievement support for Ren'Py that plugs into the Steam backend. · By Feniks

Hey question about the granting command

A topic by momoplays created 20 days ago Views: 24 Replies: 2
Viewing posts 1 to 2

Is using "wrath_ending.grant()" legal since i'm using the name of the achievement instead of sample achievement? Wasn't sure if I'm getting right since i'm a lil new to this system. Will update in case it does work. 

Developer

If you declared your achievement with a line like `define wrath_ending = Achievement(...) ` then yes, to grant it in script you'll use `wrath_ending.grant()`. If this is in a label and not a Python block you'll need to prefix it with $ i.e. `$ wrath_ending.grant()`

Feel free to look over the example label to see how it grants the example achievements. 

tysm! it worked ^^