FutureProg functions

purchaseitemdelivery

Itemscomputer function, computer program, standard futureprog

Overload 1

purchaseitemdelivery overload 1

Boolean purchaseitemdelivery(Character buyer, Character seller, Item item, Location sourceRoom, Currency currency, Number price)
Available in
  • computer function
  • computer program
  • standard futureprog
Atomically pays for a stored item and delivers it at the buyer's room and layer without changing its fit. Authorization belongs in the calling prog.
ParameterTypeDescription
buyer Character The buyer.
seller Character The colocated seller.
item Item A native portable room-stock item.
sourceRoom Location Its ordinary storage room.
currency Currency The payment currency.
price Number A nonnegative exact price.

Overload 2

purchaseitemdelivery overload 2

Boolean purchaseitemdelivery(Character buyer, Character seller, Item item, Location sourceRoom, Currency currency, Number price, Boolean requireInventory)
Available in
  • computer function
  • computer program
  • standard futureprog
Pays and delivers stored items atomically; optional direct inventory receipt preserves native capacity and leaves refused items in private storage.
ParameterTypeDescription
buyer Character The buyer.
seller Character The colocated seller.
item Item A native portable stored item.
sourceRoom Location Its ordinary storage room.
currency Currency The currency.
price Number A nonnegative exact price.
requireInventory Boolean True requires native inventory capacity and delivers directly into inventory, never onto the floor.

Overload 3

purchaseitemdelivery overload 3

Boolean purchaseitemdelivery(Character buyer, Character seller, Item item, Location sourceRoom, Currency currency, Number price, Text fit)
Available in
  • computer function
  • computer program
  • standard futureprog
Atomically pays for a native wearable in an ordinary room and delivers it beside the buyer, setting its concrete fit before item observers run. Price zero still prepares and publishes delivery. Requires buyer and seller to be colocated; ticket authorization and stock policy belong in the calling prog.
ParameterTypeDescription
buyer Character The purchasing character.
seller Character The awake noncombat seller receiving exact held cash.
item Item One native wearable directly present in sourceRoom.
sourceRoom Location The ordinary room containing the shop's stock item.
currency Currency The payment currency.
price Number A nonnegative exact base-unit price.
fit Text A concrete wearable fit snapshot accepted by WearableSizing.TryParse.