hi all,
there's been another script update. notes below. i'll put the update in the db folder now.
I finally found some time to make some changes again:
- If you have a Freight Scanner installed, and a ship targeted, pressing the hotkey will write a ship log to logfile 150 containing the following data:
1. Some generic data: Relation (omitted if it's your ship), ship name, sector name, position in coordinates, distance to your current ship.
2. The wares (and their amount) that are installed on the ship, divided into weapons (listed by front and turret weapons), shields and softwares. If none of either category are installed, the log will say so.
3. The wares that are not installed on the ship (i.e. which are located in the cargo room), only if wares are present in the cargo room. The log will contain the ware, its amount, volume, transport class, whether the ware is illegal in the space of the current sector owner, and for missiles and weapons whether the target ship can install (i.e. use) them.
The ship log is called for your current ship, if you have no target selected.
Currently not logged are Marines and other personnel.
- If you have a Trading Computer Extension installed, and a factory targeted, pressing the hotkey will write production information about that station to logfile 150 containing the following data:
1. Some generic data: Relation, factory name (contains sector name), position in coordinates, distance to your current ship
2. The product(s) sold by the station, including the current amount and maximum amount, the product name, the current price, the min and max price, the volume and the transport class of the ware, and whether the ware is illegal in the space of the current sector owner, only if it is really so.
3. The resource(s) (divided into primary and secondary) bought by the station, including the current amount and maximum amount, the product name, the current price, the min and max price, the volume and the transport class of the ware, and whether the ware is illegal in the space of the current sector owner, only if it is really so. If the station has no resources of either type, the log will say so.
4. The production cycle information, including how many units of which product(s) are produced in what time as well as which and how many wares are required for one cycle.
5. The remaining time for the current production cycle.
6. Whether the station has enough resources to start the next production cycle. If it has enough resoures to start more than one, the log will tell you how many cycles it can run with the current amount of resources. If it doesn't have enough resources, it tells you which ware(s) and how many units of them are missing.
The current production log will not work very good with player complexes consisting of lots of different production chains. But for single NPC stations and NPC production complexes, as well as single player stations or complexes just containing one production chain, it should work fine. I'll see about changing that in the next version.
- I also fixed / changed a couple of minor things:
• The ware order for factories was incorrect (i.e. wares weren't logged in the correct order).
• I replaced the long version of the transport class with the short version (e.g. "Extra Large Container" turns into "XL").
• For ware containers floating in space, it is now also logged whether the ware is illegal in the space of the current sector owner.