Beta update 1.8.40
Hi, this is a follow up update for TT76 which includes experimental region creator, few fixes and some features for plugin makers 😃
🌟Experimental region creation
🌟Region actions delete/reset
🌟A setting for whether to load plugins from SD card (TheoTown/plugins)
🌟Sound setting for plugin sounds
🌟Update lights by Kluche
🛠Fix fences on the edge of the city could not be removed
🛠Fix unlocking in completely locked regions
🛠Fix illegal state exceptions in music box
🛠Fix region city panel placement when UI scaling is in use
🛠Fix region city panel size was not calculated correctly
🛠Fix rain sound was missing
🛠Fix crash when creating map screenshot with insufficient free memory
📘Add Lua command City.execute(cmd, callbackFunc(resultStr)) to execute console commands in Lua
📘Add Draft.append to allow scripts to add draft json code for loading
📘Add more control over sounds created by TheoTown.playSound(...)
📘Let Builder.finishBuilding also finish pending upgrades
📘Allow scripts to call TheoTown.translate(string_id) during init scripts
🌟Add attribute "multiplayer" to manifest files (default is true; false would prevent the plugin from being usable in online cities)
@everyone