Usage
 Gets all possible data from a map.

Documentation
  bg_tilelike: scroll map like tiles (true/false)
  modifiers: using modifiers for tiles (true/false)
  save_tile_heights: save tile heights with map? (true/false)
  64x64_tiles: use 64x64 pixel tiles? (true/false)
  system_uptime: system up time (in milliseconds) when map has been saved
  author_usgn: USGN ID of the map author (0 if author was not logged in)
  daylight_time: Map daylight time: value from 0 to 360
  author: name of the map author
  program_used: name of the program used to save the map
  dimensions: map dimensions in tiles
  tile_count: number of tiles in the tileset
  system_time: current system time when map has been saved (HH:MM:SS)
  tileset_image: filename of the tilset image (without path but with extension, "aztec.bmp" for example)
  tiles_required: number of tiles required from this tileset (tile_count) -1 (because it starts at 0)
  width: map width in tiles -1 (because it starts at 0)
  height: map height in tiles -1 (because it starts at 0)
  bg_image: file name of map background image (without path but with extension)
  bg_speed_x: map background scroll x speed
  bg_speed_y: map background scroll y speed
  bg_color_r: map background color red
  bg_color_g: map background color green
  bg_color_b: map background color blue
  tile_mode(i): tile mode for tile with that frame/index (i)
  tile_heights(i): returns a table with index
     [1]: tile height in pixels (for 3D mode)
     [2]: tile 3D modifier (for 3D mode, bit flags)
  tile(x, y):
      index: tile frame index that used from the tileset at that map position
      color_r: tile color red
      color_g: tile color green
      color_b: tile color blue
      rot: tile rotation index (0 = up, 1 = right, 2 = down, 3 = left)
      brightness: tile brightness in percent
      overlay_frame: tile overlay frame
      blend_name: tile blend name ("linear-soft", "linear-hard", "grass", "dirt-soft", "dirt-hard")
      blend_dir: direction of blended tile (0 = top, 1 = top-right, 2 = right, 3 = bottom-right, 4 = bottom, 5 = bottom-left, 6 = left, 7 = top-left)
  entity_count: number of entities in the map
  entity(i):
      name: entity name (editor name field content)
      type: entity type (see http://www.cs2d.com/entities.php for reference)
      x: entity x position on map (tile)
      y: entity y position on map (tile)
      trigger: entity trigger(s) (editor trigger field content)
      setting: returns a table of 10 tables with index (see http://www.cs2d.com/entities.php for reference how which fields are used with which entity types)
        [1]: entity integer setting, value depending on entity type (-unused- for some entities)
        [2]: entity string setting, value depending on entity type (-unused- for some entities)

Rules
  You are allowed to use this script in your server.
  You are allowed to edit this script for your server.
  You are not allowed to use any part of this script without permission.
  You are not allowed to say this script is yours.
 
Installation
 1. Download the file and then extract it anywhere.
 2. Connect your script with this script using require.
 3. Get your desired map data!