Edited the documents for set_world_map_heal_time

Minor code edits to Worldmap.cpp.
This commit is contained in:
NovaRain
2024-05-27 21:48:51 +08:00
parent d21225bd92
commit 5803dc6606
6 changed files with 24 additions and 14 deletions
+6 -4
View File
@@ -1425,15 +1425,17 @@
macro: sfall.h
- name: set_rest_heal_time
detail: void set_rest_heal_time(int time)
doc: 'Sets the time interval in minutes for healing during resting. The default is 180. Note: The interval will be reset each time the player reloads the game.'
doc: |
Sets the time interval in minutes for healing during resting. The default is 180
- the time interval will be reset each time the player reloads the game
macro: sfall.h
- name: set_worldmap_heal_time
detail: void set_worldmap_heal_time(int time)
doc: |
Sets the time interval in minutes for healing during worldmap travel.
- passing 0 will revert to 1 second per real time (vanilla behavior)
Sets the time interval in minutes for healing during world map travel
- passing 0 will revert to 1 second in real time (vanilla engine behavior)
- passing -1 will disable healing during travel
- the interval will be reset each time the player reloads the game
- the time interval will be reset each time the player reloads the game
macro: sfall.h
- name: set_rest_mode
detail: void set_rest_mode(int flags)