Template:Op world map

World map
Generally, all operations which only make sense on the worldmap and have no specific category have been assembled here. These mostly deal with weather, time and resting.

Conditional operations
is_currently_night = 2273
 * (is_currently_night),
 * Checks that it's currently night in the game.

map_free = 37
 * (map_free),
 * Checks that the player is currently on the global map and no game screens are open.

Weather-handling operations
get_global_cloud_amount = 90
 * (get_global_cloud_amount, ),
 * Returns current cloudiness (a value between 0..100).

set_global_cloud_amount = 91
 * (set_global_cloud_amount, ),
 * Sets current cloudiness (value is clamped to 0..100).

get_global_haze_amount = 92
 * (get_global_haze_amount, ),
 * Returns current fogginess (value between 0..100).

set_global_haze_amount = 93
 * (set_global_haze_amount, ),
 * Sets current fogginess (value is clamped to 0..100).

Time-related operations
store_current_hours = 2270
 * (store_current_hours, ),
 * Stores number of hours that have passed since beginning of the game. Commonly used to track time when accuracy up to hours is required.

store_time_of_day = 2271
 * (store_time_of_day, ),
 * Stores current day hour (value in 0..24 range).

store_current_day = 2272
 * (store_current_day, ),
 * Stores number of days that have passed since beginning of the game. Commonly used to track time when high accuracy is not required.

rest_for_hours = 1030
 * (rest_for_hours, , [time_speed_multiplier], [remain_attackable]),
 * Forces the player party to rest for specified number of hours. Time can be accelerated and player can be made immune or subject to attacks.

rest_for_hours_interactive = 1031
 * (rest_for_hours_interactive, , [time_speed_multiplier], [remain_attackable]),
 * Forces the player party to rest for specified number of hours. Player can break the rest at any moment. Time can be accelerated and player can be made immune or subject to attacks.