=begin #=============================================================================== Title: Map Screenshot - Pictures Author: Hime Date: Apr 22, 2014 -------------------------------------------------------------------------------- ** Change log Apr 22, 2014 - initial release -------------------------------------------------------------------------------- ** Terms of Use * Free to use in commercial/non-commercial projects * No real support. The script is provided as-is * Will do bug fixes, but no compatibility patches * Features may be requested but no guarantees, especially if it is non-trivial * Credits to Hime Works in your project * Preserve this header -------------------------------------------------------------------------------- ** Description This is an add-on for Map Screenshot that allows you to draw any pictures that are shown on the map. -------------------------------------------------------------------------------- ** Installation In the script editor, install this script below Map Screenshot and above Main -------------------------------------------------------------------------------- ** Usage Plug and play. #=============================================================================== =end $imported = {} if $imported.nil? $imported[:TH_MapScreenshotPictures] = true #=============================================================================== # ** Rest of Script #=============================================================================== class Map_Saver alias :th_map_screenshot_pictures_draw_screen_effects :draw_screen_effects def draw_screen_effects th_map_screenshot_pictures_draw_screen_effects draw_pictures end def draw_pictures $game_map.screen.pictures.each do |pic| bmp = Cache.picture(pic.name) x = pic.x y = pic.y opc = pic.opacity @map_image.blt(x, y, bmp, bmp.rect, opc) end end end