Spawn a Civilian, call it bob
execute
bob addWeapon "Binocular"; //or "Rangefinder" or "Laserdesignator"
kill bob
point at dead bob and scroll mouse wheel down to reveal action menu
now scroll it up -> no visible items are selected, but an invisible item is selected.
press spacebar -> player goes into pick up animation
check player inventory -> nothing has been picked up