V1.2.18-19

of Stormworks: Build and Rescue was released on August 6th, 2021.
====
* Feature - Refuelling Aircraft AI Vehicle
* Fix - MP client simulating physics without data from the server (vehicle rubber-banding)
* Fix - isInZone now correctly checks all zones with the specified name instead of returning after one check
* Fix - Magalls causing a crash when exiting from a game
* Fix - setButton and setKeypad now search by name only from their respective types
* Fix - Zones should now despawn after testing a location
* Added the following functions:
* CLOCK = server.getTime()
* CLOCK = {
** ["hour"] = hour (24),
** ["minute"] = minute (60),
** ["daylight_factor"] = midday factor (0-1),
** ["percent"] = day_cycle_percent (0-1),
* }
* WEATHER = server.getWeather(transform_matrix)
* WEATHER = {
** ["fog"] = fog factor (0-1),
** ["rain"] = rain factor (0-1),
** ["snow"] = snow factor (0-1),
* }
* Added .voxels field to getVehicleData
The following functions have been reworked to return a table and is_success instead of individual parameters to make them more scalable/neat:
* data returns null if is_success is false
* data, is_success = getVehicleDial
* data = { value = value_primary, value2 = value_secondary }
* data, is_success = getVehicleTank
* data = { value = current_amount, capacity = capacity }
* data, is_success = getVehicleBattery
* data = { charge = charge_factor }
* data, is_success = getVehicleHopper
* data = { value = current_amount, capacity = capacity }
* data, is_success = getVehicleSign
* data = { pos = { x, y, z } }
==Source==
* Steam Community News
Category:Patch notes