Changelog:
- Fixed and improved the functionality of
substrscript function - Restored and fixed RemoveWindowRounding option that was removed in 3.8.12
- Improved the functionality of
inventory_redrawscript function - Changed the return value of
get_scriptscript function from -1 to 0 for unscripted objects - Changed the debug message about a missing critter art file to also be displayed in the game
- Code refactoring for various script functions
- Added a fix to prevent the player from moving when clicking on a script-created window and prevent the mouse cursor from being toggled when hovering over a 'hidden' window
- Added a fix to prevent crashes when DebugMode is enabled and there is a
%character in the printed message - Added an option to load a global shader file at game startup and added an example global shader file to the modders pack
- Added an option to highlight lootable corpses as well as items
- Added support for executing the
timed_event_p_procprocedure in global scripts - Backported script functions from 4.1:
draw_image,draw_image_scaled - New script functions:
add_g_timer_event,remove_timer_event,reg_anim_callback,get_sfall_arg_at,hide/show_window,set_window_flag,get_text_width,string_compare,string_format,objects_in_radius,tile_by_position