View Full Version : Party Sheet Item Sales Parsing without GP

April 28th, 2014, 03:46
Ran into an interesting problem using the Pathfinder Ruleset v3.03 with the Party Sheet.

GM created an item to sell on the party sheet and gave it a value of "1079". When sold and split between 5 party members, everyone received "10 79" or something odd like that.

It seems that the parsing algorithm was expecting a "GP" or some such for the value property and parsed off the "79" as the denomination. Worked fine when the value of the item was put in as "1079GP" or "1079 GP".

Probably don't want to default to "GP" as the denomination if this is a base feature for many rulesets, but maybe just adjust it so that if it doesn't find a denomination, it doesn't try to parse a numeral for it. Then it would just create a new entry with a blank denomination.

April 28th, 2014, 16:17
Fixed in 3.0.4. When an item is sold if the denomination does not already exist in Parcel Coins a the amount will be added as a new coin type with a description matching the new denomination in Parcel Coins. In the case of a missing denomination the description is left blank, and any further items sold with no denomination will be added to that coin value. When you distribute coins to the party any denomination without a description will simply be discarded rather than distributed to the party unless you first assign a description. You can have more than one denomination with the same description in Parcel Coins.

CoreRPG does allow a default denomination / currency to be set using PartyLootManager.setDefaultCurrency(s) (CoreRPG/ps/scripts/manager_ps_loot.lua) but CoreRPG / 3.5 / PFRPG rulesets do not currently set a default.

April 28th, 2014, 16:26
To set the default currency for selling items in 3.5E / PFRPG


could be inserted into the PartyManager2.onInit() function in 3.5E rulesets ps/scripts/manager_ps2.lua file.

April 28th, 2014, 16:47
Thanks. Sounds like a good implementation.