DUXPLIMA Documentation

Catalogue windows

The hub, a section, the quantity window and the sell window.

Hub

/shop. Sections in slots 10 to 16 (shop:sections), sorted by order; a click opens one (shop:open). The ender chest at 22 runs myshop list. Paging at 18 and 26.

Section

Lines in 10 to 16, 19 to 25 and 28 to 34 (shop:lines). Left click asks how many to buy (shop:buy), right click how many to sell (shop:sell). The feather at 49 goes back (shop:hub); paging at 45 and 53. A shortcut line follows to its section (shop:open).

Fact a tile may nameShows
price-buy, price-sellWhat one costs and pays
stockHow many are left, when the line counts
resetHow long until an allowance comes back
matchHow strictly the line matches
stateWhich way it trades, and whether any is left

Quantity

Keeps a player out of chat: the amount is chosen on buttons.

SlotButton
10, 11, 12Less 64, 8, 1 (shop:less:<n>)
13The amount and total; left click confirms a catalogue trade (shop:confirm), right click a player shop trade (shop:offer-confirm)
14, 15, 16More 1, 8, 64 (shop:more:<n>)
22Back (shop:back)

An action that takes a number carries it after a colon, as shop:more:8. Facts: amount, total, price-buy, price-sell.

Sell

/sell window. No buttons: it opens empty, and what is left in it when it closes is sold. What cannot be sold comes straight back, and the player is told how many did. The file sets its size and title.

Related: Selling