Skip to main content

Module tips

Module tips 

Source
Expand description

One-time tips: which have been shown (TipsSeen), kept in Storage under TIPS_SEEN_KEY (the player profile’s), and forgetting them all (reset_tips). When a tip shows, and where, is the game’s; a tip’s {Action} placeholders are filled like any text (Ctx::text_with).

Structs§

TipsSeen
The tips already shown to this profile.

Constants§

TIPS_SEEN_KEY
Storage key under which the ids of the tips already shown are saved, one per line.

Functions§

reset_tips
Forgets every tip seen, so they all show again (an options screen’s “reset tips”).