toolhistory_tooltip.lua

This script returns a compact formatted entry for toolhistory list tooltips in the editor. Pass map object type (“terrain”, “critter”, or “immovable”) followed by the internal names of the map objects to the coroutine. If the map object type is “image”, the arguments are interpreted as image filepaths.