Skip to content

five-on-it / packages/sim/src/items / heldLook

Function: heldLook() ​

heldLook(sim, eid): number

Defined in: packages/sim/src/items.ts:321

The look of what a character holds in its selected slot, as the snapshots carry it: the index of its item's look in @foi/shared's HANDHELD_LOOKS plus one, 0 for none (an empty slot, a weapon, an item without a look). Seated, nothing.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

number