Inventory

Functions


display_stats

sfall.h

void display_stats()
  • Updates player’s stats in the inventory display window or on the character screen.
  • NOTE: works only when the interface window is opened

inventory_redraw

sfall.h

void inventory_redraw(invSide)

Redraws inventory items list in the inventory/loot/barter screens. Argument invSide specifies which side needs to be redrawn: 0 - the player, 1 - target (container/NPC in loot/barter screens), -1 - both sides (same as without argument).