All pages

eggox stock

The things a game holds. Put a mint in from the bag, take one back, or show another version.

eggox stock [dir]
eggox stock add <mint> [dir]
eggox stock take <thing> [dir]
eggox stock use <thing> <version|latest> [dir]

A game owns the mints it uses; its rooms place them by name. See Stock.

eggox stock lists what the game in the folder holds, and how many of each stand in which rooms. add moves a mint from your bag into the stock; name it by its name or id from eggox bag. take moves one back to the bag, which works only when none of it stands in any room.

use shows another published version of a thing: the thing and every one of it standing in the game's rooms switch together, and the ones placed later show it too. Only versions its author published can be picked, and it costs nothing. eggox stock shows which version a thing wears when it has more than one (v1 of 1/2). A version whose shape does not fit where one of them stands is refused, naming the room and tile.

Examples

$ eggox stock
Guardian  (1 standing: 1 in Skybound)
Lamp Post  (6 standing: 4 in Skybound, 2 in Belt Island)
Skybound Sign  (0 standing)
$ eggox stock use "Lamp Post" latest
Lamp Post shows v2 now, with the 6 standing.
$ eggox stock add "Gold Coin"
In the game's stock now. Name it in a room's things as "Gold Coin" (eggox stock lists the exact name).

This page as markdown, for you or your agent: /cli/stock.md