open office spreadsheet version of original trading system
Earlier in November this year as a spreadsheet exercise to see what could be done without coding I created a spreadsheet (in open office, not excel) based on the trade system from the original traveller universe after I received the original traveller trading rules as part of a promo for the kickstarter novel.
Having said "without coding" I ended up including one macro (not automatically run but rather requiring pressing a button) for generating random numbers, else autocalculate also regenerates random numbers which changes trade values after pressing enter. You can avoid the macro by manually copying the values on the autogenerated random numbers into the cells which require random numbers (one copy and one paste special action), but that really was annoying.
The spreadsheet is driven by lookup tables which are in separate worksheets.
eg each good row has planetary modifier for which price is affected by (negative or positive number)
for the selected current planet (via lookup) determine what planetary modifiers (if any) are in effect
Calculate potential purchase price based on standard price modified by speculative percent result ( which in turn is in a lookup table), planetary modifiers and modified again by broker success result ( which in turn is in a lookup table) and taxes/fees.
If decide to buy then add to list of things for sale. Note duplicate "same" goods are possible at different prices. My take on this is that the actual goods are different but fall under same "generic" description. For selling add quantity and value of both together or keep separate as required.
Note: Values were only inserted for planets for two subsectors in the spinward marches which was all that was required for testing. Values for planetary modifiers (ie value 1 if in place) not guaranteed to be correct - was entered manually.
Variations from original rules:
Maximum of 9 speculative cargoes in ships holds. Maximum of 6 speculative cargoes available for purchase
You select the planet which you are on. In the order you want to try to sell goods you have these listed from top to bottom.
Broker result uses 3d6 instead of 2d6 as skill role
Number of goods available for sale/purchase based on values for planet in planetary lookup table and random 2d6 value. NB you can prevent goods being available /sale for a particular planet but not a specific type of good. And by changing the value in the lookup tables for number of goods available restrict to a maximum or minimum being available for all planets. Currently minimum is 0.
All in tons. Not tons or units. You will want to change prices /quantities for the unit items in the lookup table for materials as these are still currently the standard price per unit... not in tons. The spreadsheet treats these are value for 1 ton....
Can have opposed broker rolls to further adjust prices
Has some capacity for non speculative cargo if the GM wishes. Some additional goods codes were created (not chosen by randomness as speculative goods) to use as basis for delivery value of these goods by a ship
Open Office does allow saving as excel version. Currently this is known to 1) remove the open office macro to generate random numbers (not that it would work under excel anyway) 2) Prevent auto calculation for broker skill roll if allowing computer to determine skill roll of brokers as opposed to entering them manually.
And now find I can't upload the *.ods (open office version in the thread) - reply with suggestions if want to look at it.
I wasn't ware the traveller site
http://travellertools.azurewebsites.net/ mentioned earlier in this thread being available.