voxel-inventory-dialog

player inventory dialog (voxel.js plugin)

npm install voxel-inventory-dialog
14 downloads in the last week
20 downloads in the last month

voxel-inventory-dialog

A player inventory editing dialog for voxel.js:

screenshot

The lower grid is an inventory-window of the the player's inventory from voxel-carry.

The upper area is customizable by passing in elements into the upper option. While voxel-inventory-dialog can be loaded as a plugin on its own, it is most useful when extended by other plugins using this option. Used by:

Uses voxel-modal-dialog, so keyboard/mouse input to the game will be suppressed when this dialog is visible. Click outside of the dialog or hit Escape to close.

License

MIT

npm loves you