- Merged various system data that was in the merge queue,
- Created a branch (new-prices-format) to experiment with an iteration of the .prices format while keeping backwards compatability. New file looks like this:
For the demand/stock fields, it supports:
. the old syntax (5000L3 = 5000 units at high priority, -1L-1 = unknown, 0L0 = unavailable),
. "unk" or "?L? for "unknown" (previously -1L-1),
. "n/a" for "not available" (previously 0L0),
. nnnL, nnnM, nnnH for "nnn" units at Low, Medium and High
Also note the timestamp has moved to the end of the line: This allows me to make it optional and also support the keyword 'now'.
all write the same data (if it's 2014-10-16 05:10:13) into the db.
Meanwhile other values might look like:
(item is not available and nobody is buying, but it's on the market here)
There is demand for 500 units (medium) and there are 50 units in stock (low)
- Created a branch (new-prices-format) to experiment with an iteration of the .prices format while keeping backwards compatability. New file looks like this:
Code:
# TradeDangerous prices for ALL Systems/Stations
# REMOVE ITEMS THAT DON'T APPEAR IN THE UI
# ORDER IS REMEMBERED: Move items around within categories to match the game UI
# File syntax:
# <item name> <sell> <buy> [ <demand units><demand level> <stock units><stock level> [<timestamp>] ]
# You can write 'unk' for unknown demand/stock, 'n/a' if the item is unavailable,
# level can be one of 'L', 'M' or 'H'.
# If you omit the timestamp, the current time will be used when the file is loaded.
# NB Items marked 'n/a' are ignored for trade planning.
# Item Name Sell Cr Buy Cr Demand Stock Modified
@ ERANIN/Azeban City
+ Chemicals
Hydrogen Fuels 218 0 unk unk 2014-10-23 23:21:51
Mineral Oil 144 160 unk unk 2014-10-23 23:21:51
Pesticides 344 0 unk unk 2014-10-23 23:21:51
+ Consumer Items
Clothing 471 0 unk unk 2014-10-23 23:21:51
Consumer Tech 7315 0 unk unk 2014-10-23 23:21:51
For the demand/stock fields, it supports:
. the old syntax (5000L3 = 5000 units at high priority, -1L-1 = unknown, 0L0 = unavailable),
. "unk" or "?L? for "unknown" (previously -1L-1),
. "n/a" for "not available" (previously 0L0),
. nnnL, nnnM, nnnH for "nnn" units at Low, Medium and High
Also note the timestamp has moved to the end of the line: This allows me to make it optional and also support the keyword 'now'.
Algae 197 0
Algae 197 0 unk unk
Algae 197 0 unk unk now
Algae 197 0 unk unk 2014-10-16 05:10:13
Algae 197 0 -1L-1 -1L-1 2014-10-16 05:10:13
all write the same data (if it's 2014-10-16 05:10:13) into the db.
Meanwhile other values might look like:
Algae 197 200 n/a n/a
Algae 197 200 0 0
(item is not available and nobody is buying, but it's on the market here)
Algae 197 200 500M 50L
There is demand for 500 units (medium) and there are 50 units in stock (low)