Can that be done with Items automatically deduct the cost?
Printable View
Not items. It only works because adding a parcel with credits adds the credits to the PCs current credits, so having negative credits in the parcel subtracts from their current credits when added to a PC.
I’m sure it would be fairly straightforward to add an option to parcels that calculates the total cost of the items in the parcel and uses that as the negative credits "cost" to purchase.
Or more code could be written as part of the inventory onDrop event to remove individual item costs as they are added. But you’d then need to differentiate between loot (no cost) and purchases (cost).