$it = $game_party.instance_variable_get("@items") $ik = $it.keys for i in 0...$ik.size $game_party.lose_item($ik, 1) end