player_check_throw = (0, 0, 0, # client: repeatedly check for throwing of weapon swap
[(game_key_clicked, gk_toggle_weapon_mode),
(multiplayer_get_my_player, ":player_id"),
(player_is_active, ":player_id"),
(player_get_agent_id, ":agent_id", ":player_id"),
(agent_get_wielded_item, ":item", ":agent_id"),
(neq, ":item", -1),
(item_get_type, ":thistype", ":item"),
(val_add,":item",1),
(item_get_type, ":nexttype", ":item"),
(this_or_next|eq, ":thistype", itp_type_thrown),
(eq, ":nexttype", itp_type_thrown),
],
[(multiplayer_send_message_to_server,client_event_throw_weapon_swap),
])