Skip to content

Commit 6d91d26

Browse files
committed
Merge branch 'master' of https://github.com/sfall-team/sfall into better-docs
2 parents d5015b6 + e9c73e6 commit 6d91d26

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

artifacts/scripting/functions.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,10 @@
906906
opcode: 0x8177
907907
- name: set_pipboy_available
908908
detail: void set_pipboy_available(int available)
909-
doc: Sets the availability of the pipboy in the game. Use 0 to disable the pipboy, and 1 or 2 to enable it (value 2 does not mark the `VSUIT_MOVIE` movie as "played").
909+
doc: |
910+
Sets the availability of the pipboy in the game. Use 0 to disable the pipboy, and 1 or 2 to enable it (value 2 does not change the player's default appearance).
911+
- The availability state will be reset each time the player reloads the game.
912+
- __NOTE:__ starting from sfall 4.4.6/3.8.46, value 1 no longer marks the `VSUIT_MOVIE` movie as "played". Use `mark_movie_played(VSUIT_MOVIE)` instead if you want the old behavior.
910913
opcode: 0x818b
911914
- name: get_kill_counter
912915
detail: int get_kill_counter(int critterType)

0 commit comments

Comments
 (0)