################################################################################
Script : Storage spaces reports system
Author : Chem
E-mail : chemodun@gmail.com 
Web    : http://www.elite-games.ru/x3/ 
Version: 1.5.1
Desc.  : Storage spaces reports system - display various information about ware on 
         your Equipment Docks and HQ (amount, limit, free, total cost) 
################################################################################

_____________
Changelog:
1.5.1  Script renamed to "Storage spaces reports system", some minor display fixes.
1.4.1  Second public release. Added sorting, groupping and 6 types of reports
1.0.3     Fix in text files (after change page id from free to registered in community on forum.egosoft.com)
1.0.2 Initial release as Report system for Dockware Manager


_____________
Installation: 

Install via Cycrow Script Manager (Plugin Manager)


______
Use: 

 Work only on player's Equipment Docks and Head Quarter. 
 Run via:
  Station Command Menu > Storage spaces reports system

 After run command you see welcome splash script.
 Please press Enter.
 Now you see main Reports System screen with your default report.
 This system has 6 predifined reports, each report have one main column - ware name, and three information columns:
    Report 0 - Amount, Free, Limit
    Report 1 - Amount, Limit, Total cost (default, on first start)
    Report 2 - Cargo used, Cargo Limit, Total cost
    Report 3 - Amout, Cargo used, Total cost
    Report 4 - Cargo used, Cargo limit, Limit
    Report 5 - Amout, Cargo used, Cargo limit

 Columt description:
    Amount (units) - total amount of units of ware in cargo bay on Station.
    Limit  (units) -  
                     Equipment Dock - it's maximum amout of units of this ware, that can be stored on
                     Head Quarter   - value, was set via Dock Ware Manager (from Bonus Pack)
    Free   (units) - 
             Equipment Dock - difference between maximum amout of units of this ware, that can be stored on and Amount
             Head Quarter   - 
                              if Limit was set - then difference between Limit and Amount
                              else - difference between maximum amout of units of this ware, that can be stored on and Amount
    Cargo used  (cargo space) - total cargo bay space, was used by ware
    Cargo limit (cargo space) -
                                Equipment Dock - it's maximum space, which may be used for storage ware in cargo bay
                                Head Quarter   -
                                                 if Limit was set via Dock Ware Manager - then Limit multiply with space used for storage one unit of ware
                                                 else it's maximum space, which may be used for storage ware in cargo bay
    Total cost - total cost of all units of ware in cargo bay (based on price of this ware on this station)

  By default list of wares are groupped by ware type : 
    Lasers            - all type of ship weapons, like Lasers, Cannons, etc.
    Shields           - all types of ship shields
    Missiles          - all ship missiles and torpedos
    Energy            - Energy Cells
    Natural           - Teladianum, for example
    Food and Common   - all types of foods and satellite wares
    Minerals          - ore, silicon, nividium 
    Special Equipment 
    and Upgrade       - Laser towers, Drones, and other.
    Misc              - other ware

  You can enable or disable this groupping
  Each column may be used for sorting ware. If ware are groupped by type - then sorting are applicable inside of  ware type groups.
  Additionally you can filter all ware by ware type. In this case you see on screen only selected type ware.

  Type of report, sorting definitions, grouppeng are stored, and when you start script on station - will be restored.
    
_____________
Uninstallation: 

Uninstall via Cycrow Script Manager (or Plugin Manager)


_____________
Info:
Uses 
Command from Station Command Menu:
<t id="1154">COMMAND_TYPE_STATION_54</t> with new name <t id="1154">COMMAND_TYPE_STATION_STORAGE_REPORTS_SYSTEM</t>
Text Files Used:
8909
Text Pages Used:
8909

Additionally use lib.chem.strings with
Text Files Used:
8910
Text Pages Used:
8910

_______________________
  Chem 
