node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

voxel-inventory-dialog

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