Skip to content

Feat functions

change_feat

source

function change_feat(feat: FEAT, hidden: boolean, name: string, description: string)
feat: FEAT
hidden: boolean
name: string
description: string

Helper function to set the title and description strings for a FEAT with change_string, as well as the hidden state.

get_feat

source

function get_feat(feat: FEAT): boolean, boolean, string, string
feat: FEAT

Returns boolean, boolean, string, string

Check if the user has performed a feat (Real Steam achievement or a hooked one). Returns: bool unlocked, bool hidden, string name, string description

get_feat_hidden

source

function get_feat_hidden(feat: FEAT): boolean
feat: FEAT

Returns boolean

Get the visibility of a feat

set_feat_hidden

source

function set_feat_hidden(feat: FEAT, hidden: boolean)
feat: FEAT
hidden: boolean

Set the visibility of a feat