--- Utils objectlocal season = utils.environment.get_current_season()--- Direct exportlocal season = exports.boii_utils:get_current_season()
get_distance_to_water
Get the distance from the player to the nearest body of water.
--- Utils objectlocal distance_to_water = utils.environment.get_distance_to_water()if distance_to_water >=0thenprint('Distance to water:', distance_to_water)elseprint('No water nearby.')end--- Direct exportlocal distance_to_water = exports.boii_utils:get_distance_to_water()
get_water_height_at_coords
Gets water height at specified coordinates.
--- Define coordslocal coords =vector3(123.45, 678.90, 21.0)--- Utils objectlocal water_height = utils.environment.get_water_height_at_coords(coords)if water_height >=0thenprint('Water height at coordinates:', water_height)elseprint('No water found at the given coordinates.')end--- Direct exportlocal water_height = exports.boii_utils:get_water_height_at_coords(coords)