Renamed some object flags

This commit is contained in:
NovaRain
2023-03-05 10:18:59 +08:00
parent a75886a020
commit 56150d572a
7 changed files with 24 additions and 21 deletions
+4 -4
View File
@@ -130,12 +130,12 @@
detail: get_stat_min(int stat, bool who = False)
doc: |
- Returns the minimum set value of the specified stat (see `set_stat_min` functions)
- who: 0 (`false`) or omitting the argument - returns the value of the player, 1 (true) - returns the value set for other critters
- who: 0 (`False`) or omitting the argument - returns the value of the player, 1 (`True`) - returns the value set for other critters
- name: get_stat_max
detail: get_stat_max(int stat, bool who = False)
doc: |
- Returns the maximum set value of the specified stat (see `set_stat_max` functions)
- who: 0 (`false`) or omitting the argument - returns the value of the player, 1 (true) - returns the value set for other critters
- who: 0 (`False`) or omitting the argument - returns the value of the player, 1 (`True`) - returns the value set for other critters
- name: Alter min/max
doc: The `set_stat_max/min` functions can be used to set the valid ranges on stats. Values returned by `get_current_stat` will be clamped to this range. The `set_pc_` function only affects the player, the `set_npc_` functions only affects other critters, and the `set_` functions affects both.
@@ -1680,7 +1680,7 @@
- winName: the window name, assigned to the window by the `CreateWin/create_win` function
- winID: the ID number of the interface or script window obtained with the `get_window_under_mouse` function, or 0 for the current game interface
- flag: the flag to change (see `WIN_FLAG_*` constants in `define_extra.h`)
- value: `true` - set the flag, `false` - unset the flag
- value: `True` - set the flag, `False` - unset the flag
macro: sfall.h
- name: win_fill_color
@@ -1925,5 +1925,5 @@
- name: obj_is_openable
detail: bool obj_is_openable(object obj)
doc: Returns True if the object is openable (i.e. has an opening/closing animation)
doc: Returns True if the object is openable (i.e. has an opening/closing animation), False otherwise
macro: sfall.h