EGGOXdevelopers

eggox stock

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

eggox stock [dir]
eggox stock add <mint> [dir]
eggox stock take <thing> [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.

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 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: /cli/stock.md