Skip to content

SaleResult

Result of a Shop sale. Returned by: shop.sell(), shop.sell_all()

FieldReturnsMeaning
.statusstring"ok", "not_sellable", or "no_stock"
.messagestringPlayer-readable explanation
.item_idstringItem id requested for sale
.unitsnumberUnits removed from Inventory
.creditsnumberCredits earned by this sale

See Command Results for the shared result model and Shop for the component.