ARK: Survival Evolved

ARK: Survival Evolved

Capitalism Player Trader [OPEN SOURCE] (Discontinued)
 This topic has been pinned, so it's probably important
Impulse  [developer] 28 Feb, 2017 @ 2:47am
HowTo AdvancedPlayerTable
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=874072901
What does it do, how does it work?
With this table it is possible to create multiple contracts for selling all kinds of stuff to other players. Therefore this table has two separate inventories, one is called the owner inventory and the other one is the customer inventory. To create contracts the owner has to enter the owner inventory, needs to put in an item that should be sold and needs to have at least 1 GloryCoin either inside the tables owner inventory or in your characters inventory. As soon as you pressed the create contract button, the logic will prompt you a combined input widget for the desired price and quantity as well as an option to contract all items of the same kind (also checks for quality range) at once. If this input is valid the logic will continue with substracting 1 GloryCoin for each queued contract creation as long as coins are available.

In this process it will generate a unique contract id, copies the contracted item into the customer inventory, sets it to non removable from inventory, adds the price and quantity information to the item description and updates the internal contract list. After this you'll see a new contracted item displayed in the customer inventory and if you select it, it will give you the buy or if stack size is >1 even a buy stack button. From here on if you press the buy button it will delete the displayed item from the customer inventory, transfer the original item from the owner inventory to the players inventory and will also take the money out of the players inventory and puts it into the owner inventory of the table.

If you want to get rid of a contract, just enter the owner inventory and open the "Active Contracts" folder, then select the contract you want to cancel and press the now shown button "Cancel Contract". The table will also provide a cancel all contracts button, which needs to be approved via pop-up approval by the user.
Last edited by Impulse; 28 Feb, 2017 @ 3:38am