Skip to content

Commit 4fa88f1

Browse files
authored
Document Stake's loc_vars (#58)
1 parent 6ecb1cd commit 4fa88f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SMODS.Stake.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@
1919
> Key prefixing is applied to `applied_stakes` and `above_stake` by default. If you want your stake above a stake from the base game or other mods, this can be adjusted by using `prefix_config`. [(reference)](https://github.com/Steamodded/smods/wiki/API-Documentation#common-parameters)
2020
2121
## API methods
22+
- `loc_vars` [(reference)](https://github.com/Steamodded/smods/wiki/Localization#Localization-functions)
23+
- Due to how the stake description box works, the functionality of `loc_vars` on stakes is limited. `info_queue` and `card` will not be used. Out of all possible return values, only `vars`, `key` and `set` are supported.
2224
- `modifiers()`
2325
- Used for applying changes to the game state when your stake is applied at the start of a run.

0 commit comments

Comments
 (0)