There's no way to make a second inventory bar.
However you can create a custom status bar that will display both items separately.
There's two ways to do this:
1) Using
SBARINFO you can modify the
default status bar to add another number display using
DrawNumber. (Due to limitations, DrawNumber can only display Ammo-based items)
2) The better option is to use ZScript to modify the default status bar (found in
gzdoom.pk3:zscript/ui/statusbar/doom_sbar.zs) using FindInventory and DrawString, for example:
- Code: Select all • Expand view
let itm = CPlayer.mo.FindInventory("ItemToDisplay");
If(itm){
DrawImage("SPRITE", (X, Y));
DrawString(mSmallFont, FormatNumber(itm.Amount, 1, 3), (X, Y));
}