Beeta 1.3
Hey Beekeepers!
Mainly updates for the modding API with this update, with exciting things like being able to add your own custom NPC! I did also fix a few longstanding bugs with Windows and window resizing so it's nice to finally take them off my list.

For Mod Creators, the Sample Mod and API Docs have been updated along with update.
[h2]Bug Fixes[/h2]
[h2]Modding API[/h2]
[h2]Modding Docs[/h2]
Mainly updates for the modding API with this update, with exciting things like being able to add your own custom NPC! I did also fix a few longstanding bugs with Windows and window resizing so it's nice to finally take them off my list.

For Mod Creators, the Sample Mod and API Docs have been updated along with update.
[h2]Bug Fixes[/h2]
- Fixed Windows not resizing in windowed fullscreen properly the first time
- Fixed bees in hives not in the swamps being turned into lightning bees when they shouldn't be
- Fixed settings menu being drawn twice on home page and not drawn at all in-game
- Fixed conservation status title in the book being "Special Produce"
[h2]Modding API[/h2]
- Added the ability to specify modules to load in your register() hook - these must be modules in a /modules/ folder in your mod root
- Added api_define_npc() which lets you create a custom NPC along with shop + stock
- Added api_get_menus_obj() which lets you get a menu object inst for a given menu inst
- Added api_get_game_size() that returns the current game window size (accounting for scale)
- Added api_create_bee_stats() which lets you create a stats obj for a given bee species to use in api_slot_set() or api_create_item()
- Added api_set_tooltip() which lets you change the tooltip for a given oid's dictionary definition
- Added api_get_inst_in_circle() which lets you find instance ids in a given circle
- Added api_get_inst_in_rectangle() which lets you find instance ids in a given rectangle
- Added api_play_sound() which lets you play a sound from the game
- Added an optional "alpha" argument to draw_line, draw_rectangle, and draw_circle
- Added an optional "oid" argument to api_get_menu_objects() and api_get_objects()
- Added an optional "coordinate" argument to api_get_menu_objects() and api_get_objects() to use a given position as a center instead of the player when specifying a radius
- Fixed api_set_menu_position() not working correctly with a valid menu inst
- Fixed api_define_menu_object() and api_define_object() not being able to have the invisible property set correctly
- Fixed sc_mod_api_get_menu_objects() not working properly
- Fixed game crash when destroying a highlighted instance
- Fixed draw_script argument being wrong position in api_define_object()
- Fixed draw script not being called for api_define_object() obj instances
- Fixed place_water and place_deep on obj definitions
- Tutorial will be skipped if dev mode is enabled to help speed up testing world gen
- You can now only allow certain species in slots by using "bee:species" as your slots allowed input item i.e. {10, 10, "Input", {"bee:common"}}
[h2]Modding Docs[/h2]
- Updated the Sample Mod on Github with examples of using module loading, defining a fake book, and defining an NPC
- Updated with above changes
- Updated worldgen() hook example to show how to loop through the world tiles
- Updated api_get_menu_objects() to show an example specifying an oid
- Updated api_get_objects() to use specifying an oid
- Updated obj_definition to show the correct properties for place_grass/place_water/place_deep instead of nature/aquatic/deep