Skip to content

five-on-it / packages/sim/src/weapons / nonLethal

Function: nonLethal() ​

nonLethal(weapon): boolean

Defined in: packages/sim/src/weapons.ts:477

Whether a weapon (an index of the table, or a reserved id: tear gas's sting) takes people down without killing them: a taser, a tranquilizer dart, a flashbang, tear gas, smoke. @foi/ai's police count a takedown by one as the lesser crime.

Parameters ​

weapon ​

number

Returns ​

boolean