Thanks for the jar file
Meanwhile i wrote a shopping script myself (sorry^^)
https://www.dropbox.com/s/g2mjze3p6ca3wcr/Shoplist.py?dl=0
it uses OggDudes Data XML for input. Just specify the path to the Data folder or put it right into it
For information run "python Shoplist.py -h "
>>> usage: Shoplist.py [-h] -s streetwise [-i items] [-b boostdie]
[-sb setbackdie] [-st shopTyp] [-it itemTyp [itemTyp ...]]
[-dp datafold]
Random generated item list for shops
optional arguments:
-h, --help show this help message and exit
-s streetwise The highest streetwise rank in your group. Success
will increase the rarity threshold
-i items The number of items returned by the generator.
(default: 10)
-b boostdie The number of boostdies added. Success will increase
the rarity threshold. Advantage will reduce the price.
(default: 0)
-sb setbackdie The number of setbackdies added. Fail will decrease
the rarity threshold. Threat will increase the
price.(default: 0)
-st shopTyp What kind of shop it is. Can be [Normal, Shady,
Blackmarket]. A Normal shop will sell no restricted
items. A shady shop can have up to 20% of restricted
items. The Blackmarket will have at least 30%
restricted items (default: Normal)
-it itemTyp [itemTyp ...]
What kind of items the shop is going to sell. Can be
[All, Energy Weapon, Slugthrower, Thrown,
Explosives/Other, Brawling, Melee, Lightsaber,
Vehicle, Armor, WeaponAttachment, ArmorAttachment,
VehicleAttachment, GearAttachment, Communications,
Poisons, Antidotes, Cybernetics,
Detection/Surveillance Devices, Droids, Riding Beasts,
Drugs and Consumables, Medical, Survival,
Entertainment, Security/Espionage, Carrying/Storage,
Tools/Electronics, Reloads/Ammo, Black Market, Ancient
Talismans, Holocrons, Generic, Luxury Items] (default:
All)
-df datafolder The Path to OggDude's SWRPG Character Editor Data
Folder
I simply roll x Proficiency dies (where x is the number of streetwise ranks) each success (Triumph counts only as a success) will increase the rarity threshold for the items
Each advantage / Threat on any setback or boostdie will also increase or decrease the price of the items
You can also specify which items you want to sell.
here are a few examples:
python Shoplist.py -s 2 -b 1 -st 'Shady' -it 'Armor' 'Energy Weapon'
python Shoplist.py -s 1 -b 1 -st 'Normal' -it 'All' -df "/Users/.../SWEotECharGen/Data"
ps.: Credits goes to MacKenziehHnc who inspired me for my version Thanks for that
pps.: @OggDude is it possible that you specify the index of an item, adversary etc. in an xml tag rather than in the description? ^^that would be easier to parse it
Edited by Dutzen