array_push() replaced with $arr[]=value. Weapons are added via Weapon class in knight_class.php