Port code to Bob object for using weapons